Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29",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.00101/0.00101, allocations: 176.7 kB / 8.004 MB, free: 1.07 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.435/1.435, allocations: 205.3 MB / 213.7 MB, free: 1.738 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.0009098/0.0009098, allocations: 86.14 kB / 261.7 MB, free: 1.691 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.1821/0.1821, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.134e-05/2.143e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1009, allocations: 58.86 MB / 477.2 MB, free: 1.531 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3659/0.4668, allocations: 86.96 MB / 0.551 GB, free: 7.621 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/0.4671, allocations: 75.25 kB / 0.551 GB, free: 7.586 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01258/0.4797, allocations: 5.34 MB / 0.5562 GB, free: 3.367 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.4797, allocations: 0 / 0.5562 GB, free: 3.367 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.4797, allocations: 7.938 kB / 0.5563 GB, free: 3.359 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.0003457/0.4801, allocations: 394.4 kB / 0.5566 GB, free: 2.941 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.4801, allocations: 8.031 kB / 0.5566 GB, free: 2.934 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.613e-05/0.4802, allocations: 7.906 kB / 0.5566 GB, free: 2.926 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.4804, allocations: 222.5 kB / 0.5569 GB, free: 2.676 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.4804, allocations: 4 kB / 0.5569 GB, free: 2.672 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.4805, allocations: 0 / 0.5569 GB, free: 2.672 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.332e-05/0.4805, allocations: 19.55 kB / 0.5569 GB, free: 2.656 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.501e-05/0.4806, allocations: 50.25 kB / 0.5569 GB, free: 2.609 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.4806, allocations: 0 / 0.5569 GB, free: 2.609 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.4806, allocations: 0 / 0.5569 GB, free: 2.609 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.4807, allocations: 3.984 kB / 0.5569 GB, free: 2.605 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002695/0.4809, allocations: 272.4 kB / 0.5572 GB, free: 2.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.374e-05/0.481, allocations: 50.44 kB / 0.5572 GB, free: 2.273 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.778e-05/0.4811, allocations: 16.73 kB / 0.5573 GB, free: 2.258 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.4811, allocations: 3.594 kB / 0.5573 GB, free: 2.258 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000105/0.4812, allocations: 75.02 kB / 0.5573 GB, free: 2.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.4812, allocations: 4 kB / 0.5573 GB, free: 2.176 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003582/0.4816, allocations: 143.9 kB / 0.5575 GB, free: 2.051 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.829e-05/0.4816, allocations: 59.34 kB / 0.5575 GB, free: 1.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.4817, allocations: 171 kB / 0.5577 GB, free: 1.832 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.4817, allocations: 25.7 kB / 0.5577 GB, free: 1.801 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.912e-05/0.4818, allocations: 99.94 kB / 0.5578 GB, free: 1.711 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.4818, allocations: 23.52 kB / 0.5578 GB, free: 1.691 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.4818, allocations: 0 / 0.5578 GB, free: 1.691 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.498e-05/0.4819, allocations: 326.8 kB / 0.5581 GB, free: 1.367 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.858e-05/0.4819, allocations: 19.12 kB / 0.5582 GB, free: 1.355 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.924e-05/0.4819, allocations: 33.47 kB / 0.5582 GB, free: 1.324 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.891e-05/0.482, allocations: 23.55 kB / 0.5582 GB, free: 1.309 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.482, allocations: 0 / 0.5582 GB, free: 1.309 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001112/0.4821, allocations: 88.75 kB / 0.5583 GB, free: 1.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.4821, allocations: 8 kB / 0.5583 GB, free: 1.223 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.4821, allocations: 0 / 0.5583 GB, free: 1.223 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.4822, allocations: 4.031 kB / 0.5583 GB, free: 1.219 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.149e-05/0.4823, allocations: 19.92 kB / 0.5583 GB, free: 1.199 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.4823, allocations: 4 kB / 0.5583 GB, free: 1.195 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.28e-05/0.4823, allocations: 0 / 0.5583 GB, free: 1.195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.4823, allocations: 7.953 kB / 0.5583 GB, free: 1.188 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 4.718e-05/0.4824, allocations: 101 kB / 0.5584 GB, free: 1.082 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000107/0.4825, allocations: 100.5 kB / 0.5585 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/0.4825, allocations: 11.81 kB / 0.5585 GB, free: 0.9844 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001552/0.4827, allocations: 117.5 kB / 0.5587 GB, free: 0.8828 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.4827, allocations: 0 / 0.5587 GB, free: 0.8828 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.4827, allocations: 3.953 kB / 0.5587 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.4827, allocations: 0 / 0.5587 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002683/0.483, allocations: 373.9 kB / 0.559 GB, free: 0.5039 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.483, allocations: 0 / 0.559 GB, free: 0.5039 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.757e-05/0.483, allocations: 8.281 kB / 0.559 GB, free: 0.4961 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.483, allocations: 4 kB / 0.559 GB, free: 0.4922 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.4831, allocations: 3.938 kB / 0.559 GB, free: 500 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.4831, allocations: 11.92 kB / 0.559 GB, free: 488 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4831, allocations: 4.312 kB / 0.559 GB, free: 484 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.4832, allocations: 209.2 kB / 0.5592 GB, free: 268 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.825e-05/0.4833, allocations: 96.78 kB / 0.5593 GB, free: 156 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.4833, allocations: 3.953 kB / 0.5593 GB, free: 152 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.149e-05/0.4834, allocations: 15.92 kB / 0.5594 GB, free: 136 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.4834, allocations: 4 kB / 0.5594 GB, free: 132 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.4834, allocations: 4.188 kB / 0.5594 GB, free: 128 kB / 362.7 MB Notification: Performance of sorting global known variables: time 7.608e-05/0.4835, allocations: 134.6 kB / 0.5595 GB, free: 12 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4835, allocations: 0 / 0.5595 GB, free: 12 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002652/0.4838, allocations: 27.92 kB / 0.5595 GB, free: 15.98 MB / 378.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.001147/0.4849, allocations: 1.11 MB / 0.5606 GB, free: 14.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001108/0.4851, allocations: 51.62 kB / 0.5607 GB, free: 14.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.4851, allocations: 0 / 0.5607 GB, free: 14.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.571e-05/0.4851, allocations: 23.81 kB / 0.5607 GB, free: 14.87 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.4854, allocations: 27.41 kB / 0.5607 GB, free: 14.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004827/0.4859, allocations: 226.2 kB / 0.5609 GB, free: 14.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.4861, allocations: 0.708 MB / 0.5616 GB, free: 13.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.315e-05/0.4862, allocations: 12.86 kB / 0.5616 GB, free: 13.85 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6e-05/0.4863, allocations: 34.67 kB / 0.5617 GB, free: 13.83 MB / 378.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4863, allocations: 0 / 0.5617 GB, free: 13.83 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02081/0.5071, allocations: 2.657 MB / 0.5643 GB, free: 11.19 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002438/0.5074, allocations: 162.5 kB / 0.5644 GB, free: 11 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.47/1.978, allocations: 0 / 0.5644 GB, free: 11 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat does not exist to compare? outputFormat=mat