Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67",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.0009866/0.0009866, allocations: 89.88 kB / 16.98 MB, free: 5.938 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.0008705/0.0008706, allocations: 186.8 kB / 17.88 MB, free: 5.594 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.374/1.374, allocations: 223.2 MB / 241.8 MB, free: 380 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.2193/0.2193, allocations: 44.22 MB / 337.1 MB, free: 2.895 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003178/0.0003178, allocations: 12 kB / 409.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1391, allocations: 61.92 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.002838/0.142, allocations: 1.901 MB / 473.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002197/0.1443, allocations: 1.166 MB / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001903/0.1445, allocations: 7.938 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005354/0.145, allocations: 251.3 kB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00044/0.1455, allocations: 243.4 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007488/0.1462, allocations: 335.2 kB / 475.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006282/0.1469, allocations: 335.3 kB / 475.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.147, allocations: 45.08 kB / 475.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002801/0.1473, allocations: 211.2 kB / 476 MB, free: 9.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002695/0.1476, allocations: 195.2 kB / 476.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.371e-05/0.1476, allocations: 8 kB / 476.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.1478, allocations: 43.91 kB / 476.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.1479, allocations: 95.64 kB / 476.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.649e-05/0.148, allocations: 81.45 kB / 476.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003545/0.1484, allocations: 291.6 kB / 476.7 MB, free: 8.453 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1484, allocations: 0 / 476.7 MB, free: 8.453 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1484, allocations: 4 kB / 476.7 MB, free: 8.449 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.1484, allocations: 0 / 476.7 MB, free: 8.449 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001241/0.1497, allocations: 0.6892 MB / 477.4 MB, free: 7.711 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.781e-05/0.1497, allocations: 8.031 kB / 477.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001087/0.1499, allocations: 54.55 kB / 477.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.15, allocations: 55.27 kB / 477.5 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007194/0.1507, allocations: 379.1 kB / 477.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.166e-05/0.1507, allocations: 12 kB / 477.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.351e-05/0.1508, allocations: 19.94 kB / 477.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004612/0.1513, allocations: 194.8 kB / 478.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.1513, allocations: 11.92 kB / 478.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.1513, allocations: 8 kB / 478.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.1513, allocations: 4 kB / 478.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002736/0.1516, allocations: 95.86 kB / 478.2 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.1528, allocations: 0.8526 MB / 479.1 MB, free: 5.898 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006535/0.1535, allocations: 289.8 kB / 479.4 MB, free: 5.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.358e-05/0.1536, allocations: 12 kB / 479.4 MB, free: 5.559 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005192/0.1541, allocations: 227.5 kB / 479.6 MB, free: 5.309 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 2.605e-06/0.1541, allocations: 4 kB / 479.6 MB, free: 5.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002387/0.1565, allocations: 0.9692 MB / 480.6 MB, free: 4.324 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/0.1566, allocations: 162.2 kB / 480.7 MB, free: 4.129 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006893/0.1573, allocations: 0.6082 MB / 481.3 MB, free: 3.512 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.627e-05/0.1574, allocations: 37.7 kB / 481.4 MB, free: 3.469 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.1576, allocations: 225 kB / 481.6 MB, free: 3.242 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.1577, allocations: 122.4 kB / 481.7 MB, free: 3.121 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.356e-05/0.1577, allocations: 7.938 kB / 481.7 MB, free: 3.113 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1578, allocations: 366.8 kB / 482.1 MB, free: 2.746 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/0.1581, allocations: 100.8 kB / 482.2 MB, free: 2.645 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/0.1583, allocations: 184.8 kB / 482.4 MB, free: 2.438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002495/0.1586, allocations: 120.3 kB / 482.5 MB, free: 2.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1586, allocations: 7.938 kB / 482.5 MB, free: 2.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006468/0.1592, allocations: 392.9 kB / 482.9 MB, free: 1.922 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.1593, allocations: 11.98 kB / 482.9 MB, free: 1.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1593, allocations: 0 / 482.9 MB, free: 1.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.682e-05/0.1593, allocations: 11.95 kB / 482.9 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003077/0.1596, allocations: 79.91 kB / 483 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.1597, allocations: 8.172 kB / 483 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.1599, allocations: 27.98 kB / 483 MB, free: 1.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.967e-05/0.1599, allocations: 15.98 kB / 483 MB, free: 1.77 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.t_s.nextTimeEvent,t_s.nextTimeEvent,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEventScaled,$whenCondition4,$PRE.t_min.nextTimeEvent,t_min.nextTimeEvent,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEventScaled,$whenCondition3,$PRE.t_h.nextTimeEvent,t_h.nextTimeEvent,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEventScaled,$whenCondition2,$PRE.t_d.nextTimeEvent,t_d.nextTimeEvent,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEventScaled,$whenCondition1,$PRE.t_ms.nextTimeEvent,t_ms.nextTimeEvent,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002671/0.1602, allocations: 208.8 kB / 483.2 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.607e-05/0.1603, allocations: 55.33 kB / 483.3 MB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001367/0.1604, allocations: 63.91 kB / 483.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.1604, allocations: 4 kB / 483.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-05/0.1605, allocations: 7.953 kB / 483.3 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.1605, allocations: 4 kB / 483.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/0.1622, allocations: 1.261 MB / 484.6 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.1622, allocations: 8 kB / 484.6 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.1624, allocations: 47.91 kB / 484.7 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.1624, allocations: 4 kB / 484.7 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/0.1624, allocations: 15.98 kB / 484.7 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.1624, allocations: 4 kB / 484.7 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.1624, allocations: 4 kB / 484.7 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009032/0.1633, allocations: 0.9182 MB / 485.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.1635, allocations: 136.4 kB / 485.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.812e-05/0.1636, allocations: 15.98 kB / 485.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003273/0.1639, allocations: 23.94 kB / 485.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.245e-05/0.164, allocations: 31.91 kB / 485.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.236e-05/0.164, allocations: 27.98 kB / 485.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004786/0.1645, allocations: 458.8 kB / 486.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1645, allocations: 0 / 486.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005528/0.1651, allocations: 83.91 kB / 486.4 MB, free: 14.21 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002423/0.1675, allocations: 2.454 MB / 488.8 MB, free: 11.87 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005971/0.1681, allocations: 279.7 kB / 489.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.1681, allocations: 4.312 kB / 489.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002794/0.1684, allocations: 157.1 kB / 489.3 MB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007761/0.1692, allocations: 118.3 kB / 489.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004555/0.1738, allocations: 4.035 MB / 493.4 MB, free: 7.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004413/0.1742, allocations: 0.8592 MB / 494.3 MB, free: 6.277 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002585/0.1745, allocations: 83.39 kB / 494.3 MB, free: 6.195 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002544/0.1748, allocations: 175.4 kB / 494.5 MB, free: 6.023 MB / 366.1 MB Notification: Performance of SimCode: time 5.52e-07/0.1748, allocations: 4 kB / 494.5 MB, free: 6.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02085/0.1956, allocations: 9.61 MB / 0.4923 GB, free: 12.6 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/0.1958, allocations: 215.1 kB / 0.4925 GB, free: 12.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.92/2.116, allocations: 3.938 kB / 0.4925 GB, free: 12.36 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat does not exist to compare? outputFormat=mat