Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_2000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_2000",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 174.6 kB / 8.347 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 221.5 MB / 230.3 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 100.7 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.308/1.308, allocations: 120.5 MB / 452.4 MB, free: 10.49 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 4.075e-05/4.089e-05, allocations: 4 kB / 0.5289 GB, free: 1.203 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7068/0.7069, allocations: 82.84 MB / 0.6098 GB, free: 13.03 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.189/0.8959, allocations: 126 MB / 0.7328 GB, free: 14.91 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001827/0.8962, allocations: 51.92 kB / 0.7329 GB, free: 14.86 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 1.621/2.517, allocations: 193.1 MB / 0.9214 GB, free: 13.79 MB / 0.589 GB Notification: Performance of FrontEnd: time 3.998e-06/2.517, allocations: 0 / 0.9214 GB, free: 13.79 MB / 0.589 GB Notification: Performance of Transformations before backend: time 0.002185/2.519, allocations: 252 kB / 0.9216 GB, free: 13.54 MB / 0.589 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.03188/2.551, allocations: 12.6 MB / 0.9339 GB, free: 0.8242 MB / 0.589 GB Notification: Performance of prepare preOptimizeDAE: time 6.35e-05/2.551, allocations: 12.02 kB / 0.9339 GB, free: 0.8125 MB / 0.589 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006845/2.558, allocations: 2.264 MB / 0.9361 GB, free: 14.52 MB / 0.6046 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07576/2.634, allocations: 22.35 MB / 0.958 GB, free: 8.004 MB / 0.6203 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/2.634, allocations: 0 / 0.958 GB, free: 8.004 MB / 0.6203 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004109/2.634, allocations: 68 kB / 0.958 GB, free: 7.938 MB / 0.6203 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001085/2.635, allocations: 392 kB / 0.9584 GB, free: 7.555 MB / 0.6203 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/2.637, allocations: 0.7119 MB / 0.9591 GB, free: 6.836 MB / 0.6203 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/2.637, allocations: 0 / 0.9591 GB, free: 6.836 MB / 0.6203 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001914/2.637, allocations: 68 kB / 0.9592 GB, free: 6.77 MB / 0.6203 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/2.637, allocations: 3.781 kB / 0.9592 GB, free: 6.77 MB / 0.6203 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02839/2.666, allocations: 6.835 MB / 0.9658 GB, free: 15.89 MB / 0.6359 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009786/2.667, allocations: 234.5 kB / 0.9661 GB, free: 15.66 MB / 0.6359 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007953/2.667, allocations: 212.9 kB / 0.9663 GB, free: 15.45 MB / 0.6359 GB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/2.668, allocations: 0 / 0.9663 GB, free: 15.45 MB / 0.6359 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001582/2.669, allocations: 0.6449 MB / 0.9669 GB, free: 14.78 MB / 0.6359 GB Notification: Performance of pre-optimization done (n=8): time 4.539e-06/2.669, allocations: 1.406 kB / 0.9669 GB, free: 14.78 MB / 0.6359 GB Notification: Performance of matching and sorting (n=8): time 0.007533/2.677, allocations: 3.574 MB / 0.9704 GB, free: 11.18 MB / 0.6359 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/2.677, allocations: 77.11 kB / 0.9705 GB, free: 11.08 MB / 0.6359 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05845/2.735, allocations: 19.74 MB / 0.9898 GB, free: 7.551 MB / 0.6515 GB Notification: Performance of collectPreVariables (initialization): time 0.0005382/2.736, allocations: 89.7 kB / 0.9898 GB, free: 7.457 MB / 0.6515 GB Notification: Performance of collectInitialEqns (initialization): time 0.5303/3.266, allocations: 11 MB / 1.001 GB, free: 185.9 MB / 0.6515 GB Notification: Performance of collectInitialBindings (initialization): time 0.001005/3.267, allocations: 72.77 kB / 1.001 GB, free: 185.9 MB / 0.6515 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002139/3.267, allocations: 66.94 kB / 1.001 GB, free: 185.9 MB / 0.6515 GB Notification: Performance of setup shared object (initialization): time 0.0001008/3.268, allocations: 317.4 kB / 1.001 GB, free: 185.6 MB / 0.6515 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004521/3.268, allocations: 197.8 kB / 1.001 GB, free: 185.6 MB / 0.6515 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004041/3.268, allocations: 203.2 kB / 1.001 GB, free: 185.6 MB / 0.6515 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005874/3.269, allocations: 210.5 kB / 1.002 GB, free: 185.6 MB / 0.6515 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/3.269, allocations: 0 / 1.002 GB, free: 185.6 MB / 0.6515 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.007094/3.276, allocations: 3.574 MB / 1.005 GB, free: 185.6 MB / 0.6515 GB Notification: Performance of prepare postOptimizeDAE: time 7.132e-05/3.276, allocations: 38.66 kB / 1.005 GB, free: 185.6 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/3.276, allocations: 0 / 1.005 GB, free: 185.6 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.994e-05/3.276, allocations: 0.5625 kB / 1.005 GB, free: 185.6 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.179e-05/3.276, allocations: 10.56 kB / 1.005 GB, free: 185.6 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/3.276, allocations: 0 / 1.005 GB, free: 185.6 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002852/3.279, allocations: 72.56 kB / 1.005 GB, free: 185.6 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001197/3.281, allocations: 0.856 MB / 1.006 GB, free: 185.6 MB / 0.6515 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005967/3.281, allocations: 267.8 kB / 1.006 GB, free: 185.4 MB / 0.6515 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007164/3.288, allocations: 3.592 MB / 1.01 GB, free: 184.1 MB / 0.6515 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004332/3.293, allocations: 2.261 MB / 1.012 GB, free: 182.9 MB / 0.6515 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01118/3.304, allocations: 2.564 MB / 1.015 GB, free: 182.7 MB / 0.6515 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/3.304, allocations: 0 / 1.015 GB, free: 182.7 MB / 0.6515 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/3.304, allocations: 3.953 kB / 1.015 GB, free: 182.6 MB / 0.6515 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/3.304, allocations: 0.5625 kB / 1.015 GB, free: 182.6 MB / 0.6515 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03711/3.341, allocations: 7.459 MB / 1.022 GB, free: 182.2 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/3.341, allocations: 5.938 kB / 1.022 GB, free: 182.2 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.449e-05/3.341, allocations: 1.219 kB / 1.022 GB, free: 182.2 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/3.341, allocations: 0 / 1.022 GB, free: 182.2 MB / 0.6515 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007504/3.342, allocations: 194.2 kB / 1.022 GB, free: 182.2 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.336e-06/3.342, allocations: 3.938 kB / 1.022 GB, free: 182.2 MB / 0.6515 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/3.342, allocations: 0 / 1.022 GB, free: 182.2 MB / 0.6515 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00711/3.349, allocations: 3.762 MB / 1.026 GB, free: 180.7 MB / 0.6515 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004894/3.354, allocations: 1.975 MB / 1.028 GB, free: 179.4 MB / 0.6515 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002357/3.357, allocations: 79.97 kB / 1.028 GB, free: 179.4 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002606/3.359, allocations: 65.72 kB / 1.028 GB, free: 179.4 MB / 0.6515 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.522e-05/3.359, allocations: 0 / 1.028 GB, free: 179.4 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008247/3.36, allocations: 0.8594 MB / 1.029 GB, free: 179.4 MB / 0.6515 GB Notification: Performance of sorting global known variables: time 0.04639/3.407, allocations: 15.59 MB / 1.044 GB, free: 175.9 MB / 0.6515 GB Notification: Performance of sort global known variables: time 3.156e-06/3.407, allocations: 0 / 1.044 GB, free: 175.9 MB / 0.6515 GB Notification: Performance of remove unused functions: time 0.005728/3.412, allocations: 0.6482 MB / 1.044 GB, free: 175.9 MB / 0.6515 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00857/3.421, allocations: 4.533 MB / 1.049 GB, free: 174 MB / 0.6515 GB Notification: Performance of simCode: created initialization part: time 0.0008779/3.422, allocations: 0.5626 MB / 1.049 GB, free: 173.9 MB / 0.6515 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/3.422, allocations: 0 / 1.049 GB, free: 173.9 MB / 0.6515 GB Notification: Performance of simCode: created simulation system equations: time 0.0004489/3.422, allocations: 357 kB / 1.05 GB, free: 173.8 MB / 0.6515 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005212/3.428, allocations: 1.634 MB / 1.051 GB, free: 172.7 MB / 0.6515 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07089/3.498, allocations: 32.4 MB / 1.083 GB, free: 145.3 MB / 0.6515 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01521/3.514, allocations: 9.276 MB / 1.092 GB, free: 139.3 MB / 0.6515 GB Notification: Performance of simCode: alias equations: time 0.01439/3.528, allocations: 4.699 MB / 1.097 GB, free: 134.8 MB / 0.6515 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01259/3.541, allocations: 9.267 MB / 1.106 GB, free: 125.6 MB / 0.6515 GB Notification: Performance of SimCode: time 1.733e-06/3.541, allocations: 4 kB / 1.106 GB, free: 125.6 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.905/4.446, allocations: 264.4 MB / 1.364 GB, free: 103.9 MB / 0.6828 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/4.446, allocations: 166.3 kB / 1.364 GB, free: 103.7 MB / 0.6828 GB Notification: Performance of buildModelFMU: Generate platform static: time 18/22.45, allocations: 0 / 1.364 GB, free: 103.7 MB / 0.6828 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_2000_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_2000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat does not exist to compare? outputFormat=mat