Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test87,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001273/0.001273, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001343/0.001343, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2344/0.2344, allocations: 46.12 MB / 344.2 MB, free: 11.56 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002287/0.002287, allocations: 81.12 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1417, allocations: 62.45 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.004268/0.1461, allocations: 2.269 MB / 482.5 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002461/0.1486, allocations: 1.318 MB / 483.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.1487, allocations: 4 kB / 483.8 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004414/0.1492, allocations: 139.3 kB / 483.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006196/0.1498, allocations: 262.9 kB / 484.2 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004306/0.1503, allocations: 187.5 kB / 484.4 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000527/0.1508, allocations: 458.7 kB / 484.8 MB, free: 496 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.151, allocations: 73.25 kB / 484.9 MB, free: 420 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003585/0.1514, allocations: 287.1 kB / 485.2 MB, free: 132 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.1516, allocations: 159.2 kB / 485.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.981e-05/0.1517, allocations: 23.94 kB / 485.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001805/0.1518, allocations: 75.88 kB / 485.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001899/0.152, allocations: 151.4 kB / 485.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002098/0.1523, allocations: 206.3 kB / 485.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005566/0.1528, allocations: 478 kB / 486.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.1528, allocations: 0 / 486.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1529, allocations: 0 / 486.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.1529, allocations: 0 / 486.3 MB, free: 15.05 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001295/0.1542, allocations: 0.8825 MB / 487.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.1542, allocations: 12.03 kB / 487.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.94e-05/0.1543, allocations: 50.67 kB / 487.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.1544, allocations: 75.98 kB / 487.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006333/0.1551, allocations: 440.1 kB / 487.7 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/0.1551, allocations: 12.31 kB / 487.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.152e-05/0.1552, allocations: 27.86 kB / 487.7 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004093/0.1556, allocations: 185 kB / 487.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/0.1556, allocations: 11.89 kB / 487.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.1556, allocations: 4 kB / 487.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.1557, allocations: 4 kB / 487.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002528/0.1559, allocations: 91.88 kB / 488 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.157, allocations: 0.8289 MB / 488.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007407/0.1577, allocations: 246.5 kB / 489.1 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.158, allocations: 87.52 kB / 489.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.158, allocations: 8 kB / 489.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005423/0.1585, allocations: 196.3 kB / 489.4 MB, free: 11.67 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.623e-06/0.1585, allocations: 0 / 489.4 MB, free: 11.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002624/0.1612, allocations: 1.171 MB / 490.6 MB, free: 10.49 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.1613, allocations: 144.5 kB / 490.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.1625, allocations: 0.9535 MB / 491.7 MB, free: 9.352 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.261e-05/0.1625, allocations: 37.7 kB / 491.7 MB, free: 9.309 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002556/0.1628, allocations: 273.1 kB / 492 MB, free: 9.035 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000138/0.1629, allocations: 142.1 kB / 492.1 MB, free: 8.895 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.1631, allocations: 78.03 kB / 492.2 MB, free: 8.812 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.1632, allocations: 322 kB / 492.5 MB, free: 8.492 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002663/0.1635, allocations: 112.8 kB / 492.6 MB, free: 8.383 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003089/0.1638, allocations: 191.1 kB / 492.8 MB, free: 8.168 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005572/0.1644, allocations: 314.8 kB / 493.1 MB, free: 7.836 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1644, allocations: 4 kB / 493.1 MB, free: 7.832 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007967/0.1652, allocations: 444.4 kB / 493.5 MB, free: 7.391 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.1652, allocations: 4 kB / 493.5 MB, free: 7.387 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.1653, allocations: 0 / 493.5 MB, free: 7.387 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.1653, allocations: 4 kB / 493.5 MB, free: 7.383 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003145/0.1656, allocations: 99.95 kB / 493.6 MB, free: 7.285 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.1656, allocations: 7.938 kB / 493.6 MB, free: 7.277 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.1658, allocations: 19.92 kB / 493.7 MB, free: 7.258 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/0.1658, allocations: 20 kB / 493.7 MB, free: 7.238 MB / 366.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 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003224/0.1662, allocations: 251.9 kB / 493.9 MB, free: 6.984 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.1663, allocations: 79.05 kB / 494 MB, free: 6.906 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001524/0.1664, allocations: 90.67 kB / 494.1 MB, free: 6.812 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.862e-05/0.1665, allocations: 8 kB / 494.1 MB, free: 6.805 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.1665, allocations: 7.938 kB / 494.1 MB, free: 6.797 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.1665, allocations: 3.984 kB / 494.1 MB, free: 6.793 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001906/0.1684, allocations: 1.33 MB / 495.4 MB, free: 5.379 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.1684, allocations: 4 kB / 495.4 MB, free: 5.375 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.1686, allocations: 55.92 kB / 495.5 MB, free: 5.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/0.1686, allocations: 4 kB / 495.5 MB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.956e-05/0.1687, allocations: 24.23 kB / 495.5 MB, free: 5.293 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.027e-05/0.1687, allocations: 7.938 kB / 495.5 MB, free: 5.285 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/0.1687, allocations: 7.938 kB / 495.5 MB, free: 5.277 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.17, allocations: 0.7861 MB / 496.3 MB, free: 4.449 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002308/0.1702, allocations: 180.2 kB / 496.5 MB, free: 4.254 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.375e-05/0.1703, allocations: 16 kB / 496.5 MB, free: 4.238 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002692/0.1706, allocations: 19.98 kB / 496.5 MB, free: 4.219 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.1707, allocations: 39.83 kB / 496.6 MB, free: 4.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.124e-05/0.1708, allocations: 23.98 kB / 496.6 MB, free: 4.156 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009234/0.1717, allocations: 0.702 MB / 497.3 MB, free: 3.457 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1717, allocations: 384 / 497.3 MB, free: 3.457 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005881/0.1723, allocations: 95.89 kB / 497.4 MB, free: 3.363 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003549/0.1759, allocations: 1.772 MB / 499.2 MB, free: 1.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007718/0.1766, allocations: 339.5 kB / 499.5 MB, free: 1.398 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1767, allocations: 0 / 499.5 MB, free: 1.398 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003119/0.177, allocations: 168 kB / 499.7 MB, free: 1.234 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009531/0.1779, allocations: 121.2 kB / 499.8 MB, free: 1.129 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007225/0.1852, allocations: 5.292 MB / 0.4932 GB, free: 11.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006603/0.1859, allocations: 0.9164 MB / 0.4941 GB, free: 10.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002654/0.1861, allocations: 91.2 kB / 0.4942 GB, free: 10.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002955/0.1865, allocations: 207.4 kB / 0.4944 GB, free: 10.41 MB / 382.1 MB Notification: Performance of SimCode: time 1.313e-06/0.1865, allocations: 4 kB / 0.4944 GB, free: 10.4 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2253/0.4118, allocations: 11.33 MB / 0.5055 GB, free: 40.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.378/8.79, allocations: 9.516 kB / 0.5055 GB, free: 40.66 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1)