Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.001887/0.001887, allocations: 116.2 kB / 18.49 MB, free: 4.559 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.002631/0.002631, allocations: 219 kB / 21.46 MB, free: 1.605 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.553/1.553, allocations: 230.6 MB / 254.8 MB, free: 15.24 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.2345/0.2345, allocations: 44.9 MB / 355.8 MB, free: 12.36 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.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",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.002188/0.002188, allocations: 67.91 kB / 0.4886 GB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1459, allocations: 65.42 MB / 0.5525 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.004421/0.1503, allocations: 1.821 MB / 0.5543 GB, free: 8.258 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002444/0.1528, allocations: 1.115 MB / 0.5554 GB, free: 7.141 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001665/0.153, allocations: 3.938 kB / 0.5554 GB, free: 7.137 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006073/0.1536, allocations: 307.3 kB / 0.5557 GB, free: 6.836 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006606/0.1542, allocations: 247.2 kB / 0.5559 GB, free: 6.594 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003562/0.1546, allocations: 107.6 kB / 0.556 GB, free: 6.488 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005055/0.1551, allocations: 259.2 kB / 0.5563 GB, free: 6.234 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.921e-05/0.1552, allocations: 21.61 kB / 0.5563 GB, free: 6.211 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002843/0.1555, allocations: 135.5 kB / 0.5564 GB, free: 6.078 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003209/0.1558, allocations: 204 kB / 0.5566 GB, free: 5.879 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.348e-05/0.1558, allocations: 8 kB / 0.5566 GB, free: 5.871 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.156, allocations: 47.97 kB / 0.5566 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001652/0.1561, allocations: 140.5 kB / 0.5568 GB, free: 5.688 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001697/0.1563, allocations: 150.8 kB / 0.5569 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005525/0.1568, allocations: 366.5 kB / 0.5573 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1569, allocations: 0 / 0.5573 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1569, allocations: 0 / 0.5573 GB, free: 5.18 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.1569, allocations: 0 / 0.5573 GB, free: 5.18 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.00133/0.1582, allocations: 0.7694 MB / 0.558 GB, free: 4.359 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.1582, allocations: 8.031 kB / 0.558 GB, free: 4.352 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.626e-05/0.1583, allocations: 4.188 kB / 0.558 GB, free: 4.348 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.11e-05/0.1583, allocations: 34.75 kB / 0.5581 GB, free: 4.305 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.1584, allocations: 48.61 kB / 0.5581 GB, free: 4.258 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007803/0.1592, allocations: 448.4 kB / 0.5585 GB, free: 3.777 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.947e-05/0.1592, allocations: 12.12 kB / 0.5586 GB, free: 3.766 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.1593, allocations: 4 kB / 0.5586 GB, free: 3.762 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.1595, allocations: 87.3 kB / 0.5586 GB, free: 3.664 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1595, allocations: 0 / 0.5586 GB, free: 3.664 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.1595, allocations: 8 kB / 0.5587 GB, free: 3.656 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1595, allocations: 0 / 0.5587 GB, free: 3.656 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.1596, allocations: 27.97 kB / 0.5587 GB, free: 3.629 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004839/0.1601, allocations: 378.3 kB / 0.559 GB, free: 3.207 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002994/0.1604, allocations: 109.1 kB / 0.5591 GB, free: 3.082 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.1605, allocations: 37.7 kB / 0.5592 GB, free: 3.039 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.1605, allocations: 0 / 0.5592 GB, free: 3.039 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002469/0.1608, allocations: 113 kB / 0.5593 GB, free: 2.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.1608, allocations: 0 / 0.5593 GB, free: 2.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005412/0.1613, allocations: 201.2 kB / 0.5595 GB, free: 2.707 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.586e-05/0.1614, allocations: 77.11 kB / 0.5596 GB, free: 2.613 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.1626, allocations: 1.022 MB / 0.5606 GB, free: 1.578 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.1627, allocations: 33.7 kB / 0.5606 GB, free: 1.539 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001988/0.1629, allocations: 232.1 kB / 0.5608 GB, free: 1.309 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.565e-05/0.1629, allocations: 27.78 kB / 0.5608 GB, free: 1.281 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.91e-05/0.163, allocations: 37.64 kB / 0.5609 GB, free: 1.238 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002166/0.1632, allocations: 366.8 kB / 0.5612 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.866e-05/0.1633, allocations: 31.98 kB / 0.5612 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.1634, allocations: 59.34 kB / 0.5613 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.1636, allocations: 87.36 kB / 0.5614 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1636, allocations: 0 / 0.5614 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003496/0.164, allocations: 177.7 kB / 0.5616 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.164, allocations: 7.938 kB / 0.5616 GB, free: 496 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.164, allocations: 128 / 0.5616 GB, free: 496 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.164, allocations: 8 kB / 0.5616 GB, free: 488 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.1641, allocations: 23.98 kB / 0.5616 GB, free: 464 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.1641, allocations: 8.062 kB / 0.5616 GB, free: 456 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.1642, allocations: 7.953 kB / 0.5616 GB, free: 448 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.1642, allocations: 4 kB / 0.5616 GB, free: 444 kB / 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0002284/0.1645, allocations: 227.8 kB / 0.5618 GB, free: 208 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.48e-05/0.1645, allocations: 51.67 kB / 0.5619 GB, free: 156 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.368e-05/0.1646, allocations: 60.09 kB / 0.5619 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1646, allocations: 0 / 0.5619 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1646, allocations: 0 / 0.5619 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1646, allocations: 4 kB / 0.5619 GB, free: 88 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000378/0.165, allocations: 349.3 kB / 0.5623 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.165, allocations: 0 / 0.5623 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.94e-05/0.1651, allocations: 8 kB / 0.5623 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.1651, allocations: 3.984 kB / 0.5623 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.1651, allocations: 8 kB / 0.5623 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.1651, allocations: 0 / 0.5623 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1651, allocations: 3.938 kB / 0.5623 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003788/0.1655, allocations: 205.5 kB / 0.5625 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.1656, allocations: 136.8 kB / 0.5626 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.788e-05/0.1657, allocations: 4 kB / 0.5626 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.786e-05/0.1657, allocations: 15.92 kB / 0.5626 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.249e-05/0.1658, allocations: 7.984 kB / 0.5627 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.1658, allocations: 4 kB / 0.5627 GB, free: 15.27 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009091/0.1667, allocations: 0.7604 MB / 0.5634 GB, free: 14.51 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1667, allocations: 0 / 0.5634 GB, free: 14.51 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002916/0.167, allocations: 47.98 kB / 0.5634 GB, free: 14.46 MB / 430.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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.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.002343/0.1694, allocations: 1.06 MB / 0.5645 GB, free: 13.53 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000295/0.1697, allocations: 79.89 kB / 0.5646 GB, free: 13.45 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1697, allocations: 0 / 0.5646 GB, free: 13.45 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.1698, allocations: 35.92 kB / 0.5646 GB, free: 13.42 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004679/0.1702, allocations: 71.12 kB / 0.5647 GB, free: 13.35 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00663/0.1769, allocations: 4.481 MB / 0.569 GB, free: 8.766 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006235/0.1775, allocations: 0.8466 MB / 0.5699 GB, free: 7.891 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001463/0.1776, allocations: 50.95 kB / 0.5699 GB, free: 7.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000224/0.1779, allocations: 143.4 kB / 0.57 GB, free: 7.703 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1779, allocations: 0 / 0.57 GB, free: 7.703 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02901/0.2069, allocations: 9.027 MB / 0.5789 GB, free: 14.76 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.914/9.121, allocations: 12 kB / 0.5789 GB, free: 14.75 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.404066296992823] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 9.323183489963412 9.347013148 9.1860096 Calling exit ...