Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.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.001769/0.001769, allocations: 120.4 kB / 18.5 MB, free: 4.578 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.001368/0.001368, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.556/1.556, allocations: 230.2 MB / 254.5 MB, free: 15.23 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.2623/0.2623, allocations: 46.89 MB / 357.4 MB, free: 10.51 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-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.Test37,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test37",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.002257/0.002257, allocations: 79.88 kB / 0.4913 GB, free: 8.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1531, allocations: 65.98 MB / 0.5557 GB, free: 6.363 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003395/0.1565, allocations: 1.697 MB / 0.5574 GB, free: 4.648 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.1583, allocations: 1.014 MB / 0.5584 GB, free: 3.629 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.693e-05/0.1583, allocations: 0 / 0.5584 GB, free: 3.629 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003307/0.1587, allocations: 67.73 kB / 0.5584 GB, free: 3.562 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003458/0.159, allocations: 103.6 kB / 0.5585 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.1592, allocations: 83.59 kB / 0.5586 GB, free: 3.379 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000188/0.1594, allocations: 99.75 kB / 0.5587 GB, free: 3.281 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.151e-05/0.1595, allocations: 8.219 kB / 0.5587 GB, free: 3.273 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.1596, allocations: 47.78 kB / 0.5588 GB, free: 3.227 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.1597, allocations: 51.75 kB / 0.5588 GB, free: 3.176 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.1597, allocations: 4 kB / 0.5588 GB, free: 3.172 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.784e-05/0.1598, allocations: 39.92 kB / 0.5589 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.025e-05/0.1599, allocations: 27.86 kB / 0.5589 GB, free: 3.105 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.768e-05/0.1599, allocations: 27.81 kB / 0.5589 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.1601, allocations: 103.6 kB / 0.559 GB, free: 2.977 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1601, allocations: 0 / 0.559 GB, free: 2.977 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1601, allocations: 3.938 kB / 0.559 GB, free: 2.973 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.1602, allocations: 0 / 0.559 GB, free: 2.973 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006115/0.1608, allocations: 406.8 kB / 0.5594 GB, free: 2.527 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.1608, allocations: 12.03 kB / 0.5594 GB, free: 2.516 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.285e-05/0.1608, allocations: 38.73 kB / 0.5594 GB, free: 2.469 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.22e-05/0.1609, allocations: 16.84 kB / 0.5595 GB, free: 2.453 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003183/0.1612, allocations: 208.8 kB / 0.5597 GB, free: 2.211 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.1612, allocations: 4.359 kB / 0.5597 GB, free: 2.207 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.1612, allocations: 4.375 kB / 0.5597 GB, free: 2.203 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.1614, allocations: 49.81 kB / 0.5597 GB, free: 2.148 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.1614, allocations: 0 / 0.5597 GB, free: 2.148 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1614, allocations: 3.984 kB / 0.5597 GB, free: 2.145 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.1614, allocations: 0 / 0.5597 GB, free: 2.145 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.936e-05/0.1615, allocations: 8 kB / 0.5597 GB, free: 2.137 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002221/0.1617, allocations: 193.6 kB / 0.5599 GB, free: 1.898 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.1619, allocations: 54.55 kB / 0.56 GB, free: 1.836 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.42e-05/0.1619, allocations: 20.83 kB / 0.56 GB, free: 1.812 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.162, allocations: 4 kB / 0.56 GB, free: 1.809 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000176/0.1621, allocations: 71.33 kB / 0.5601 GB, free: 1.727 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.363e-06/0.1621, allocations: 0 / 0.5601 GB, free: 1.727 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003396/0.1625, allocations: 93.56 kB / 0.5601 GB, free: 1.629 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.1625, allocations: 55.41 kB / 0.5602 GB, free: 1.562 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.1627, allocations: 198.3 kB / 0.5604 GB, free: 1.359 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1627, allocations: 25.7 kB / 0.5604 GB, free: 1.328 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.422e-05/0.1628, allocations: 104.1 kB / 0.5605 GB, free: 1.223 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.284e-05/0.1629, allocations: 11.91 kB / 0.5605 GB, free: 1.211 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.1629, allocations: 21.72 kB / 0.5605 GB, free: 1.184 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.163, allocations: 322.8 kB / 0.5608 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.085e-05/0.1631, allocations: 15.98 kB / 0.5609 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.021e-05/0.1632, allocations: 33.7 kB / 0.5609 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.981e-05/0.1633, allocations: 41.66 kB / 0.5609 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1633, allocations: 0 / 0.5609 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001723/0.1634, allocations: 93.52 kB / 0.561 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1634, allocations: 6.031 kB / 0.561 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1634, allocations: 0 / 0.561 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.1635, allocations: 0 / 0.561 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.94e-05/0.1635, allocations: 15.94 kB / 0.561 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.1635, allocations: 0 / 0.561 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.893e-05/0.1636, allocations: 11.92 kB / 0.5611 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.1636, allocations: 0 / 0.5611 GB, free: 0.6289 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 (7): * Single equations (assignments): 7 * 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.0001103/0.1637, allocations: 127.2 kB / 0.5612 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.151e-05/0.1637, allocations: 19.89 kB / 0.5612 GB, free: 488 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.296e-05/0.1638, allocations: 12.98 kB / 0.5612 GB, free: 472 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1638, allocations: 0 / 0.5612 GB, free: 472 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1638, allocations: 0 / 0.5612 GB, free: 472 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1638, allocations: 0 / 0.5612 GB, free: 472 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.164, allocations: 193.6 kB / 0.5614 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.164, allocations: 3.938 kB / 0.5614 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.053e-05/0.164, allocations: 4.312 kB / 0.5614 GB, free: 220 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.164, allocations: 0 / 0.5614 GB, free: 220 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.164, allocations: 8 kB / 0.5614 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.164, allocations: 8 kB / 0.5614 GB, free: 204 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.164, allocations: 0 / 0.5614 GB, free: 204 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/0.1642, allocations: 105 kB / 0.5615 GB, free: 80 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.801e-05/0.1643, allocations: 85 kB / 0.5616 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.1643, allocations: 8 kB / 0.5616 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.85e-05/0.1643, allocations: 3.984 kB / 0.5616 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.1644, allocations: 4 kB / 0.5616 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.1644, allocations: 7.938 kB / 0.5616 GB, free: 15.95 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001336/0.1645, allocations: 148.2 kB / 0.5618 GB, free: 15.81 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1645, allocations: 0 / 0.5618 GB, free: 15.81 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002228/0.1648, allocations: 16 kB / 0.5618 GB, free: 15.79 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001867/0.1666, allocations: 0.9461 MB / 0.5627 GB, free: 14.96 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001634/0.1668, allocations: 35.98 kB / 0.5627 GB, free: 14.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1668, allocations: 0 / 0.5627 GB, free: 14.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.38e-05/0.1668, allocations: 23.92 kB / 0.5628 GB, free: 14.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.1671, allocations: 27.67 kB / 0.5628 GB, free: 14.88 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.1689, allocations: 1.513 MB / 0.5643 GB, free: 13.28 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.1693, allocations: 0.7041 MB / 0.565 GB, free: 12.55 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.089e-05/0.1693, allocations: 20.52 kB / 0.565 GB, free: 12.53 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.203e-05/0.1694, allocations: 27.44 kB / 0.565 GB, free: 12.5 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1694, allocations: 4 kB / 0.565 GB, free: 12.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02639/0.1958, allocations: 3.185 MB / 0.5681 GB, free: 9.383 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.889/8.085, allocations: 8 kB / 0.5681 GB, free: 9.375 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --stepSize=0.000699161 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.389803803991526] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 8.20512278424576 8.220634545 8.057265343 Calling exit ...