Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.001325/0.001325, allocations: 112.2 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.001371/0.001371, allocations: 218.9 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.557/1.557, allocations: 230.6 MB / 254.8 MB, free: 15.22 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.2492/0.2492, allocations: 44.89 MB / 355.8 MB, free: 12.35 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.Test51,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51",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.002341/0.002341, allocations: 63.91 kB / 0.4886 GB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1583, allocations: 65.42 MB / 0.5525 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.00389/0.1622, allocations: 1.731 MB / 0.5542 GB, free: 8.301 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002208/0.1644, allocations: 1.031 MB / 0.5552 GB, free: 7.266 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001697/0.1646, allocations: 7.938 kB / 0.5552 GB, free: 7.258 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005078/0.1651, allocations: 55.69 kB / 0.5553 GB, free: 7.203 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005554/0.1656, allocations: 95.59 kB / 0.5554 GB, free: 7.109 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003704/0.166, allocations: 79.66 kB / 0.5555 GB, free: 7.031 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003299/0.1663, allocations: 103.8 kB / 0.5556 GB, free: 6.93 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.1665, allocations: 8.281 kB / 0.5556 GB, free: 6.922 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.1667, allocations: 51.72 kB / 0.5556 GB, free: 6.871 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.1668, allocations: 35.78 kB / 0.5556 GB, free: 6.836 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/0.1668, allocations: 4 kB / 0.5556 GB, free: 6.832 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001708/0.167, allocations: 47.98 kB / 0.5557 GB, free: 6.785 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.53e-05/0.1671, allocations: 23.91 kB / 0.5557 GB, free: 6.762 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.653e-05/0.1672, allocations: 39.67 kB / 0.5558 GB, free: 6.723 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003321/0.1675, allocations: 131.4 kB / 0.5559 GB, free: 6.594 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1675, allocations: 0 / 0.5559 GB, free: 6.594 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1675, allocations: 3.938 kB / 0.5559 GB, free: 6.59 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.1675, allocations: 0 / 0.5559 GB, free: 6.59 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.0007711/0.1683, allocations: 438.6 kB / 0.5563 GB, free: 6.113 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.1683, allocations: 12.03 kB / 0.5563 GB, free: 6.102 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.322e-05/0.1683, allocations: 192 / 0.5563 GB, free: 6.102 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.869e-05/0.1684, allocations: 34.75 kB / 0.5563 GB, free: 6.059 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.412e-05/0.1684, allocations: 12.89 kB / 0.5564 GB, free: 6.047 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003769/0.1688, allocations: 213 kB / 0.5566 GB, free: 5.797 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.1688, allocations: 8.125 kB / 0.5566 GB, free: 5.789 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.1689, allocations: 11.94 kB / 0.5566 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.169, allocations: 57.61 kB / 0.5566 GB, free: 5.715 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.169, allocations: 0 / 0.5566 GB, free: 5.715 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.1691, allocations: 4 kB / 0.5566 GB, free: 5.711 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.1691, allocations: 4 kB / 0.5566 GB, free: 5.707 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.846e-05/0.1692, allocations: 15.98 kB / 0.5567 GB, free: 5.691 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004704/0.1696, allocations: 296.8 kB / 0.5569 GB, free: 5.352 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.1698, allocations: 62.62 kB / 0.557 GB, free: 5.281 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.939e-05/0.1699, allocations: 20.84 kB / 0.557 GB, free: 5.258 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.1699, allocations: 0 / 0.557 GB, free: 5.258 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001816/0.1701, allocations: 63.39 kB / 0.5571 GB, free: 5.184 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.1701, allocations: 0 / 0.5571 GB, free: 5.184 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006329/0.1707, allocations: 177.3 kB / 0.5572 GB, free: 5.004 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.1708, allocations: 59.39 kB / 0.5573 GB, free: 4.934 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000265/0.1711, allocations: 242 kB / 0.5575 GB, free: 4.688 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.1711, allocations: 29.64 kB / 0.5576 GB, free: 4.652 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.835e-05/0.1712, allocations: 112.1 kB / 0.5577 GB, free: 4.539 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.1712, allocations: 27.78 kB / 0.5577 GB, free: 4.512 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.379e-05/0.1713, allocations: 21.72 kB / 0.5577 GB, free: 4.484 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.1714, allocations: 326.8 kB / 0.558 GB, free: 4.156 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.365e-05/0.1715, allocations: 23.98 kB / 0.5581 GB, free: 4.133 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.56e-05/0.1716, allocations: 37.64 kB / 0.5581 GB, free: 4.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.1717, allocations: 65.77 kB / 0.5582 GB, free: 4.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1717, allocations: 0 / 0.5582 GB, free: 4.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000209/0.1719, allocations: 101.5 kB / 0.5582 GB, free: 3.914 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.1719, allocations: 4 kB / 0.5583 GB, free: 3.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.912e-06/0.1719, allocations: 4.016 kB / 0.5583 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1719, allocations: 4 kB / 0.5583 GB, free: 3.902 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.927e-05/0.172, allocations: 19.98 kB / 0.5583 GB, free: 3.883 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.172, allocations: 3.938 kB / 0.5583 GB, free: 3.879 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.849e-05/0.1721, allocations: 4 kB / 0.5583 GB, free: 3.875 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.1721, allocations: 4 kB / 0.5583 GB, free: 3.871 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.0001392/0.1722, allocations: 136 kB / 0.5584 GB, free: 3.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-05/0.1723, allocations: 16.28 kB / 0.5584 GB, free: 3.715 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.209e-05/0.1723, allocations: 17.39 kB / 0.5585 GB, free: 3.691 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1723, allocations: 8 kB / 0.5585 GB, free: 3.684 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.1723, allocations: 7.875 kB / 0.5585 GB, free: 3.676 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.1723, allocations: 4 kB / 0.5585 GB, free: 3.672 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005143/0.1728, allocations: 395.3 kB / 0.5588 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.1729, allocations: 4 kB / 0.5589 GB, free: 3.223 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.747e-05/0.1729, allocations: 8 kB / 0.5589 GB, free: 3.215 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.1729, allocations: 7.938 kB / 0.5589 GB, free: 3.207 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.1729, allocations: 0 / 0.5589 GB, free: 3.207 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1729, allocations: 4.031 kB / 0.5589 GB, free: 3.203 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.1729, allocations: 4 kB / 0.5589 GB, free: 3.199 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.1732, allocations: 204.2 kB / 0.5591 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.221e-05/0.1733, allocations: 100.9 kB / 0.5592 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.1733, allocations: 0 / 0.5592 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.37e-05/0.1734, allocations: 4 kB / 0.5592 GB, free: 2.859 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.1734, allocations: 11.98 kB / 0.5592 GB, free: 2.848 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.1734, allocations: 4 kB / 0.5592 GB, free: 2.844 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001756/0.1736, allocations: 176.6 kB / 0.5594 GB, free: 2.672 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1736, allocations: 0 / 0.5594 GB, free: 2.672 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002692/0.1739, allocations: 27.88 kB / 0.5594 GB, free: 2.645 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.002459/0.1763, allocations: 1.097 MB / 0.5605 GB, free: 1.707 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002359/0.1766, allocations: 55.95 kB / 0.5605 GB, free: 1.652 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.1766, allocations: 4.062 kB / 0.5605 GB, free: 1.648 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.042e-05/0.1766, allocations: 27.92 kB / 0.5605 GB, free: 1.621 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.177, allocations: 27.73 kB / 0.5606 GB, free: 1.594 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002514/0.1796, allocations: 1.758 MB / 0.5623 GB, free: 15.74 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004216/0.18, allocations: 0.7158 MB / 0.563 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.968e-05/0.1801, allocations: 16.88 kB / 0.563 GB, free: 14.98 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.977e-05/0.1801, allocations: 39.42 kB / 0.563 GB, free: 14.94 MB / 430.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1801, allocations: 0 / 0.563 GB, free: 14.94 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02256/0.2027, allocations: 3.694 MB / 0.5666 GB, free: 11.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.337/8.54, allocations: 8.062 kB / 0.5666 GB, free: 11.33 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.730509116023313] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.732576414011419 8.760478884 8.587727408 Calling exit ...