Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88",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.001156/0.001156, allocations: 177 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 223.2 MB / 241 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 90.05 kB / 292.1 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4285/0.4285, allocations: 44.22 MB / 387.5 MB, free: 38.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000427/0.0004273, allocations: 12 kB / 460 MB, free: 1.426 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.4001, allocations: 61.89 MB / 0.5096 GB, free: 37.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1318/0.5319, allocations: 89.96 MB / 0.5975 GB, free: 5.145 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/0.5323, allocations: 87.91 kB / 0.5976 GB, free: 5.066 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03354/0.5658, allocations: 12.44 MB / 0.6097 GB, free: 8.609 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5659, allocations: 0 / 0.6097 GB, free: 8.609 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.162e-05/0.5659, allocations: 8 kB / 0.6097 GB, free: 8.602 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001115/0.567, allocations: 0.7792 MB / 0.6105 GB, free: 7.773 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.5671, allocations: 8.031 kB / 0.6105 GB, free: 7.766 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.491e-05/0.5672, allocations: 46.55 kB / 0.6106 GB, free: 7.711 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.604e-05/0.5673, allocations: 63.23 kB / 0.6106 GB, free: 7.648 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007442/0.568, allocations: 438.8 kB / 0.611 GB, free: 7.176 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.5681, allocations: 12 kB / 0.611 GB, free: 7.164 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.39e-05/0.5681, allocations: 12 kB / 0.6111 GB, free: 7.152 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003777/0.5685, allocations: 205.5 kB / 0.6113 GB, free: 6.934 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.5685, allocations: 7.938 kB / 0.6113 GB, free: 6.926 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.5686, allocations: 4 kB / 0.6113 GB, free: 6.922 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.5686, allocations: 8 kB / 0.6113 GB, free: 6.914 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002375/0.5688, allocations: 95.86 kB / 0.6114 GB, free: 6.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.5699, allocations: 0.8379 MB / 0.6122 GB, free: 5.922 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006368/0.5705, allocations: 258.5 kB / 0.6124 GB, free: 5.633 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.5706, allocations: 4.219 kB / 0.6124 GB, free: 5.629 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003926/0.571, allocations: 209.2 kB / 0.6126 GB, free: 5.395 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 2.054e-06/0.571, allocations: 0 / 0.6126 GB, free: 5.395 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.002477/0.5735, allocations: 1.111 MB / 0.6137 GB, free: 4.273 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.372e-05/0.5736, allocations: 144.5 kB / 0.6139 GB, free: 4.102 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008313/0.5744, allocations: 0.6701 MB / 0.6145 GB, free: 3.422 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.992e-05/0.5744, allocations: 37.7 kB / 0.6145 GB, free: 3.379 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.5746, allocations: 240.9 kB / 0.6148 GB, free: 3.141 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.5748, allocations: 138.1 kB / 0.6149 GB, free: 3.004 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.705e-05/0.5748, allocations: 8 kB / 0.6149 GB, free: 2.996 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.575, allocations: 378.7 kB / 0.6153 GB, free: 2.617 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002634/0.5752, allocations: 116.8 kB / 0.6154 GB, free: 2.504 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002614/0.5755, allocations: 191.1 kB / 0.6156 GB, free: 2.297 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00027/0.5758, allocations: 128.4 kB / 0.6157 GB, free: 2.172 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.5758, allocations: 4 kB / 0.6157 GB, free: 2.168 MB / 426.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007549/0.5766, allocations: 452.3 kB / 0.6161 GB, free: 1.719 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.5766, allocations: 4 kB / 0.6161 GB, free: 1.715 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.5766, allocations: 4 kB / 0.6161 GB, free: 1.711 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.5766, allocations: 4 kB / 0.6161 GB, free: 1.707 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/0.5769, allocations: 83.89 kB / 0.6162 GB, free: 1.625 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.5769, allocations: 12.06 kB / 0.6162 GB, free: 1.613 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.5771, allocations: 20 kB / 0.6162 GB, free: 1.594 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.904e-05/0.5771, allocations: 19.98 kB / 0.6163 GB, free: 1.574 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition3,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition2,$PRE.t_new_3.nextTimeEvent,t_new_3.nextTimeEvent,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEventScaled,$whenCondition1,$PRE.t_new_4.nextTimeEvent,t_new_4.nextTimeEvent,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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 0.0002585/0.5774, allocations: 227.9 kB / 0.6165 GB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.55e-05/0.5775, allocations: 63.25 kB / 0.6165 GB, free: 1.281 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009434/0.5785, allocations: 0.522 MB / 0.6171 GB, free: 0.7539 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.5785, allocations: 8 kB / 0.6171 GB, free: 0.7461 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5785, allocations: 0 / 0.6171 GB, free: 0.7461 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.5785, allocations: 3.984 kB / 0.6171 GB, free: 0.7422 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/0.5804, allocations: 1.42 MB / 0.6185 GB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.5804, allocations: 11.89 kB / 0.6185 GB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/0.5806, allocations: 63.91 kB / 0.6185 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.5806, allocations: 7.984 kB / 0.6185 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.312e-05/0.5807, allocations: 20.36 kB / 0.6186 GB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.5807, allocations: 4 kB / 0.6186 GB, free: 15.13 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.5807, allocations: 4 kB / 0.6186 GB, free: 15.13 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.5817, allocations: 0.94 MB / 0.6195 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003054/0.5821, allocations: 212.2 kB / 0.6197 GB, free: 13.84 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.098e-05/0.5821, allocations: 23.95 kB / 0.6197 GB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000276/0.5824, allocations: 19.98 kB / 0.6197 GB, free: 13.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.986e-05/0.5825, allocations: 43.95 kB / 0.6198 GB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.171e-05/0.5825, allocations: 19.98 kB / 0.6198 GB, free: 13.73 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006693/0.5832, allocations: 0.5417 MB / 0.6203 GB, free: 13.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5832, allocations: 0 / 0.6203 GB, free: 13.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005706/0.5838, allocations: 123.9 kB / 0.6204 GB, free: 13.07 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002909/0.5867, allocations: 2.677 MB / 0.623 GB, free: 10.53 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000662/0.5874, allocations: 326.6 kB / 0.6234 GB, free: 10.21 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5874, allocations: 256 / 0.6234 GB, free: 10.21 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002998/0.5877, allocations: 184.2 kB / 0.6235 GB, free: 10.03 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000653/0.5884, allocations: 101.2 kB / 0.6236 GB, free: 9.934 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004675/0.5931, allocations: 4.147 MB / 0.6277 GB, free: 5.656 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004714/0.5936, allocations: 0.8905 MB / 0.6285 GB, free: 4.742 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002683/0.5938, allocations: 99.22 kB / 0.6286 GB, free: 4.645 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002994/0.5941, allocations: 187.4 kB / 0.6288 GB, free: 4.461 MB / 442.7 MB Notification: Performance of SimCode: time 7.21e-07/0.5942, allocations: 4 kB / 0.6288 GB, free: 4.457 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02376/0.6179, allocations: 10.38 MB / 0.639 GB, free: 10.25 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/0.6181, allocations: 218.1 kB / 0.6392 GB, free: 10 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.212/2.83, allocations: 4 kB / 0.6392 GB, free: 10 MB / 458.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88_fmu --startTime=0 --stopTime=9 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat does not exist to compare? outputFormat=mat