Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.001237/0.001237, 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.001327/0.001327, allocations: 218.9 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.575/1.575, allocations: 230.6 MB / 254.8 MB, free: 15.11 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.2487/0.2487, allocations: 44.91 MB / 355.8 MB, free: 12.32 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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20",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.003237/0.003237, allocations: 63.91 kB / 0.4886 GB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1576, allocations: 65.43 MB / 0.5525 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.004383/0.1619, allocations: 1.736 MB / 0.5542 GB, free: 8.312 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.164, allocations: 1.027 MB / 0.5552 GB, free: 7.281 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.1641, allocations: 7.875 kB / 0.5552 GB, free: 7.273 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004091/0.1645, allocations: 43.83 kB / 0.5553 GB, free: 7.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004533/0.165, allocations: 99.53 kB / 0.5554 GB, free: 7.133 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.1653, allocations: 75.67 kB / 0.5554 GB, free: 7.059 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002436/0.1655, allocations: 103.8 kB / 0.5555 GB, free: 6.957 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.1656, allocations: 12.27 kB / 0.5555 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.1658, allocations: 43.73 kB / 0.5556 GB, free: 6.902 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.1659, allocations: 39.78 kB / 0.5556 GB, free: 6.863 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.605e-05/0.166, allocations: 11.98 kB / 0.5556 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001634/0.1661, allocations: 43.98 kB / 0.5557 GB, free: 6.809 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.531e-05/0.1662, allocations: 19.92 kB / 0.5557 GB, free: 6.789 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.545e-05/0.1663, allocations: 31.75 kB / 0.5557 GB, free: 6.758 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003464/0.1666, allocations: 115.5 kB / 0.5558 GB, free: 6.645 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1666, allocations: 3.938 kB / 0.5558 GB, free: 6.641 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1666, allocations: 0 / 0.5558 GB, free: 6.641 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.1666, allocations: 0 / 0.5558 GB, free: 6.641 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008025/0.1674, allocations: 430.5 kB / 0.5563 GB, free: 6.172 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.1675, allocations: 8.031 kB / 0.5563 GB, free: 6.164 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.377e-05/0.1675, allocations: 12.19 kB / 0.5563 GB, free: 6.152 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.746e-05/0.1676, allocations: 34.73 kB / 0.5563 GB, free: 6.109 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.317e-05/0.1676, allocations: 12.83 kB / 0.5563 GB, free: 6.098 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004526/0.1681, allocations: 215.2 kB / 0.5565 GB, free: 5.852 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.1681, allocations: 8.125 kB / 0.5565 GB, free: 5.844 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.1681, allocations: 0 / 0.5565 GB, free: 5.844 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.1684, allocations: 53.67 kB / 0.5566 GB, free: 5.785 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.1684, allocations: 3.938 kB / 0.5566 GB, free: 5.781 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.1684, allocations: 8 kB / 0.5566 GB, free: 5.773 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.1684, allocations: 0 / 0.5566 GB, free: 5.773 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.1685, allocations: 15.98 kB / 0.5566 GB, free: 5.758 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006412/0.1692, allocations: 284.9 kB / 0.5569 GB, free: 5.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003153/0.1695, allocations: 54.67 kB / 0.5569 GB, free: 5.367 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.678e-05/0.1695, allocations: 28.8 kB / 0.557 GB, free: 5.336 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.1696, allocations: 0 / 0.557 GB, free: 5.336 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002193/0.1698, allocations: 75.36 kB / 0.557 GB, free: 5.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.824e-06/0.1698, allocations: 3.938 kB / 0.557 GB, free: 5.246 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000762/0.1706, allocations: 177.3 kB / 0.5572 GB, free: 5.066 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/0.1706, allocations: 51.41 kB / 0.5573 GB, free: 5.004 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002865/0.1709, allocations: 206.3 kB / 0.5575 GB, free: 4.793 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.1709, allocations: 25.7 kB / 0.5575 GB, free: 4.762 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.663e-05/0.171, allocations: 104.1 kB / 0.5576 GB, free: 4.656 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.786e-05/0.1711, allocations: 23.84 kB / 0.5576 GB, free: 4.633 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-05/0.1711, allocations: 21.72 kB / 0.5576 GB, free: 4.605 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000327/0.1715, allocations: 322.8 kB / 0.5579 GB, free: 4.281 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.981e-05/0.1715, allocations: 23.98 kB / 0.558 GB, free: 4.258 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.667e-05/0.1716, allocations: 33.7 kB / 0.558 GB, free: 4.219 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.1718, allocations: 65.64 kB / 0.558 GB, free: 4.148 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1718, allocations: 0 / 0.558 GB, free: 4.148 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002365/0.172, allocations: 105.5 kB / 0.5581 GB, free: 4.039 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.1721, allocations: 8 kB / 0.5582 GB, free: 4.031 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.1721, allocations: 0 / 0.5582 GB, free: 4.031 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.1721, allocations: 0 / 0.5582 GB, free: 4.031 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.1722, allocations: 15.98 kB / 0.5582 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.1722, allocations: 11.97 kB / 0.5582 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.012e-05/0.1722, allocations: 0 / 0.5582 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.1723, allocations: 4 kB / 0.5582 GB, free: 4 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 (10): * Single equations (assignments): 10 * 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.0001322/0.1724, allocations: 130 kB / 0.5583 GB, free: 3.867 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.249e-05/0.1724, allocations: 16.09 kB / 0.5583 GB, free: 3.852 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.289e-05/0.1725, allocations: 17.34 kB / 0.5583 GB, free: 3.828 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1725, allocations: 3.938 kB / 0.5583 GB, free: 3.824 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/0.1725, allocations: 7.922 kB / 0.5584 GB, free: 3.816 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1725, allocations: 0 / 0.5584 GB, free: 3.816 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005234/0.173, allocations: 395.3 kB / 0.5587 GB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.173, allocations: 0 / 0.5587 GB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.671e-05/0.1731, allocations: 8 kB / 0.5587 GB, free: 3.363 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.1731, allocations: 3.938 kB / 0.5587 GB, free: 3.359 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.1731, allocations: 11.98 kB / 0.5588 GB, free: 3.348 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.1731, allocations: 384 / 0.5588 GB, free: 3.348 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1731, allocations: 0 / 0.5588 GB, free: 3.348 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.1734, allocations: 204.3 kB / 0.5589 GB, free: 3.129 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.901e-05/0.1734, allocations: 96.95 kB / 0.559 GB, free: 3.016 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.1735, allocations: 8 kB / 0.559 GB, free: 3.008 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.999e-05/0.1735, allocations: 3.984 kB / 0.5591 GB, free: 3.004 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/0.1736, allocations: 7.938 kB / 0.5591 GB, free: 2.996 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.1736, allocations: 4 kB / 0.5591 GB, free: 2.992 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001456/0.1737, allocations: 148.2 kB / 0.5592 GB, free: 2.848 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1737, allocations: 4 kB / 0.5592 GB, free: 2.844 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002722/0.174, allocations: 20 kB / 0.5592 GB, free: 2.824 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: 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 (8): * Single equations (assignments): 6 * 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.002319/0.1763, allocations: 1.091 MB / 0.5603 GB, free: 1.891 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002214/0.1765, allocations: 63.89 kB / 0.5604 GB, free: 1.828 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.1765, allocations: 4 kB / 0.5604 GB, free: 1.824 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.474e-05/0.1766, allocations: 19.94 kB / 0.5604 GB, free: 1.805 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.177, allocations: 41.34 kB / 0.5604 GB, free: 1.766 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/0.1792, allocations: 1.661 MB / 0.562 GB, free: 12 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.1795, allocations: 0.7002 MB / 0.5627 GB, free: 15.29 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.938e-05/0.1796, allocations: 21.17 kB / 0.5627 GB, free: 15.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.524e-05/0.1797, allocations: 35.42 kB / 0.5628 GB, free: 15.23 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1797, allocations: 0 / 0.5628 GB, free: 15.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02019/0.1999, allocations: 3.517 MB / 0.5662 GB, free: 11.79 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.263/8.463, allocations: 6.875 kB / 0.5662 GB, free: 11.79 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.656436058983672] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.644362581020687 8.665795459 8.494683217 Calling exit ...