Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.001261/0.001261, 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.001421/0.001421, 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.586/1.586, 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.2891/0.2891, allocations: 44.91 MB / 355.8 MB, free: 12.34 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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5",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.001984/0.001984, allocations: 77.92 kB / 0.4887 GB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1517, allocations: 65.42 MB / 0.5525 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.004031/0.1557, allocations: 1.775 MB / 0.5543 GB, free: 8.238 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002141/0.1578, allocations: 1.039 MB / 0.5553 GB, free: 7.195 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.1579, allocations: 4 kB / 0.5553 GB, free: 7.191 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004005/0.1583, allocations: 107.7 kB / 0.5554 GB, free: 7.086 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004261/0.1588, allocations: 131.5 kB / 0.5555 GB, free: 6.957 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.159, allocations: 83.66 kB / 0.5556 GB, free: 6.875 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002784/0.1593, allocations: 135.6 kB / 0.5557 GB, free: 6.742 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.1594, allocations: 21.62 kB / 0.5557 GB, free: 6.719 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.1596, allocations: 67.69 kB / 0.5558 GB, free: 6.652 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.1597, allocations: 79.72 kB / 0.5559 GB, free: 6.574 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.1598, allocations: 4 kB / 0.5559 GB, free: 6.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.1599, allocations: 59.98 kB / 0.5559 GB, free: 6.512 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.763e-05/0.16, allocations: 31.86 kB / 0.556 GB, free: 6.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.981e-05/0.1601, allocations: 51.66 kB / 0.556 GB, free: 6.43 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003468/0.1604, allocations: 159.3 kB / 0.5562 GB, free: 6.273 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.1604, allocations: 3.984 kB / 0.5562 GB, free: 6.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1604, allocations: 4 kB / 0.5562 GB, free: 6.266 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.1604, allocations: 0 / 0.5562 GB, free: 6.266 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007738/0.1612, allocations: 474.2 kB / 0.5566 GB, free: 5.754 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.1613, allocations: 8.031 kB / 0.5566 GB, free: 5.746 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.951e-05/0.1613, allocations: 4.188 kB / 0.5567 GB, free: 5.742 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.213e-05/0.1613, allocations: 34.75 kB / 0.5567 GB, free: 5.699 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.122e-05/0.1614, allocations: 16.84 kB / 0.5567 GB, free: 5.684 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003799/0.1618, allocations: 229 kB / 0.5569 GB, free: 5.418 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.1618, allocations: 16.12 kB / 0.5569 GB, free: 5.402 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/0.1618, allocations: 4 kB / 0.5569 GB, free: 5.398 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.162, allocations: 73.59 kB / 0.557 GB, free: 5.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.162, allocations: 3.953 kB / 0.557 GB, free: 5.316 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.1621, allocations: 0 / 0.557 GB, free: 5.316 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1621, allocations: 0 / 0.557 GB, free: 5.316 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.1622, allocations: 39.91 kB / 0.5571 GB, free: 5.277 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004817/0.1627, allocations: 332.7 kB / 0.5574 GB, free: 4.902 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002853/0.1629, allocations: 74.55 kB / 0.5574 GB, free: 4.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.809e-05/0.163, allocations: 28.83 kB / 0.5575 GB, free: 4.789 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.163, allocations: 0 / 0.5575 GB, free: 4.789 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002029/0.1632, allocations: 83.27 kB / 0.5575 GB, free: 4.695 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.1632, allocations: 0 / 0.5575 GB, free: 4.695 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009432/0.1642, allocations: 309.1 kB / 0.5578 GB, free: 4.387 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.1642, allocations: 55.34 kB / 0.5579 GB, free: 4.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002907/0.1645, allocations: 259.7 kB / 0.5581 GB, free: 4.055 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.1645, allocations: 29.7 kB / 0.5582 GB, free: 4.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.047e-05/0.1646, allocations: 116.1 kB / 0.5583 GB, free: 3.902 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.904e-05/0.1647, allocations: 55.72 kB / 0.5583 GB, free: 3.848 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.458e-05/0.1648, allocations: 33.7 kB / 0.5584 GB, free: 3.809 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.1649, allocations: 330.8 kB / 0.5587 GB, free: 3.477 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.117e-05/0.165, allocations: 39.97 kB / 0.5587 GB, free: 3.438 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.1651, allocations: 53.7 kB / 0.5588 GB, free: 3.379 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.1653, allocations: 105.7 kB / 0.5589 GB, free: 3.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1653, allocations: 0 / 0.5589 GB, free: 3.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000363/0.1657, allocations: 161.5 kB / 0.559 GB, free: 3.105 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1657, allocations: 8 kB / 0.559 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1657, allocations: 3.938 kB / 0.559 GB, free: 3.094 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.1657, allocations: 0 / 0.559 GB, free: 3.094 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.1658, allocations: 31.92 kB / 0.5591 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.1658, allocations: 0 / 0.5591 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.59e-05/0.1659, allocations: 0 / 0.5591 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/0.1659, allocations: 15.98 kB / 0.5591 GB, free: 3.047 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (16): * Single equations (assignments): 16 * 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.0001348/0.166, allocations: 132 kB / 0.5592 GB, free: 2.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.548e-05/0.1661, allocations: 24.81 kB / 0.5592 GB, free: 2.887 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.385e-05/0.1661, allocations: 33.41 kB / 0.5593 GB, free: 2.848 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1661, allocations: 0 / 0.5593 GB, free: 2.848 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1661, allocations: 0 / 0.5593 GB, free: 2.848 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.1661, allocations: 3.984 kB / 0.5593 GB, free: 2.844 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006777/0.1668, allocations: 0.496 MB / 0.5598 GB, free: 2.285 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1668, allocations: 0 / 0.5598 GB, free: 2.285 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.293e-05/0.1669, allocations: 20.05 kB / 0.5598 GB, free: 2.266 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1669, allocations: 4 kB / 0.5598 GB, free: 2.262 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.1669, allocations: 7.938 kB / 0.5598 GB, free: 2.254 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.1669, allocations: 0 / 0.5598 GB, free: 2.254 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.1669, allocations: 4 kB / 0.5598 GB, free: 2.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.1673, allocations: 264.6 kB / 0.56 GB, free: 1.973 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.548e-05/0.1673, allocations: 93.02 kB / 0.5601 GB, free: 1.863 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.446e-05/0.1674, allocations: 11.98 kB / 0.5601 GB, free: 1.852 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.602e-05/0.1674, allocations: 4 kB / 0.5601 GB, free: 1.848 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.56e-05/0.1675, allocations: 11.98 kB / 0.5602 GB, free: 1.836 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.1675, allocations: 7.938 kB / 0.5602 GB, free: 1.828 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001873/0.1677, allocations: 197.5 kB / 0.5603 GB, free: 1.637 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1677, allocations: 0 / 0.5603 GB, free: 1.637 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002939/0.168, allocations: 39.86 kB / 0.5604 GB, free: 1.598 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002623/0.1706, allocations: 1.202 MB / 0.5616 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002996/0.1709, allocations: 103.8 kB / 0.5617 GB, free: 488 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1709, allocations: 4.062 kB / 0.5617 GB, free: 484 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.171, allocations: 47.92 kB / 0.5617 GB, free: 436 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.1714, allocations: 31.75 kB / 0.5617 GB, free: 404 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00265/0.1741, allocations: 2.01 MB / 0.5637 GB, free: 14.29 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/0.1744, allocations: 0.7317 MB / 0.5644 GB, free: 13.53 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.957e-05/0.1745, allocations: 25.41 kB / 0.5644 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.959e-05/0.1746, allocations: 59.41 kB / 0.5645 GB, free: 13.44 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1746, allocations: 0 / 0.5645 GB, free: 13.44 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02254/0.1972, allocations: 4.404 MB / 0.5688 GB, free: 9.113 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.43/8.628, allocations: 12.94 kB / 0.5688 GB, free: 9.102 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.937174251012038] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'd_t_new2.y', 'd2_t_new.y'] 8.81509696599096 8.842031157 8.676408509 Calling exit ...