Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 113 kB / 18.49 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 217.4 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.55/1.55, allocations: 230.6 MB / 254.8 MB, free: 15.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2325/0.2325, allocations: 44.9 MB / 355.8 MB, free: 12.3 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 71.91 kB / 0.4886 GB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.141, allocations: 65.42 MB / 0.5525 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.00354/0.1445, allocations: 1.832 MB / 0.5543 GB, free: 8.195 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002849/0.1474, allocations: 1.719 MB / 0.556 GB, free: 6.469 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.505e-05/0.1475, allocations: 0 / 0.556 GB, free: 6.469 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003285/0.1478, allocations: 51.62 kB / 0.556 GB, free: 6.418 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004307/0.1482, allocations: 139.4 kB / 0.5562 GB, free: 6.281 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.1484, allocations: 103.7 kB / 0.5562 GB, free: 6.18 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002923/0.1487, allocations: 211.2 kB / 0.5565 GB, free: 5.973 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.223e-05/0.1488, allocations: 9.672 kB / 0.5565 GB, free: 5.961 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.1489, allocations: 91.62 kB / 0.5565 GB, free: 5.871 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002421/0.1492, allocations: 85.16 kB / 0.5566 GB, free: 5.789 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.699e-05/0.1492, allocations: 8 kB / 0.5566 GB, free: 5.781 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002038/0.1494, allocations: 115.9 kB / 0.5567 GB, free: 5.668 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.067e-05/0.1495, allocations: 35.84 kB / 0.5568 GB, free: 5.633 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.121e-05/0.1496, allocations: 63.59 kB / 0.5568 GB, free: 5.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003703/0.15, allocations: 235.3 kB / 0.5571 GB, free: 5.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.15, allocations: 0 / 0.5571 GB, free: 5.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.15, allocations: 4 kB / 0.5571 GB, free: 5.336 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.15, allocations: 3.938 kB / 0.5571 GB, free: 5.332 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007979/0.1508, allocations: 498.1 kB / 0.5575 GB, free: 4.797 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.1508, allocations: 12.03 kB / 0.5576 GB, free: 4.785 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.405e-05/0.1508, allocations: 4.188 kB / 0.5576 GB, free: 4.781 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.769e-05/0.1509, allocations: 34.73 kB / 0.5576 GB, free: 4.738 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.866e-05/0.1509, allocations: 16.84 kB / 0.5576 GB, free: 4.723 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004557/0.1514, allocations: 275.8 kB / 0.5579 GB, free: 4.414 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.1514, allocations: 4.125 kB / 0.5579 GB, free: 4.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.1514, allocations: 4 kB / 0.5579 GB, free: 4.406 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.1517, allocations: 105 kB / 0.558 GB, free: 4.285 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.1517, allocations: 0 / 0.558 GB, free: 4.285 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.1517, allocations: 0 / 0.558 GB, free: 4.285 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1517, allocations: 0 / 0.558 GB, free: 4.285 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.1518, allocations: 35.92 kB / 0.558 GB, free: 4.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00028/0.1521, allocations: 218.5 kB / 0.5582 GB, free: 3.984 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.1524, allocations: 105.1 kB / 0.5583 GB, free: 3.863 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.494e-05/0.1525, allocations: 41.7 kB / 0.5584 GB, free: 3.816 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.1525, allocations: 3.984 kB / 0.5584 GB, free: 3.812 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002519/0.1528, allocations: 109 kB / 0.5585 GB, free: 3.688 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.1528, allocations: 0 / 0.5585 GB, free: 3.688 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004944/0.1533, allocations: 165.5 kB / 0.5586 GB, free: 3.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.1534, allocations: 136.5 kB / 0.5588 GB, free: 3.355 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003108/0.1537, allocations: 240.2 kB / 0.559 GB, free: 3.109 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.1537, allocations: 25.7 kB / 0.559 GB, free: 3.078 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.875e-05/0.1538, allocations: 116.1 kB / 0.5591 GB, free: 2.961 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.422e-05/0.1538, allocations: 35.72 kB / 0.5592 GB, free: 2.926 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.014e-05/0.1539, allocations: 33.7 kB / 0.5592 GB, free: 2.887 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.1541, allocations: 330.8 kB / 0.5595 GB, free: 2.555 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.009e-05/0.1542, allocations: 27.98 kB / 0.5595 GB, free: 2.527 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.1543, allocations: 69.12 kB / 0.5596 GB, free: 2.441 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.1545, allocations: 99.83 kB / 0.5597 GB, free: 2.332 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1545, allocations: 0 / 0.5597 GB, free: 2.332 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002932/0.1548, allocations: 133.5 kB / 0.5598 GB, free: 2.195 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.1548, allocations: 4 kB / 0.5598 GB, free: 2.191 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.1549, allocations: 4 kB / 0.5598 GB, free: 2.188 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.1549, allocations: 0 / 0.5598 GB, free: 2.188 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.155, allocations: 27.92 kB / 0.5599 GB, free: 2.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.155, allocations: 4 kB / 0.5599 GB, free: 2.156 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.934e-05/0.1551, allocations: 12.02 kB / 0.5599 GB, free: 2.145 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.1551, allocations: 7.938 kB / 0.5599 GB, free: 2.137 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001483/0.1553, allocations: 143.8 kB / 0.56 GB, free: 1.988 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.176e-05/0.1553, allocations: 15.91 kB / 0.56 GB, free: 1.973 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.608e-05/0.1553, allocations: 24.98 kB / 0.5601 GB, free: 1.945 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.1554, allocations: 0 / 0.5601 GB, free: 1.945 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1554, allocations: 0 / 0.5601 GB, free: 1.945 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.1554, allocations: 7.938 kB / 0.5601 GB, free: 1.938 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002638/0.1556, allocations: 221.5 kB / 0.5603 GB, free: 1.672 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1556, allocations: 4 kB / 0.5603 GB, free: 1.668 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.745e-05/0.1557, allocations: 15.98 kB / 0.5603 GB, free: 1.652 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1557, allocations: 0 / 0.5603 GB, free: 1.652 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.1557, allocations: 4 kB / 0.5603 GB, free: 1.648 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1557, allocations: 128 / 0.5603 GB, free: 1.648 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1557, allocations: 4 kB / 0.5603 GB, free: 1.645 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003447/0.156, allocations: 165.7 kB / 0.5605 GB, free: 1.461 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.071e-05/0.1561, allocations: 105 kB / 0.5606 GB, free: 1.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.409e-05/0.1561, allocations: 0 / 0.5606 GB, free: 1.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.41e-05/0.1562, allocations: 4 kB / 0.5606 GB, free: 1.336 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.1563, allocations: 11.98 kB / 0.5606 GB, free: 1.324 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.1563, allocations: 4 kB / 0.5606 GB, free: 1.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002182/0.1565, allocations: 185.6 kB / 0.5608 GB, free: 1.141 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1565, allocations: 0 / 0.5608 GB, free: 1.141 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002943/0.1568, allocations: 47.88 kB / 0.5608 GB, free: 1.094 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002541/0.1593, allocations: 1.12 MB / 0.5619 GB, free: 136 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000299/0.1596, allocations: 71.91 kB / 0.562 GB, free: 64 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.1596, allocations: 0 / 0.562 GB, free: 64 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.1598, allocations: 36.11 kB / 0.562 GB, free: 28 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.1602, allocations: 65.59 kB / 0.5621 GB, free: 15.96 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002663/0.1629, allocations: 1.89 MB / 0.5639 GB, free: 13.97 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004668/0.1633, allocations: 0.7203 MB / 0.5646 GB, free: 13.22 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001173/0.1634, allocations: 33.53 kB / 0.5646 GB, free: 13.19 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.1636, allocations: 59.34 kB / 0.5647 GB, free: 13.13 MB / 430.1 MB Notification: Performance of SimCode: time 1.343e-06/0.1636, allocations: 0 / 0.5647 GB, free: 13.13 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02607/0.1896, allocations: 5.382 MB / 0.57 GB, free: 7.801 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.543/8.733, allocations: 11.88 kB / 0.57 GB, free: 7.789 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.883931337972172] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new_2.y[1]'] 8.919725869956892 8.94862775 8.793838564 Calling exit ...