Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test30.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.001482/0.001482, allocations: 122.7 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.001635/0.001635, allocations: 210.5 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.444/1.444, 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.2455/0.2455, allocations: 46.89 MB / 357.4 MB, free: 10.6 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.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test30",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.003285/0.003285, allocations: 83.86 kB / 0.4913 GB, free: 8.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1578, allocations: 65.98 MB / 0.5557 GB, free: 6.395 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003709/0.1615, allocations: 1.744 MB / 0.5574 GB, free: 4.637 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.1634, allocations: 1.026 MB / 0.5584 GB, free: 3.605 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.003e-05/0.1635, allocations: 0 / 0.5584 GB, free: 3.605 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003237/0.1638, allocations: 43.77 kB / 0.5585 GB, free: 3.562 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003326/0.1642, allocations: 103.5 kB / 0.5586 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.1644, allocations: 71.73 kB / 0.5587 GB, free: 3.391 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002057/0.1646, allocations: 111.6 kB / 0.5588 GB, free: 3.281 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.1647, allocations: 12 kB / 0.5588 GB, free: 3.27 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.1648, allocations: 43.78 kB / 0.5588 GB, free: 3.227 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.3e-05/0.1649, allocations: 27.84 kB / 0.5588 GB, free: 3.199 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.1649, allocations: 4 kB / 0.5588 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.165, allocations: 43.98 kB / 0.5589 GB, free: 3.152 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.015e-05/0.165, allocations: 23.92 kB / 0.5589 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.959e-05/0.1651, allocations: 35.73 kB / 0.5589 GB, free: 3.094 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002431/0.1653, allocations: 127.4 kB / 0.5591 GB, free: 2.969 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1653, allocations: 0 / 0.5591 GB, free: 2.969 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1654, allocations: 0 / 0.5591 GB, free: 2.969 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.1654, allocations: 0 / 0.5591 GB, free: 2.969 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.0006876/0.166, allocations: 422.7 kB / 0.5595 GB, free: 2.508 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.1661, allocations: 12.03 kB / 0.5595 GB, free: 2.496 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.411e-05/0.1661, allocations: 34.75 kB / 0.5595 GB, free: 2.453 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.877e-05/0.1662, allocations: 8.891 kB / 0.5595 GB, free: 2.445 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000326/0.1665, allocations: 212.8 kB / 0.5597 GB, free: 2.199 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.1665, allocations: 4.375 kB / 0.5597 GB, free: 2.195 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.1665, allocations: 4.375 kB / 0.5597 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.1667, allocations: 57.73 kB / 0.5598 GB, free: 2.129 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.1667, allocations: 3.984 kB / 0.5598 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.1667, allocations: 8 kB / 0.5598 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1667, allocations: 0 / 0.5598 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.221e-05/0.1668, allocations: 15.98 kB / 0.5598 GB, free: 2.102 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004385/0.1673, allocations: 292.9 kB / 0.5601 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.1674, allocations: 54.62 kB / 0.5601 GB, free: 1.703 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.831e-05/0.1675, allocations: 20.84 kB / 0.5602 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.1675, allocations: 11.92 kB / 0.5602 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001768/0.1677, allocations: 67.39 kB / 0.5602 GB, free: 1.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.1677, allocations: 0 / 0.5602 GB, free: 1.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005923/0.1683, allocations: 181.3 kB / 0.5604 GB, free: 1.406 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.1683, allocations: 59.34 kB / 0.5605 GB, free: 1.336 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.1686, allocations: 190.4 kB / 0.5606 GB, free: 1.141 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.1686, allocations: 29.7 kB / 0.5607 GB, free: 1.105 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.58e-05/0.1687, allocations: 104.1 kB / 0.5608 GB, free: 1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.1687, allocations: 23.8 kB / 0.5608 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.424e-05/0.1687, allocations: 25.7 kB / 0.5608 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.1689, allocations: 330.8 kB / 0.5611 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.893e-05/0.169, allocations: 19.94 kB / 0.5612 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.927e-05/0.169, allocations: 33.7 kB / 0.5612 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.1692, allocations: 61.7 kB / 0.5613 GB, free: 500 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1692, allocations: 0 / 0.5613 GB, free: 500 kB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002013/0.1694, allocations: 109.5 kB / 0.5614 GB, free: 384 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.1694, allocations: 8 kB / 0.5614 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.1694, allocations: 0 / 0.5614 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.1694, allocations: 0 / 0.5614 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.302e-05/0.1695, allocations: 16 kB / 0.5614 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.1695, allocations: 4 kB / 0.5614 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.429e-05/0.1695, allocations: 3.984 kB / 0.5614 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.1696, allocations: 4 kB / 0.5614 GB, free: 348 kB / 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.0001443/0.1697, allocations: 135.3 kB / 0.5615 GB, free: 204 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.1697, allocations: 15.91 kB / 0.5615 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.104e-05/0.1698, allocations: 17.39 kB / 0.5615 GB, free: 164 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1698, allocations: 0 / 0.5615 GB, free: 164 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.1698, allocations: 0 / 0.5615 GB, free: 164 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1698, allocations: 0 / 0.5615 GB, free: 164 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000532/0.1703, allocations: 399.2 kB / 0.5619 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1703, allocations: 0 / 0.5619 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.258e-05/0.1704, allocations: 8 kB / 0.5619 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.1704, allocations: 8.406 kB / 0.5619 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.1704, allocations: 0 / 0.5619 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.481e-06/0.1704, allocations: 7.938 kB / 0.562 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1704, allocations: 3.938 kB / 0.562 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.1706, allocations: 200.5 kB / 0.5621 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.236e-05/0.1707, allocations: 93 kB / 0.5622 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.1707, allocations: 4 kB / 0.5622 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.269e-05/0.1708, allocations: 11.94 kB / 0.5623 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.1708, allocations: 8.172 kB / 0.5623 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.1709, allocations: 4 kB / 0.5623 GB, free: 15.33 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001478/0.171, allocations: 152.2 kB / 0.5624 GB, free: 15.18 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.171, allocations: 0 / 0.5624 GB, free: 15.18 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000259/0.1713, allocations: 23.94 kB / 0.5624 GB, free: 15.16 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.002451/0.1737, allocations: 1.085 MB / 0.5635 GB, free: 14.22 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.1739, allocations: 63.89 kB / 0.5636 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1739, allocations: 0 / 0.5636 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.589e-05/0.174, allocations: 35.86 kB / 0.5636 GB, free: 14.12 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.1744, allocations: 23.97 kB / 0.5636 GB, free: 14.1 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002361/0.1768, allocations: 1.665 MB / 0.5652 GB, free: 12.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004896/0.1773, allocations: 0.7041 MB / 0.5659 GB, free: 11.61 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.84e-05/0.1773, allocations: 17.17 kB / 0.5659 GB, free: 11.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.928e-05/0.1774, allocations: 35.42 kB / 0.566 GB, free: 11.56 MB / 430.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1774, allocations: 0 / 0.566 GB, free: 11.56 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02776/0.2052, allocations: 3.49 MB / 0.5694 GB, free: 8.137 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.978/8.183, allocations: 4.062 kB / 0.5694 GB, free: 8.133 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test30_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.219509216956794] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.307621496263891 8.325532543 8.157043269 Calling exit ...