Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.001353/0.001353, allocations: 120.1 kB / 18.49 MB, free: 4.562 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.001492/0.001492, allocations: 215 kB / 21.45 MB, free: 1.617 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.507/1.507, 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.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.2543/0.2543, allocations: 44.9 MB / 355.8 MB, free: 12.31 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.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",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: 71.89 kB / 0.4886 GB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1564, allocations: 65.43 MB / 0.5525 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003828/0.1602, allocations: 1.735 MB / 0.5542 GB, free: 8.293 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.1621, allocations: 1.034 MB / 0.5552 GB, free: 7.254 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.5e-05/0.1622, allocations: 3.938 kB / 0.5552 GB, free: 7.25 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004808/0.1627, allocations: 55.75 kB / 0.5553 GB, free: 7.195 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004494/0.1631, allocations: 107.6 kB / 0.5554 GB, free: 7.09 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003407/0.1635, allocations: 71.69 kB / 0.5555 GB, free: 7.02 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000231/0.1637, allocations: 107.7 kB / 0.5556 GB, free: 6.914 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.1638, allocations: 12.27 kB / 0.5556 GB, free: 6.902 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.1639, allocations: 43.8 kB / 0.5556 GB, free: 6.859 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.164, allocations: 35.78 kB / 0.5556 GB, free: 6.824 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.887e-05/0.1641, allocations: 7.984 kB / 0.5557 GB, free: 6.816 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.1642, allocations: 47.98 kB / 0.5557 GB, free: 6.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.644e-05/0.1643, allocations: 27.86 kB / 0.5557 GB, free: 6.742 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.457e-05/0.1644, allocations: 39.69 kB / 0.5558 GB, free: 6.703 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003356/0.1647, allocations: 143.3 kB / 0.5559 GB, free: 6.562 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1647, allocations: 3.938 kB / 0.5559 GB, free: 6.559 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1647, allocations: 0 / 0.5559 GB, free: 6.559 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1647, allocations: 0 / 0.5559 GB, free: 6.559 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.0007187/0.1654, allocations: 450.4 kB / 0.5563 GB, free: 6.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/0.1655, allocations: 12.03 kB / 0.5563 GB, free: 6.059 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.556e-05/0.1655, allocations: 4.188 kB / 0.5563 GB, free: 6.055 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.26e-05/0.1656, allocations: 34.75 kB / 0.5564 GB, free: 6.012 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.935e-05/0.1656, allocations: 16.84 kB / 0.5564 GB, free: 5.996 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003735/0.166, allocations: 221 kB / 0.5566 GB, free: 5.738 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.166, allocations: 4.125 kB / 0.5566 GB, free: 5.734 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.166, allocations: 8 kB / 0.5566 GB, free: 5.727 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.1662, allocations: 53.61 kB / 0.5567 GB, free: 5.668 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.1662, allocations: 0 / 0.5567 GB, free: 5.668 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.1662, allocations: 4 kB / 0.5567 GB, free: 5.664 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1662, allocations: 4 kB / 0.5567 GB, free: 5.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.148e-05/0.1663, allocations: 19.98 kB / 0.5567 GB, free: 5.641 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004374/0.1668, allocations: 300.8 kB / 0.557 GB, free: 5.297 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.1669, allocations: 54.61 kB / 0.557 GB, free: 5.234 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.777e-05/0.167, allocations: 16.86 kB / 0.5571 GB, free: 5.215 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.167, allocations: 7.984 kB / 0.5571 GB, free: 5.207 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001771/0.1672, allocations: 71.39 kB / 0.5571 GB, free: 5.125 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 3.727e-06/0.1672, allocations: 3.984 kB / 0.5571 GB, free: 5.121 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005916/0.1678, allocations: 181.2 kB / 0.5573 GB, free: 4.938 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.1678, allocations: 55.39 kB / 0.5574 GB, free: 4.871 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002893/0.1681, allocations: 283.7 kB / 0.5576 GB, free: 4.582 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/0.1682, allocations: 29.7 kB / 0.5577 GB, free: 4.547 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.522e-05/0.1683, allocations: 112.1 kB / 0.5578 GB, free: 4.434 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.28e-05/0.1683, allocations: 23.84 kB / 0.5578 GB, free: 4.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-05/0.1683, allocations: 25.7 kB / 0.5578 GB, free: 4.379 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002308/0.1686, allocations: 326.8 kB / 0.5581 GB, free: 4.051 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.598e-05/0.1686, allocations: 27.92 kB / 0.5582 GB, free: 4.023 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.625e-05/0.1687, allocations: 37.64 kB / 0.5582 GB, free: 3.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.1688, allocations: 57.72 kB / 0.5582 GB, free: 3.918 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1688, allocations: 0 / 0.5582 GB, free: 3.918 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002771/0.1691, allocations: 113.5 kB / 0.5583 GB, free: 3.801 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1691, allocations: 6.188 kB / 0.5584 GB, free: 3.797 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1691, allocations: 0 / 0.5584 GB, free: 3.797 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.1691, allocations: 0 / 0.5584 GB, free: 3.797 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.662e-05/0.1692, allocations: 19.98 kB / 0.5584 GB, free: 3.777 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.1692, allocations: 3.938 kB / 0.5584 GB, free: 3.773 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.549e-05/0.1693, allocations: 4.031 kB / 0.5584 GB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.1693, allocations: 4 kB / 0.5584 GB, free: 3.766 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.0001262/0.1694, allocations: 141.8 kB / 0.5585 GB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.1695, allocations: 15.91 kB / 0.5585 GB, free: 3.605 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.533e-05/0.1695, allocations: 25.39 kB / 0.5586 GB, free: 3.578 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1695, allocations: 0 / 0.5586 GB, free: 3.578 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.1695, allocations: 3.938 kB / 0.5586 GB, free: 3.574 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1695, allocations: 0 / 0.5586 GB, free: 3.574 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005062/0.17, allocations: 415.2 kB / 0.559 GB, free: 3.109 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.17, allocations: 0 / 0.559 GB, free: 3.109 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.33e-05/0.1701, allocations: 8 kB / 0.559 GB, free: 3.102 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.1701, allocations: 3.938 kB / 0.559 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.1701, allocations: 3.984 kB / 0.559 GB, free: 3.094 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1701, allocations: 4 kB / 0.559 GB, free: 3.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1701, allocations: 0 / 0.559 GB, free: 3.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.1704, allocations: 212.5 kB / 0.5592 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.566e-05/0.1704, allocations: 92.95 kB / 0.5593 GB, free: 2.754 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.1705, allocations: 4.375 kB / 0.5593 GB, free: 2.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.247e-05/0.1705, allocations: 3.984 kB / 0.5593 GB, free: 2.746 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.1706, allocations: 8 kB / 0.5593 GB, free: 2.738 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.1706, allocations: 8.188 kB / 0.5593 GB, free: 2.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002089/0.1708, allocations: 200.6 kB / 0.5595 GB, free: 2.535 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1708, allocations: 3.938 kB / 0.5595 GB, free: 2.531 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002822/0.1711, allocations: 31.94 kB / 0.5595 GB, free: 2.5 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.002237/0.1733, allocations: 1.098 MB / 0.5606 GB, free: 1.559 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001939/0.1735, allocations: 51.98 kB / 0.5606 GB, free: 1.508 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1735, allocations: 0 / 0.5606 GB, free: 1.508 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.191e-05/0.1736, allocations: 27.92 kB / 0.5607 GB, free: 1.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.1739, allocations: 25.3 kB / 0.5607 GB, free: 1.457 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/0.1763, allocations: 1.846 MB / 0.5625 GB, free: 15.52 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.1767, allocations: 0.7196 MB / 0.5632 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.663e-05/0.1768, allocations: 21.17 kB / 0.5632 GB, free: 14.76 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.056e-05/0.1768, allocations: 43.42 kB / 0.5633 GB, free: 14.71 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1768, allocations: 0 / 0.5633 GB, free: 14.71 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01949/0.1963, allocations: 3.853 MB / 0.567 GB, free: 10.93 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.511/8.707, allocations: 12.94 kB / 0.567 GB, free: 10.92 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.855877910973504] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.888849028968252 8.912683043 8.743640532 Calling exit ...