Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008751/0.0008751, allocations: 99.19 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001384/0.001384, allocations: 191.6 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2164/0.2164, allocations: 45.91 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002659/0.000266, allocations: 8 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1388, allocations: 63.48 MB / 481.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.002571/0.1414, allocations: 1.989 MB / 483.6 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002615/0.144, allocations: 1.362 MB / 485 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.1442, allocations: 3.938 kB / 485 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005908/0.1448, allocations: 283.2 kB / 485.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005924/0.1454, allocations: 283 kB / 485.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008123/0.1462, allocations: 334.2 kB / 485.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005662/0.1468, allocations: 490.4 kB / 486.4 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.147, allocations: 45.08 kB / 486.4 MB, free: 500 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000271/0.1473, allocations: 219 kB / 486.6 MB, free: 280 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000277/0.1475, allocations: 243 kB / 486.9 MB, free: 36 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.673e-05/0.1476, allocations: 8 kB / 486.9 MB, free: 28 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.1478, allocations: 40.08 kB / 486.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.1479, allocations: 99.5 kB / 487 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.874e-05/0.148, allocations: 97.39 kB / 487.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003623/0.1484, allocations: 295.6 kB / 487.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.1484, allocations: 0 / 487.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.607e-06/0.1484, allocations: 0 / 487.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.1484, allocations: 3.938 kB / 487.4 MB, free: 15.5 MB / 366.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.001199/0.1496, allocations: 0.728 MB / 488.1 MB, free: 14.72 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.1497, allocations: 8.031 kB / 488.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.918e-05/0.1497, allocations: 46.55 kB / 488.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.081e-05/0.1498, allocations: 59.34 kB / 488.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005021/0.1503, allocations: 398.9 kB / 488.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.1504, allocations: 11.98 kB / 488.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.334e-05/0.1504, allocations: 16 kB / 488.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003778/0.1508, allocations: 205.8 kB / 488.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.1508, allocations: 0 / 488.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.1508, allocations: 8 kB / 488.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.1509, allocations: 4 kB / 488.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002318/0.1511, allocations: 103.9 kB / 489 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000966/0.1521, allocations: 0.8643 MB / 489.8 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005338/0.1526, allocations: 285.3 kB / 490.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/0.1528, allocations: 96.25 kB / 490.2 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.497e-05/0.1529, allocations: 11.94 kB / 490.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004037/0.1533, allocations: 220.4 kB / 490.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 1.452e-06/0.1533, allocations: 4 kB / 490.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.001967/0.1553, allocations: 1.003 MB / 491.4 MB, free: 11.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.1554, allocations: 166.2 kB / 491.6 MB, free: 10.96 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007713/0.1562, allocations: 0.6552 MB / 492.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.1562, allocations: 41.7 kB / 492.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.1564, allocations: 237 kB / 492.5 MB, free: 10.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.1565, allocations: 130.3 kB / 492.6 MB, free: 9.887 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.436e-05/0.1565, allocations: 4 kB / 492.6 MB, free: 9.883 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.1567, allocations: 374.8 kB / 493 MB, free: 9.508 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002289/0.157, allocations: 96.83 kB / 493.1 MB, free: 9.414 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000273/0.1573, allocations: 184.9 kB / 493.3 MB, free: 9.203 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/0.1575, allocations: 116.3 kB / 493.4 MB, free: 9.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.1575, allocations: 11.95 kB / 493.4 MB, free: 9.078 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000688/0.1582, allocations: 392.6 kB / 493.8 MB, free: 8.688 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.1582, allocations: 8 kB / 493.8 MB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.1583, allocations: 0 / 493.8 MB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.1583, allocations: 4 kB / 493.8 MB, free: 8.676 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003086/0.1586, allocations: 83.91 kB / 493.9 MB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.1586, allocations: 12.08 kB / 493.9 MB, free: 8.582 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.1588, allocations: 23.94 kB / 493.9 MB, free: 8.559 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.742e-05/0.1589, allocations: 19.98 kB / 493.9 MB, free: 8.539 MB / 366.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.0002197/0.1591, allocations: 196.4 kB / 494.1 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.389e-05/0.1592, allocations: 71.19 kB / 494.2 MB, free: 8.266 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.1593, allocations: 64.8 kB / 494.3 MB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.1593, allocations: 4 kB / 494.3 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.1593, allocations: 0 / 494.3 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.1593, allocations: 15.97 kB / 494.3 MB, free: 8.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/0.1608, allocations: 1.28 MB / 495.6 MB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.1609, allocations: 4 kB / 495.6 MB, free: 6.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.161, allocations: 51.91 kB / 495.6 MB, free: 6.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.161, allocations: 4 kB / 495.6 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.582e-05/0.161, allocations: 12 kB / 495.6 MB, free: 6.754 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.161, allocations: 7.984 kB / 495.6 MB, free: 6.746 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.1611, allocations: 7.953 kB / 495.7 MB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008008/0.1619, allocations: 0.8091 MB / 496.5 MB, free: 5.895 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.162, allocations: 136.4 kB / 496.6 MB, free: 5.742 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.966e-05/0.1621, allocations: 16.75 kB / 496.6 MB, free: 5.727 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003154/0.1624, allocations: 19.98 kB / 496.6 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.881e-05/0.1625, allocations: 43.84 kB / 496.7 MB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.165e-05/0.1625, allocations: 23.98 kB / 496.7 MB, free: 5.641 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005585/0.1631, allocations: 486.7 kB / 497.2 MB, free: 5.168 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.553e-06/0.1631, allocations: 0 / 497.2 MB, free: 5.168 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005544/0.1637, allocations: 87.84 kB / 497.3 MB, free: 5.082 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.002181/0.1659, allocations: 1.735 MB / 499 MB, free: 3.465 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006503/0.1665, allocations: 287.7 kB / 499.3 MB, free: 3.184 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.1666, allocations: 3.938 kB / 499.3 MB, free: 3.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002894/0.1668, allocations: 147.7 kB / 499.4 MB, free: 3.035 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.1679, allocations: 129.5 kB / 499.6 MB, free: 2.914 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004317/0.1722, allocations: 2.901 MB / 0.4907 GB, free: 15.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004515/0.1727, allocations: 0.8631 MB / 0.4915 GB, free: 15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002613/0.173, allocations: 88.12 kB / 0.4916 GB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002348/0.1732, allocations: 183.4 kB / 0.4918 GB, free: 14.73 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1732, allocations: 0 / 0.4918 GB, free: 14.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02214/0.1954, allocations: 10.01 MB / 0.5016 GB, free: 4.887 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000225/0.1956, allocations: 223.9 kB / 0.5018 GB, free: 4.641 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.07/2.266, allocations: 0 / 0.5018 GB, free: 4.641 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat does not exist to compare? outputFormat=mat