Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001295/0.001295, allocations: 116.5 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001456/0.001456, allocations: 216.9 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.588/1.588, allocations: 230.2 MB / 254.5 MB, free: 15.42 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.3137/0.3137, allocations: 46.89 MB / 357.4 MB, free: 10.61 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003146/0.003146, allocations: 83.86 kB / 0.4913 GB, free: 8.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1592, allocations: 65.98 MB / 0.5558 GB, free: 6.371 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003995/0.1632, allocations: 1.928 MB / 0.5576 GB, free: 4.426 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002203/0.1654, allocations: 1.135 MB / 0.5587 GB, free: 3.285 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.1656, allocations: 7.938 kB / 0.5588 GB, free: 3.277 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005755/0.1661, allocations: 223.4 kB / 0.559 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006014/0.1667, allocations: 219.2 kB / 0.5592 GB, free: 2.844 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000412/0.1671, allocations: 115.6 kB / 0.5593 GB, free: 2.73 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000399/0.1675, allocations: 255.3 kB / 0.5595 GB, free: 2.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.1677, allocations: 21.67 kB / 0.5596 GB, free: 2.457 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002097/0.1679, allocations: 127.5 kB / 0.5597 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000246/0.1681, allocations: 167.5 kB / 0.5598 GB, free: 2.168 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.012e-05/0.1682, allocations: 11.94 kB / 0.5598 GB, free: 2.156 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001504/0.1683, allocations: 59.98 kB / 0.5599 GB, free: 2.098 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.1684, allocations: 67.69 kB / 0.56 GB, free: 2.031 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.1686, allocations: 91.3 kB / 0.5601 GB, free: 1.941 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00042/0.169, allocations: 250.7 kB / 0.5603 GB, free: 1.695 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.169, allocations: 0 / 0.5603 GB, free: 1.695 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.169, allocations: 0 / 0.5603 GB, free: 1.695 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.169, allocations: 4 kB / 0.5603 GB, free: 1.691 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009751/0.17, allocations: 0.5678 MB / 0.5609 GB, free: 1.074 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.17, allocations: 12.03 kB / 0.5609 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.478e-05/0.1701, allocations: 38.73 kB / 0.5609 GB, free: 1.016 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.042e-05/0.1702, allocations: 32.75 kB / 0.5609 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004839/0.1707, allocations: 296.2 kB / 0.5612 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.1707, allocations: 4.375 kB / 0.5612 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.1707, allocations: 12.38 kB / 0.5612 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000267/0.171, allocations: 107.5 kB / 0.5613 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.171, allocations: 8 kB / 0.5613 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.171, allocations: 0 / 0.5613 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.171, allocations: 0 / 0.5613 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/0.1712, allocations: 55.89 kB / 0.5614 GB, free: 472 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006975/0.1719, allocations: 476.7 kB / 0.5618 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004014/0.1723, allocations: 117.1 kB / 0.562 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.1724, allocations: 45.83 kB / 0.562 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.1724, allocations: 4 kB / 0.562 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002573/0.1727, allocations: 120.2 kB / 0.5621 GB, free: 15.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.1727, allocations: 0 / 0.5621 GB, free: 15.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001362/0.174, allocations: 0.5054 MB / 0.5626 GB, free: 15.11 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.499e-05/0.1741, allocations: 77.11 kB / 0.5627 GB, free: 15.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005066/0.1746, allocations: 452.5 kB / 0.5631 GB, free: 14.56 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.1746, allocations: 29.7 kB / 0.5631 GB, free: 14.53 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.1748, allocations: 164.4 kB / 0.5633 GB, free: 14.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.594e-05/0.1749, allocations: 71.41 kB / 0.5634 GB, free: 14.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.969e-05/0.1749, allocations: 41.7 kB / 0.5634 GB, free: 14.24 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.1751, allocations: 350.8 kB / 0.5637 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.1753, allocations: 59.97 kB / 0.5638 GB, free: 13.83 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.1754, allocations: 91.34 kB / 0.5639 GB, free: 13.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002932/0.1757, allocations: 167.4 kB / 0.5641 GB, free: 13.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1757, allocations: 4 kB / 0.5641 GB, free: 13.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004078/0.1761, allocations: 225.3 kB / 0.5643 GB, free: 13.32 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.1761, allocations: 8 kB / 0.5643 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.902e-06/0.1761, allocations: 3.938 kB / 0.5643 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.1762, allocations: 4 kB / 0.5643 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.1763, allocations: 51.84 kB / 0.5643 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.1763, allocations: 4 kB / 0.5643 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.282e-05/0.1764, allocations: 11.95 kB / 0.5643 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.1764, allocations: 8.062 kB / 0.5644 GB, free: 13.23 MB / 430.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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001838/0.1766, allocations: 169.8 kB / 0.5645 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.026e-05/0.1766, allocations: 31.81 kB / 0.5645 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.018e-05/0.1767, allocations: 46.73 kB / 0.5646 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.1767, allocations: 4 kB / 0.5646 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1768, allocations: 0 / 0.5646 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1768, allocations: 0 / 0.5646 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.1778, allocations: 0.735 MB / 0.5653 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.1778, allocations: 4 kB / 0.5653 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.464e-05/0.1779, allocations: 27.98 kB / 0.5653 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1779, allocations: 0 / 0.5653 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.1779, allocations: 8 kB / 0.5654 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/0.1779, allocations: 7.938 kB / 0.5654 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1779, allocations: 0 / 0.5654 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005409/0.1784, allocations: 426 kB / 0.5658 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.961e-05/0.1785, allocations: 104.9 kB / 0.5659 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.193e-05/0.1786, allocations: 15.92 kB / 0.5659 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.1787, allocations: 8 kB / 0.5659 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.82e-05/0.1788, allocations: 27.84 kB / 0.5659 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-05/0.1788, allocations: 12 kB / 0.5659 GB, free: 11.5 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003545/0.1792, allocations: 331 kB / 0.5662 GB, free: 11.17 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1792, allocations: 0 / 0.5662 GB, free: 11.17 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003603/0.1795, allocations: 47.94 kB / 0.5663 GB, free: 11.12 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.002721/0.1822, allocations: 1.366 MB / 0.5676 GB, free: 9.922 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003773/0.1826, allocations: 154.9 kB / 0.5678 GB, free: 9.773 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.1826, allocations: 7.938 kB / 0.5678 GB, free: 9.766 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001525/0.1828, allocations: 67.91 kB / 0.5678 GB, free: 9.699 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005499/0.1833, allocations: 73.84 kB / 0.5679 GB, free: 9.637 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003745/0.1871, allocations: 2.884 MB / 0.5707 GB, free: 6.629 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004606/0.1875, allocations: 0.7753 MB / 0.5715 GB, free: 5.828 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001226/0.1877, allocations: 41.91 kB / 0.5715 GB, free: 5.785 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.1878, allocations: 103.4 kB / 0.5716 GB, free: 5.684 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1878, allocations: 0 / 0.5716 GB, free: 5.684 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03159/0.2194, allocations: 6.471 MB / 0.5779 GB, free: 15.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.285/8.504, allocations: 15.16 kB / 0.578 GB, free: 15.26 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.846853333991021] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 't_new_2.y[1]', 'd_t_new_2.y', 'd2_t_new.y', 'd2_t_new_2.y'] 8.630950539838523 8.646197352 8.474214608 Calling exit ...