Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.001357/0.001357, 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.001484/0.001484, 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.592/1.592, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2317/0.2317, allocations: 46.92 MB / 357.8 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test34,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 67.91 kB / 0.4917 GB, free: 7.871 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1565, allocations: 65.99 MB / 0.5561 GB, free: 5.746 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003742/0.1602, allocations: 1.736 MB / 0.5578 GB, free: 3.996 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.1622, allocations: 1.03 MB / 0.5588 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.17e-05/0.1623, allocations: 7.938 kB / 0.5589 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003256/0.1626, allocations: 35.83 kB / 0.5589 GB, free: 2.918 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000349/0.163, allocations: 95.55 kB / 0.559 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002719/0.1632, allocations: 79.66 kB / 0.5591 GB, free: 2.746 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.1634, allocations: 111.7 kB / 0.5592 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.1635, allocations: 11.98 kB / 0.5592 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.1637, allocations: 43.78 kB / 0.5592 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.259e-05/0.1637, allocations: 35.8 kB / 0.5593 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.1638, allocations: 4 kB / 0.5593 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.1639, allocations: 47.97 kB / 0.5593 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.151e-05/0.1639, allocations: 19.86 kB / 0.5593 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.563e-05/0.164, allocations: 31.8 kB / 0.5593 GB, free: 2.445 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.1643, allocations: 123.4 kB / 0.5595 GB, free: 2.324 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1643, allocations: 0 / 0.5595 GB, free: 2.324 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1643, allocations: 0 / 0.5595 GB, free: 2.324 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.1643, allocations: 4 kB / 0.5595 GB, free: 2.32 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.0007097/0.165, allocations: 426.6 kB / 0.5599 GB, free: 1.855 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.1651, allocations: 8.031 kB / 0.5599 GB, free: 1.848 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.379e-05/0.1651, allocations: 192 / 0.5599 GB, free: 1.848 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.428e-05/0.1651, allocations: 34.75 kB / 0.5599 GB, free: 1.805 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.412e-05/0.1652, allocations: 8.891 kB / 0.5599 GB, free: 1.797 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004299/0.1656, allocations: 219.2 kB / 0.5601 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.1656, allocations: 8.125 kB / 0.5601 GB, free: 1.539 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.1656, allocations: 4 kB / 0.5601 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.1658, allocations: 53.67 kB / 0.5602 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.1658, allocations: 3.938 kB / 0.5602 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.1658, allocations: 7.922 kB / 0.5602 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.1659, allocations: 4 kB / 0.5602 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.932e-05/0.1659, allocations: 15.98 kB / 0.5602 GB, free: 1.445 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.1664, allocations: 292.8 kB / 0.5605 GB, free: 1.109 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.1666, allocations: 58.62 kB / 0.5606 GB, free: 1.043 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.632e-05/0.1666, allocations: 20.84 kB / 0.5606 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.1666, allocations: 0 / 0.5606 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.1668, allocations: 67.39 kB / 0.5606 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.1668, allocations: 0 / 0.5606 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.00061/0.1674, allocations: 181.6 kB / 0.5608 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.1675, allocations: 51.41 kB / 0.5609 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.1677, allocations: 206.2 kB / 0.5611 GB, free: 496 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.1677, allocations: 25.7 kB / 0.5611 GB, free: 464 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.453e-05/0.1678, allocations: 104.1 kB / 0.5612 GB, free: 356 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.1678, allocations: 19.8 kB / 0.5612 GB, free: 336 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.553e-05/0.1679, allocations: 29.7 kB / 0.5612 GB, free: 300 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.168, allocations: 326.8 kB / 0.5616 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.325e-05/0.1681, allocations: 20.06 kB / 0.5616 GB, free: 15.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.325e-05/0.1682, allocations: 41.64 kB / 0.5616 GB, free: 15.9 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.1683, allocations: 53.7 kB / 0.5617 GB, free: 15.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1683, allocations: 4 kB / 0.5617 GB, free: 15.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002089/0.1685, allocations: 109.5 kB / 0.5618 GB, free: 15.72 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1685, allocations: 8.031 kB / 0.5618 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.1685, allocations: 4 kB / 0.5618 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.1685, allocations: 0 / 0.5618 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.05e-05/0.1686, allocations: 12 kB / 0.5618 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.1686, allocations: 3.938 kB / 0.5618 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.765e-05/0.1687, allocations: 7.984 kB / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.1687, allocations: 8 kB / 0.5618 GB, free: 15.68 MB / 430.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.0001085/0.1688, allocations: 121.4 kB / 0.5619 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.364e-05/0.1689, allocations: 15.84 kB / 0.5619 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.146e-05/0.1689, allocations: 25.39 kB / 0.562 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.1689, allocations: 0 / 0.562 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.1689, allocations: 3.938 kB / 0.562 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1689, allocations: 0 / 0.562 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004719/0.1694, allocations: 391.3 kB / 0.5623 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.1694, allocations: 3.984 kB / 0.5623 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.314e-05/0.1694, allocations: 8 kB / 0.5624 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.1694, allocations: 3.938 kB / 0.5624 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.1695, allocations: 12.03 kB / 0.5624 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1695, allocations: 0 / 0.5624 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1695, allocations: 240 / 0.5624 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.1697, allocations: 200.3 kB / 0.5626 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.002e-05/0.1698, allocations: 100.9 kB / 0.5627 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.1698, allocations: 0 / 0.5627 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.29e-05/0.1699, allocations: 11.94 kB / 0.5627 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.1699, allocations: 7.984 kB / 0.5627 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.1699, allocations: 4.188 kB / 0.5627 GB, free: 14.68 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001455/0.1701, allocations: 148.2 kB / 0.5628 GB, free: 14.54 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1701, allocations: 3.938 kB / 0.5628 GB, free: 14.53 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.1704, allocations: 23.94 kB / 0.5628 GB, free: 14.51 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: 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.002346/0.1727, allocations: 1.093 MB / 0.5639 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002196/0.1729, allocations: 63.89 kB / 0.564 GB, free: 13.51 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1729, allocations: 0 / 0.564 GB, free: 13.51 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.757e-05/0.173, allocations: 27.92 kB / 0.564 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.1734, allocations: 31.97 kB / 0.564 GB, free: 13.45 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/0.1755, allocations: 1.658 MB / 0.5657 GB, free: 11.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.1759, allocations: 0.7119 MB / 0.5663 GB, free: 10.96 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.816e-05/0.176, allocations: 16.86 kB / 0.5664 GB, free: 10.94 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.883e-05/0.1761, allocations: 35.42 kB / 0.5664 GB, free: 10.91 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1761, allocations: 0 / 0.5664 GB, free: 10.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01988/0.196, allocations: 3.518 MB / 0.5698 GB, free: 7.469 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.418/8.614, allocations: 17.55 kB / 0.5699 GB, free: 7.457 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test34_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test34.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.882797605998348] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.802213306014892 8.825560525 8.656713229 Calling exit ...