Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001364/0.001364, allocations: 172.8 kB / 8 MB, free: 1.074 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.505/1.505, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008145/0.0008145, allocations: 86.16 kB / 261.7 MB, free: 1.676 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1919/0.1919, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.379e-05/2.38e-05, allocations: 8 kB / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1237, allocations: 58.85 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4091/0.5329, allocations: 86.96 MB / 0.551 GB, free: 7.93 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/0.5331, allocations: 74.14 kB / 0.551 GB, free: 7.891 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01268/0.5458, allocations: 5.329 MB / 0.5562 GB, free: 3.688 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.5459, allocations: 4 kB / 0.5562 GB, free: 3.684 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.5459, allocations: 0 / 0.5562 GB, free: 3.684 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003628/0.5463, allocations: 401.9 kB / 0.5566 GB, free: 3.258 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.5463, allocations: 12.03 kB / 0.5566 GB, free: 3.246 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.5464, allocations: 7.906 kB / 0.5566 GB, free: 3.238 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.5466, allocations: 218.1 kB / 0.5568 GB, free: 2.992 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.5466, allocations: 4.688 kB / 0.5569 GB, free: 2.988 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.5467, allocations: 7.938 kB / 0.5569 GB, free: 2.984 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.728e-05/0.5467, allocations: 19.73 kB / 0.5569 GB, free: 2.969 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.871e-05/0.5468, allocations: 45.62 kB / 0.5569 GB, free: 2.922 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.5468, allocations: 0 / 0.5569 GB, free: 2.922 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.5469, allocations: 0 / 0.5569 GB, free: 2.922 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.5469, allocations: 4 kB / 0.5569 GB, free: 2.918 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002946/0.5472, allocations: 276 kB / 0.5572 GB, free: 2.637 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.344e-05/0.5473, allocations: 58.31 kB / 0.5572 GB, free: 2.578 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.045e-05/0.5473, allocations: 20.53 kB / 0.5573 GB, free: 2.559 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.5473, allocations: 0 / 0.5573 GB, free: 2.559 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001027/0.5474, allocations: 63.09 kB / 0.5573 GB, free: 2.492 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.5474, allocations: 0 / 0.5573 GB, free: 2.492 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003857/0.5478, allocations: 152 kB / 0.5575 GB, free: 2.359 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.284e-05/0.5479, allocations: 55.09 kB / 0.5575 GB, free: 2.297 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.548, allocations: 174.8 kB / 0.5577 GB, free: 2.141 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.548, allocations: 25.7 kB / 0.5577 GB, free: 2.109 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.532e-05/0.5481, allocations: 103.6 kB / 0.5578 GB, free: 2.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.5481, allocations: 19.47 kB / 0.5578 GB, free: 2.004 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-06/0.5481, allocations: 0 / 0.5578 GB, free: 2.004 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.001e-05/0.5482, allocations: 322.3 kB / 0.5581 GB, free: 1.684 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.917e-05/0.5482, allocations: 15.44 kB / 0.5582 GB, free: 1.676 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.755e-05/0.5482, allocations: 41.39 kB / 0.5582 GB, free: 1.637 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.604e-05/0.5483, allocations: 23.73 kB / 0.5582 GB, free: 1.621 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.5483, allocations: 0 / 0.5582 GB, free: 1.621 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001066/0.5484, allocations: 92.81 kB / 0.5583 GB, free: 1.539 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.5484, allocations: 4 kB / 0.5583 GB, free: 1.535 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.5484, allocations: 0 / 0.5583 GB, free: 1.535 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.5485, allocations: 4 kB / 0.5583 GB, free: 1.531 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.139e-05/0.5486, allocations: 15.98 kB / 0.5583 GB, free: 1.516 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.5486, allocations: 3.938 kB / 0.5583 GB, free: 1.512 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.428e-05/0.5486, allocations: 8.031 kB / 0.5583 GB, free: 1.504 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.5486, allocations: 7.891 kB / 0.5583 GB, free: 1.5 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 5.763e-05/0.5487, allocations: 105 kB / 0.5584 GB, free: 1.391 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001099/0.5488, allocations: 88.95 kB / 0.5585 GB, free: 1.309 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.787e-05/0.5488, allocations: 15.81 kB / 0.5585 GB, free: 1.293 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001712/0.549, allocations: 117.4 kB / 0.5587 GB, free: 1.191 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.549, allocations: 0 / 0.5587 GB, free: 1.191 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.549, allocations: 3.953 kB / 0.5587 GB, free: 1.188 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5491, allocations: 288 / 0.5587 GB, free: 1.188 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002903/0.5493, allocations: 381.9 kB / 0.559 GB, free: 0.8086 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5494, allocations: 0 / 0.559 GB, free: 0.8086 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.622e-05/0.5494, allocations: 11.94 kB / 0.559 GB, free: 0.7969 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.5494, allocations: 0 / 0.559 GB, free: 0.7969 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.5494, allocations: 4 kB / 0.559 GB, free: 0.793 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.5494, allocations: 3.953 kB / 0.559 GB, free: 0.7891 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.5494, allocations: 320 / 0.559 GB, free: 0.7891 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.5496, allocations: 213.2 kB / 0.5592 GB, free: 0.5742 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.668e-05/0.5496, allocations: 96.91 kB / 0.5593 GB, free: 472 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.5497, allocations: 3.953 kB / 0.5593 GB, free: 468 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.615e-05/0.5498, allocations: 4 kB / 0.5593 GB, free: 464 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/0.5498, allocations: 15.67 kB / 0.5594 GB, free: 452 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.5498, allocations: 192 / 0.5594 GB, free: 452 kB / 362.7 MB Notification: Performance of sorting global known variables: time 9.17e-05/0.5499, allocations: 142.8 kB / 0.5595 GB, free: 328 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5499, allocations: 0 / 0.5595 GB, free: 328 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002605/0.5502, allocations: 24 kB / 0.5595 GB, free: 304 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00144/0.5517, allocations: 1.104 MB / 0.5606 GB, free: 15.24 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001453/0.5518, allocations: 55.31 kB / 0.5607 GB, free: 15.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5518, allocations: 4 kB / 0.5607 GB, free: 15.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.287e-05/0.5519, allocations: 23.62 kB / 0.5607 GB, free: 15.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.5522, allocations: 23.78 kB / 0.5607 GB, free: 15.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006033/0.5528, allocations: 233.8 kB / 0.5609 GB, free: 14.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.5532, allocations: 0.7081 MB / 0.5616 GB, free: 14.17 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.143e-05/0.5532, allocations: 12.88 kB / 0.5616 GB, free: 14.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.645e-05/0.5533, allocations: 34.86 kB / 0.5617 GB, free: 14.14 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.5533, allocations: 0 / 0.5617 GB, free: 14.14 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02277/0.5761, allocations: 2.653 MB / 0.5643 GB, free: 11.5 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002282/0.5764, allocations: 174.5 kB / 0.5644 GB, free: 11.3 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.489/2.065, allocations: 0 / 0.5644 GB, free: 11.3 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test34_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test34.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat does not exist to compare? outputFormat=mat