Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 94.47 kB / 16.98 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 183 kB / 17.88 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 223.2 MB / 241.8 MB, free: 396 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2463/0.2463, allocations: 44.23 MB / 337.1 MB, free: 2.914 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000538/0.0005381, allocations: 12 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1529, allocations: 61.92 MB / 471.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.002359/0.1553, allocations: 1.831 MB / 473.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.1573, allocations: 1.084 MB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.1575, allocations: 7.938 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003663/0.1578, allocations: 115.5 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003428/0.1582, allocations: 171.6 kB / 474.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006256/0.1588, allocations: 277.5 kB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004896/0.1593, allocations: 267.5 kB / 475.3 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00021/0.1595, allocations: 56.83 kB / 475.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003033/0.1599, allocations: 195.3 kB / 475.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.16, allocations: 131.3 kB / 475.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/0.1601, allocations: 8 kB / 475.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.1602, allocations: 47.92 kB / 475.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.1603, allocations: 135.5 kB / 475.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.7e-05/0.1604, allocations: 105.3 kB / 476 MB, free: 9.238 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000359/0.1608, allocations: 323.6 kB / 476.3 MB, free: 8.922 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1608, allocations: 0 / 476.3 MB, free: 8.922 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1608, allocations: 4 kB / 476.3 MB, free: 8.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.1608, allocations: 0 / 476.3 MB, free: 8.918 MB / 350.1 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.001046/0.1619, allocations: 0.7894 MB / 477.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.1619, allocations: 12.03 kB / 477.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.63e-05/0.162, allocations: 50.55 kB / 477.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.746e-05/0.1621, allocations: 63.16 kB / 477.2 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004812/0.1626, allocations: 399.6 kB / 477.6 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.1626, allocations: 15.94 kB / 477.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.759e-05/0.1627, allocations: 19.98 kB / 477.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003247/0.163, allocations: 189.5 kB / 477.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.163, allocations: 11.88 kB / 477.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.163, allocations: 7.984 kB / 477.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.1631, allocations: 7.984 kB / 477.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000205/0.1633, allocations: 87.92 kB / 477.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008197/0.1641, allocations: 0.8171 MB / 478.7 MB, free: 6.285 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005431/0.1646, allocations: 246.5 kB / 479 MB, free: 6.008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.369e-05/0.1647, allocations: 7.984 kB / 479 MB, free: 6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003766/0.1651, allocations: 204.6 kB / 479.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.603e-06/0.1651, allocations: 0 / 479.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002151/0.1672, allocations: 1.149 MB / 480.3 MB, free: 4.613 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/0.1673, allocations: 136.5 kB / 480.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008127/0.1681, allocations: 0.9105 MB / 481.4 MB, free: 3.531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.1682, allocations: 41.69 kB / 481.4 MB, free: 3.484 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.1683, allocations: 264.9 kB / 481.7 MB, free: 3.223 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.875e-05/0.1684, allocations: 142 kB / 481.8 MB, free: 3.082 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.468e-05/0.1685, allocations: 8 kB / 481.8 MB, free: 3.074 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1686, allocations: 390.7 kB / 482.2 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/0.1688, allocations: 108.8 kB / 482.3 MB, free: 2.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002425/0.1691, allocations: 187 kB / 482.5 MB, free: 2.371 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/0.1693, allocations: 132 kB / 482.6 MB, free: 2.242 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1693, allocations: 0 / 482.6 MB, free: 2.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006337/0.17, allocations: 436.5 kB / 483 MB, free: 1.809 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.17, allocations: 4 kB / 483 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.17, allocations: 4 kB / 483 MB, free: 1.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.17, allocations: 12.11 kB / 483.1 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002562/0.1703, allocations: 83.91 kB / 483.1 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.1703, allocations: 7.938 kB / 483.1 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.1705, allocations: 19.98 kB / 483.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/0.1705, allocations: 20 kB / 483.2 MB, free: 1.66 MB / 350.1 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.0002498/0.1708, allocations: 251.9 kB / 483.4 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.525e-05/0.1708, allocations: 71.14 kB / 483.5 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001318/0.171, allocations: 89.31 kB / 483.6 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.171, allocations: 8 kB / 483.6 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/0.171, allocations: 0 / 483.6 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.171, allocations: 3.984 kB / 483.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/0.1726, allocations: 1.334 MB / 484.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1726, allocations: 0 / 484.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.1728, allocations: 64.12 kB / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.136e-06/0.1728, allocations: 11.98 kB / 485 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/0.1728, allocations: 12 kB / 485 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.1728, allocations: 8 kB / 485 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1728, allocations: 0 / 485 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007861/0.1736, allocations: 0.9166 MB / 485.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001811/0.1738, allocations: 192.1 kB / 486.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.462e-05/0.1739, allocations: 19.94 kB / 486.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002647/0.1741, allocations: 23.98 kB / 486.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.953e-05/0.1742, allocations: 35.95 kB / 486.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-05/0.1743, allocations: 20 kB / 486.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006279/0.1749, allocations: 0.6786 MB / 486.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1749, allocations: 0 / 486.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004964/0.1754, allocations: 87.98 kB / 487 MB, free: 13.62 MB / 366.1 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 (44): * Single equations (assignments): 36 * 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.002267/0.1777, allocations: 2.642 MB / 489.6 MB, free: 11.1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005491/0.1782, allocations: 307.6 kB / 489.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1783, allocations: 0 / 489.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002609/0.1785, allocations: 168.6 kB / 490.1 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006563/0.1792, allocations: 109.3 kB / 490.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00461/0.1838, allocations: 4.437 MB / 494.6 MB, free: 5.973 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/0.1843, allocations: 0.9211 MB / 495.6 MB, free: 5.027 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002317/0.1845, allocations: 87.23 kB / 495.7 MB, free: 4.938 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002495/0.1848, allocations: 203.3 kB / 495.9 MB, free: 4.738 MB / 366.1 MB Notification: Performance of SimCode: time 7.61e-07/0.1848, allocations: 0 / 495.9 MB, free: 4.738 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02206/0.2069, allocations: 10.25 MB / 0.4942 GB, free: 10.68 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000216/0.2072, allocations: 208.9 kB / 0.4944 GB, free: 10.44 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.905/2.112, allocations: 0 / 0.4944 GB, free: 10.44 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat does not exist to compare? outputFormat=mat