Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.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.001841/0.001841, 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.002098/0.002098, 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.552/1.552, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.264/0.264, allocations: 46.88 MB / 357.4 MB, free: 10.54 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.Test61,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test61",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.002303/0.002303, allocations: 83.86 kB / 0.4913 GB, free: 8.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1553, allocations: 65.98 MB / 0.5557 GB, free: 6.391 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003295/0.1585, allocations: 1.693 MB / 0.5574 GB, free: 4.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0018/0.1603, allocations: 1.018 MB / 0.5584 GB, free: 3.656 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.028e-05/0.1604, allocations: 0 / 0.5584 GB, free: 3.656 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003285/0.1607, allocations: 55.75 kB / 0.5584 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003146/0.1611, allocations: 103.5 kB / 0.5585 GB, free: 3.5 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.1613, allocations: 75.67 kB / 0.5586 GB, free: 3.426 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.1614, allocations: 95.75 kB / 0.5587 GB, free: 3.332 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.175e-05/0.1615, allocations: 4.234 kB / 0.5587 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.502e-05/0.1616, allocations: 47.77 kB / 0.5587 GB, free: 3.281 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.738e-05/0.1617, allocations: 27.8 kB / 0.5588 GB, free: 3.254 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.1617, allocations: 4 kB / 0.5588 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.557e-05/0.1618, allocations: 35.92 kB / 0.5588 GB, free: 3.215 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.405e-05/0.1619, allocations: 27.91 kB / 0.5588 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.599e-05/0.1619, allocations: 35.69 kB / 0.5589 GB, free: 3.152 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.1621, allocations: 123.4 kB / 0.559 GB, free: 3.031 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.1621, allocations: 4 kB / 0.559 GB, free: 3.027 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1621, allocations: 0 / 0.559 GB, free: 3.027 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.1622, allocations: 0 / 0.559 GB, free: 3.027 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.0006562/0.1628, allocations: 446.5 kB / 0.5594 GB, free: 2.543 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.1629, allocations: 12.03 kB / 0.5594 GB, free: 2.531 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.13e-05/0.1629, allocations: 38.69 kB / 0.5595 GB, free: 2.484 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.1629, allocations: 8.891 kB / 0.5595 GB, free: 2.477 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003454/0.1633, allocations: 225 kB / 0.5597 GB, free: 2.215 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.1633, allocations: 4.375 kB / 0.5597 GB, free: 2.211 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.1633, allocations: 8.375 kB / 0.5597 GB, free: 2.203 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.1635, allocations: 49.8 kB / 0.5597 GB, free: 2.148 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.1635, allocations: 0 / 0.5597 GB, free: 2.148 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.1635, allocations: 0 / 0.5597 GB, free: 2.148 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.178e-06/0.1635, allocations: 4 kB / 0.5598 GB, free: 2.145 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.091e-05/0.1636, allocations: 15.98 kB / 0.5598 GB, free: 2.129 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002419/0.1638, allocations: 189.7 kB / 0.5599 GB, free: 1.895 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.164, allocations: 58.55 kB / 0.56 GB, free: 1.828 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.462e-05/0.164, allocations: 20.84 kB / 0.56 GB, free: 1.805 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.1641, allocations: 0 / 0.56 GB, free: 1.805 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001653/0.1642, allocations: 71.27 kB / 0.5601 GB, free: 1.723 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.472e-06/0.1642, allocations: 0 / 0.5601 GB, free: 1.723 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002848/0.1645, allocations: 97.52 kB / 0.5602 GB, free: 1.621 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.683e-05/0.1646, allocations: 59.41 kB / 0.5602 GB, free: 1.551 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002945/0.1649, allocations: 270.8 kB / 0.5605 GB, free: 1.273 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.1649, allocations: 33.7 kB / 0.5605 GB, free: 1.234 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.755e-05/0.165, allocations: 112.1 kB / 0.5606 GB, free: 1.121 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.165, allocations: 7.906 kB / 0.5606 GB, free: 1.113 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.1651, allocations: 17.72 kB / 0.5607 GB, free: 1.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.1652, allocations: 334.8 kB / 0.561 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.038e-05/0.1653, allocations: 16 kB / 0.561 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.182e-05/0.1653, allocations: 25.7 kB / 0.561 GB, free: 0.707 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.1654, allocations: 45.64 kB / 0.5611 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1654, allocations: 4 kB / 0.5611 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001716/0.1656, allocations: 85.53 kB / 0.5612 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.1656, allocations: 8 kB / 0.5612 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1656, allocations: 11.91 kB / 0.5612 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1657, allocations: 320 / 0.5612 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.972e-05/0.1657, allocations: 11.98 kB / 0.5612 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.1657, allocations: 4 kB / 0.5612 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.777e-05/0.1658, allocations: 7.953 kB / 0.5612 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.1658, allocations: 4 kB / 0.5612 GB, free: 0.5156 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.000133/0.1659, allocations: 137.8 kB / 0.5613 GB, free: 380 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.166, allocations: 15.84 kB / 0.5613 GB, free: 364 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.642e-05/0.166, allocations: 20.98 kB / 0.5614 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.166, allocations: 4 kB / 0.5614 GB, free: 340 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.166, allocations: 0 / 0.5614 GB, free: 340 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.166, allocations: 0 / 0.5614 GB, free: 340 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.1662, allocations: 201.6 kB / 0.5616 GB, free: 88 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1662, allocations: 3.938 kB / 0.5616 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.354e-05/0.1662, allocations: 4 kB / 0.5616 GB, free: 80 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1662, allocations: 0 / 0.5616 GB, free: 80 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.1662, allocations: 0 / 0.5616 GB, free: 80 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1662, allocations: 3.938 kB / 0.5616 GB, free: 76 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1662, allocations: 0 / 0.5616 GB, free: 76 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.1665, allocations: 113.2 kB / 0.5617 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.25e-05/0.1665, allocations: 100.8 kB / 0.5618 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.1666, allocations: 0 / 0.5618 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.806e-05/0.1666, allocations: 4 kB / 0.5618 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.1666, allocations: 0 / 0.5618 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.1667, allocations: 4 kB / 0.5618 GB, free: 15.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000203/0.1669, allocations: 200.6 kB / 0.562 GB, free: 15.62 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1669, allocations: 3.938 kB / 0.562 GB, free: 15.62 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002288/0.1671, allocations: 24 kB / 0.562 GB, free: 15.6 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.001953/0.169, allocations: 0.9445 MB / 0.5629 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001771/0.1692, allocations: 43.97 kB / 0.563 GB, free: 14.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1692, allocations: 4.062 kB / 0.563 GB, free: 14.72 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.945e-05/0.1693, allocations: 19.94 kB / 0.563 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.1695, allocations: 37.83 kB / 0.563 GB, free: 14.67 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.1716, allocations: 1.678 MB / 0.5647 GB, free: 12.9 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.172, allocations: 0.708 MB / 0.5654 GB, free: 12.16 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.677e-05/0.172, allocations: 24.78 kB / 0.5654 GB, free: 12.14 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.126e-05/0.1721, allocations: 43.42 kB / 0.5654 GB, free: 12.1 MB / 430.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1721, allocations: 0 / 0.5654 GB, free: 12.1 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02641/0.1985, allocations: 3.515 MB / 0.5689 GB, free: 8.652 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.126/8.324, allocations: 18.03 kB / 0.5689 GB, free: 8.637 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.468427333980799] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 8.448685705661774 8.474160316 8.307667275 Calling exit ...