Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.001318/0.001318, allocations: 114.5 kB / 18.49 MB, free: 4.535 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.001413/0.001413, allocations: 219.1 kB / 21.46 MB, free: 1.582 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.11 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.232/0.232, allocations: 46.92 MB / 357.8 MB, free: 10.31 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.Test49,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002356/0.002356, allocations: 67.91 kB / 0.4917 GB, free: 7.887 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1585, allocations: 65.99 MB / 0.5561 GB, free: 5.766 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.005237/0.1637, allocations: 1.731 MB / 0.5578 GB, free: 4.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002306/0.1661, allocations: 1.032 MB / 0.5588 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.1662, allocations: 7.938 kB / 0.5589 GB, free: 2.977 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003832/0.1665, allocations: 55.75 kB / 0.5589 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003658/0.1669, allocations: 103.6 kB / 0.559 GB, free: 2.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.1671, allocations: 75.67 kB / 0.5591 GB, free: 2.746 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.1673, allocations: 103.7 kB / 0.5592 GB, free: 2.645 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.1675, allocations: 11.98 kB / 0.5592 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.1676, allocations: 47.73 kB / 0.5592 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.1677, allocations: 35.83 kB / 0.5593 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.1677, allocations: 4 kB / 0.5593 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.1678, allocations: 47.98 kB / 0.5593 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.38e-05/0.1678, allocations: 27.86 kB / 0.5593 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.166e-05/0.1679, allocations: 43.67 kB / 0.5594 GB, free: 2.43 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002533/0.1682, allocations: 139.4 kB / 0.5595 GB, free: 2.293 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1682, allocations: 0 / 0.5595 GB, free: 2.293 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1682, allocations: 0 / 0.5595 GB, free: 2.293 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.1682, allocations: 3.938 kB / 0.5595 GB, free: 2.289 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.0006617/0.1688, allocations: 454.3 kB / 0.56 GB, free: 1.797 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.1689, allocations: 12.03 kB / 0.56 GB, free: 1.785 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.342e-05/0.1689, allocations: 4.188 kB / 0.56 GB, free: 1.781 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.444e-05/0.1689, allocations: 30.75 kB / 0.56 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.228e-05/0.169, allocations: 20.84 kB / 0.56 GB, free: 1.723 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003607/0.1693, allocations: 217.1 kB / 0.5602 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.1694, allocations: 4.125 kB / 0.5602 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/0.1694, allocations: 4 kB / 0.5602 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.1696, allocations: 57.61 kB / 0.5603 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.1696, allocations: 0 / 0.5603 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.1696, allocations: 7.984 kB / 0.5603 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.1696, allocations: 0 / 0.5603 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.59e-05/0.1697, allocations: 23.98 kB / 0.5603 GB, free: 1.367 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000494/0.1702, allocations: 304.8 kB / 0.5606 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.1704, allocations: 54.61 kB / 0.5607 GB, free: 0.957 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.478e-05/0.1705, allocations: 28.83 kB / 0.5607 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.1705, allocations: 0 / 0.5607 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001964/0.1707, allocations: 67.39 kB / 0.5608 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1707, allocations: 0 / 0.5608 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007606/0.1715, allocations: 181.3 kB / 0.5609 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/0.1716, allocations: 55.39 kB / 0.561 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003184/0.1719, allocations: 274.7 kB / 0.5612 GB, free: 324 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.1719, allocations: 33.7 kB / 0.5613 GB, free: 284 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.172, allocations: 116.1 kB / 0.5614 GB, free: 164 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.172, allocations: 31.72 kB / 0.5614 GB, free: 132 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.1721, allocations: 21.72 kB / 0.5614 GB, free: 104 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.1723, allocations: 326.8 kB / 0.5617 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.357e-05/0.1724, allocations: 27.92 kB / 0.5618 GB, free: 15.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.095e-05/0.1724, allocations: 33.7 kB / 0.5618 GB, free: 15.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.1725, allocations: 61.7 kB / 0.5619 GB, free: 15.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1725, allocations: 0 / 0.5619 GB, free: 15.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002159/0.1728, allocations: 109.5 kB / 0.562 GB, free: 15.53 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1728, allocations: 4 kB / 0.562 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.1728, allocations: 0 / 0.562 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.1728, allocations: 0 / 0.562 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.992e-05/0.1729, allocations: 20.17 kB / 0.562 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.1729, allocations: 3.938 kB / 0.562 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.732e-05/0.173, allocations: 11.97 kB / 0.562 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.173, allocations: 0 / 0.562 GB, free: 15.49 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.000135/0.1731, allocations: 140 kB / 0.5621 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.1731, allocations: 15.91 kB / 0.5622 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.468e-05/0.1732, allocations: 25.39 kB / 0.5622 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1732, allocations: 0 / 0.5622 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1732, allocations: 3.938 kB / 0.5622 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1732, allocations: 0 / 0.5622 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005358/0.1737, allocations: 411.3 kB / 0.5626 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1737, allocations: 0 / 0.5626 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.301e-05/0.1738, allocations: 8.375 kB / 0.5626 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.665e-05/0.1738, allocations: 7.922 kB / 0.5626 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.1738, allocations: 0 / 0.5626 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.411e-06/0.1738, allocations: 8 kB / 0.5626 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1738, allocations: 0 / 0.5626 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.1741, allocations: 212.2 kB / 0.5628 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.54e-05/0.1741, allocations: 92.95 kB / 0.5629 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.1742, allocations: 4 kB / 0.5629 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.063e-05/0.1742, allocations: 3.984 kB / 0.5629 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.1743, allocations: 8 kB / 0.5629 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.1743, allocations: 7.938 kB / 0.5629 GB, free: 14.45 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002069/0.1745, allocations: 200.6 kB / 0.5631 GB, free: 14.26 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1745, allocations: 8 kB / 0.5631 GB, free: 14.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.1748, allocations: 23.94 kB / 0.5631 GB, free: 14.23 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.00225/0.177, allocations: 1.099 MB / 0.5642 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002058/0.1772, allocations: 51.98 kB / 0.5643 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1772, allocations: 0 / 0.5643 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.381e-05/0.1773, allocations: 27.92 kB / 0.5643 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.1777, allocations: 27.97 kB / 0.5643 GB, free: 13.18 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/0.18, allocations: 1.854 MB / 0.5661 GB, free: 11.24 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/0.1804, allocations: 0.7196 MB / 0.5668 GB, free: 10.49 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.06e-05/0.1805, allocations: 21.17 kB / 0.5668 GB, free: 10.47 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.597e-05/0.1806, allocations: 43.42 kB / 0.5669 GB, free: 10.43 MB / 430.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1806, allocations: 0 / 0.5669 GB, free: 10.43 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01994/0.2005, allocations: 3.863 MB / 0.5707 GB, free: 6.645 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.496/8.696, allocations: 9 kB / 0.5707 GB, free: 6.637 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.894710330991074] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.889176421973389 8.904637206 8.733449913 Calling exit ...