Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.001608/0.001608, allocations: 121 kB / 18.49 MB, free: 4.586 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.00193/0.00193, allocations: 213.5 kB / 21.45 MB, free: 1.641 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.643/1.643, allocations: 230.6 MB / 254.8 MB, free: 15.25 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.23/0.23, allocations: 44.9 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.Test69,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69",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.002109/0.002109, allocations: 67.91 kB / 0.4886 GB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.149, allocations: 65.42 MB / 0.5525 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003684/0.1527, allocations: 1.834 MB / 0.5543 GB, free: 8.223 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002275/0.155, allocations: 1.105 MB / 0.5554 GB, free: 7.113 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.1551, allocations: 3.938 kB / 0.5554 GB, free: 7.109 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005676/0.1557, allocations: 307.3 kB / 0.5557 GB, free: 6.809 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006021/0.1563, allocations: 251.2 kB / 0.5559 GB, free: 6.562 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003499/0.1566, allocations: 99.69 kB / 0.556 GB, free: 6.465 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004396/0.1571, allocations: 267.2 kB / 0.5563 GB, free: 6.203 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.269e-05/0.1572, allocations: 9.688 kB / 0.5563 GB, free: 6.191 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002586/0.1574, allocations: 139.5 kB / 0.5564 GB, free: 6.055 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003028/0.1577, allocations: 207.9 kB / 0.5566 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.062e-05/0.1577, allocations: 8 kB / 0.5566 GB, free: 5.844 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001488/0.1579, allocations: 47.91 kB / 0.5567 GB, free: 5.797 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001713/0.1581, allocations: 140.5 kB / 0.5568 GB, free: 5.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000172/0.1582, allocations: 146.8 kB / 0.5569 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005943/0.1588, allocations: 370.5 kB / 0.5573 GB, free: 5.152 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1588, allocations: 0 / 0.5573 GB, free: 5.152 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1588, allocations: 4 kB / 0.5573 GB, free: 5.148 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.1589, allocations: 0 / 0.5573 GB, free: 5.148 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001299/0.1602, allocations: 0.7617 MB / 0.558 GB, free: 4.336 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.774e-05/0.1602, allocations: 12.03 kB / 0.558 GB, free: 4.324 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.005e-05/0.1602, allocations: 4.188 kB / 0.558 GB, free: 4.32 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.255e-05/0.1603, allocations: 30.75 kB / 0.5581 GB, free: 4.281 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.1604, allocations: 52.61 kB / 0.5581 GB, free: 4.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007861/0.1612, allocations: 452.3 kB / 0.5586 GB, free: 3.746 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.1612, allocations: 8.125 kB / 0.5586 GB, free: 3.738 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.1612, allocations: 4 kB / 0.5586 GB, free: 3.734 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.1615, allocations: 87.36 kB / 0.5586 GB, free: 3.637 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.1615, allocations: 4 kB / 0.5587 GB, free: 3.633 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.1615, allocations: 4 kB / 0.5587 GB, free: 3.629 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1615, allocations: 0 / 0.5587 GB, free: 3.629 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.1616, allocations: 35.91 kB / 0.5587 GB, free: 3.594 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00055/0.1622, allocations: 370.3 kB / 0.559 GB, free: 3.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003212/0.1625, allocations: 105.2 kB / 0.5591 GB, free: 3.059 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.1626, allocations: 41.64 kB / 0.5592 GB, free: 3.012 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.1626, allocations: 0 / 0.5592 GB, free: 3.012 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002779/0.1629, allocations: 109.1 kB / 0.5593 GB, free: 2.887 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.1629, allocations: 0 / 0.5593 GB, free: 2.887 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005833/0.1635, allocations: 201.2 kB / 0.5595 GB, free: 2.684 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.496e-05/0.1636, allocations: 81.11 kB / 0.5596 GB, free: 2.586 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/0.1649, allocations: 1.022 MB / 0.5606 GB, free: 1.551 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.1649, allocations: 33.64 kB / 0.5606 GB, free: 1.512 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/0.1652, allocations: 232.1 kB / 0.5608 GB, free: 1.281 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.521e-05/0.1652, allocations: 35.78 kB / 0.5608 GB, free: 1.246 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.478e-05/0.1653, allocations: 29.7 kB / 0.5609 GB, free: 1.211 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002234/0.1655, allocations: 374.7 kB / 0.5612 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.01e-05/0.1656, allocations: 23.98 kB / 0.5613 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.1657, allocations: 55.41 kB / 0.5613 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.1659, allocations: 99.23 kB / 0.5614 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.1659, allocations: 0 / 0.5614 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000374/0.1663, allocations: 169.8 kB / 0.5616 GB, free: 476 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.1663, allocations: 8 kB / 0.5616 GB, free: 468 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.1663, allocations: 4 kB / 0.5616 GB, free: 464 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.1663, allocations: 0 / 0.5616 GB, free: 464 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.1665, allocations: 35.98 kB / 0.5616 GB, free: 428 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.1665, allocations: 0 / 0.5616 GB, free: 428 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.1666, allocations: 7.953 kB / 0.5616 GB, free: 420 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.1666, allocations: 4 kB / 0.5616 GB, free: 416 kB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002786/0.1669, allocations: 227.9 kB / 0.5618 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.874e-05/0.167, allocations: 55.66 kB / 0.5619 GB, free: 124 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.1671, allocations: 56.09 kB / 0.5619 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1671, allocations: 0 / 0.5619 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.1671, allocations: 4 kB / 0.5619 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.1671, allocations: 4 kB / 0.5619 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004521/0.1676, allocations: 345.3 kB / 0.5623 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.1676, allocations: 0 / 0.5623 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.519e-05/0.1676, allocations: 11.92 kB / 0.5623 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.1676, allocations: 4 kB / 0.5623 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.1676, allocations: 4 kB / 0.5623 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.1676, allocations: 0 / 0.5623 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.1676, allocations: 4 kB / 0.5623 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003915/0.168, allocations: 205.5 kB / 0.5625 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001528/0.1682, allocations: 140.8 kB / 0.5626 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.066e-05/0.1682, allocations: 3.984 kB / 0.5626 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.51e-05/0.1683, allocations: 8 kB / 0.5626 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.1684, allocations: 7.984 kB / 0.5627 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.1684, allocations: 4 kB / 0.5627 GB, free: 15.24 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008595/0.1692, allocations: 0.7604 MB / 0.5634 GB, free: 14.48 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1692, allocations: 0 / 0.5634 GB, free: 14.48 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003007/0.1695, allocations: 47.98 kB / 0.5634 GB, free: 14.44 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002231/0.1718, allocations: 1.058 MB / 0.5645 GB, free: 13.51 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002881/0.1721, allocations: 83.83 kB / 0.5646 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1721, allocations: 0 / 0.5646 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.1722, allocations: 31.98 kB / 0.5646 GB, free: 13.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004662/0.1726, allocations: 73.88 kB / 0.5647 GB, free: 13.33 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006523/0.1792, allocations: 4.485 MB / 0.569 GB, free: 8.742 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005706/0.1797, allocations: 0.8427 MB / 0.5699 GB, free: 7.871 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001539/0.1799, allocations: 54.95 kB / 0.5699 GB, free: 7.816 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/0.1801, allocations: 143.4 kB / 0.57 GB, free: 7.68 MB / 430.1 MB Notification: Performance of SimCode: time 1.252e-06/0.1801, allocations: 0 / 0.57 GB, free: 7.68 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02915/0.2093, allocations: 9.023 MB / 0.5789 GB, free: 14.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.86/9.069, allocations: 11.09 kB / 0.5789 GB, free: 14.72 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.406847689009737] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 9.256711032008752 9.281716073 9.119274599 Calling exit ...