Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.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.001601/0.001601, 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.001895/0.001895, 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.603/1.603, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2693/0.2693, allocations: 46.88 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.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test20",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.002244/0.002244, allocations: 83.86 kB / 0.4913 GB, free: 8.457 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1592, allocations: 65.99 MB / 0.5557 GB, free: 6.34 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003711/0.1629, allocations: 1.743 MB / 0.5574 GB, free: 4.578 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.1648, allocations: 1.031 MB / 0.5584 GB, free: 3.543 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.563e-05/0.1649, allocations: 0 / 0.5584 GB, free: 3.543 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003402/0.1652, allocations: 47.78 kB / 0.5585 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003353/0.1656, allocations: 99.53 kB / 0.5586 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000198/0.1658, allocations: 75.66 kB / 0.5587 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.1659, allocations: 107.7 kB / 0.5588 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.166, allocations: 8 kB / 0.5588 GB, free: 3.211 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.1661, allocations: 47.77 kB / 0.5588 GB, free: 3.164 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.016e-05/0.1662, allocations: 31.86 kB / 0.5588 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.1662, allocations: 4 kB / 0.5589 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.671e-05/0.1663, allocations: 43.98 kB / 0.5589 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.35e-05/0.1664, allocations: 23.91 kB / 0.5589 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.722e-05/0.1664, allocations: 39.67 kB / 0.559 GB, free: 3.023 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.1667, allocations: 119.4 kB / 0.5591 GB, free: 2.906 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.1667, allocations: 0 / 0.5591 GB, free: 2.906 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1667, allocations: 0 / 0.5591 GB, free: 2.906 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.849e-06/0.1667, allocations: 0 / 0.5591 GB, free: 2.906 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.0006168/0.1673, allocations: 422.7 kB / 0.5595 GB, free: 2.445 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.1673, allocations: 8.031 kB / 0.5595 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.244e-05/0.1674, allocations: 34.75 kB / 0.5595 GB, free: 2.395 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.1674, allocations: 16.89 kB / 0.5595 GB, free: 2.379 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.1677, allocations: 212.8 kB / 0.5597 GB, free: 2.133 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.1677, allocations: 8.312 kB / 0.5597 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.1678, allocations: 4.375 kB / 0.5597 GB, free: 2.121 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.1679, allocations: 57.8 kB / 0.5598 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.1679, allocations: 0 / 0.5598 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.168, allocations: 3.938 kB / 0.5598 GB, free: 2.055 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.168, allocations: 0 / 0.5598 GB, free: 2.055 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.016e-05/0.168, allocations: 19.98 kB / 0.5598 GB, free: 2.035 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004333/0.1685, allocations: 288.9 kB / 0.5601 GB, free: 1.703 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.1687, allocations: 58.62 kB / 0.5602 GB, free: 1.637 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.402e-05/0.1687, allocations: 20.84 kB / 0.5602 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.1687, allocations: 0 / 0.5602 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001826/0.1689, allocations: 67.39 kB / 0.5602 GB, free: 1.535 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1689, allocations: 7.938 kB / 0.5602 GB, free: 1.527 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005745/0.1695, allocations: 177.6 kB / 0.5604 GB, free: 1.348 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.1695, allocations: 51.41 kB / 0.5605 GB, free: 1.285 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.1698, allocations: 194.4 kB / 0.5606 GB, free: 1.086 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.1698, allocations: 25.7 kB / 0.5607 GB, free: 1.055 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.672e-05/0.1699, allocations: 100.1 kB / 0.5608 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/0.1699, allocations: 31.78 kB / 0.5608 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.473e-05/0.1699, allocations: 25.7 kB / 0.5608 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.1701, allocations: 330.8 kB / 0.5611 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.541e-05/0.1702, allocations: 15.94 kB / 0.5612 GB, free: 0.543 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.97e-05/0.1702, allocations: 37.7 kB / 0.5612 GB, free: 0.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.1704, allocations: 61.77 kB / 0.5612 GB, free: 444 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1704, allocations: 4 kB / 0.5613 GB, free: 440 kB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002009/0.1706, allocations: 109.5 kB / 0.5614 GB, free: 324 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.1706, allocations: 4 kB / 0.5614 GB, free: 320 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1706, allocations: 0 / 0.5614 GB, free: 320 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.1706, allocations: 4 kB / 0.5614 GB, free: 316 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.429e-05/0.1707, allocations: 12 kB / 0.5614 GB, free: 304 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1707, allocations: 0 / 0.5614 GB, free: 304 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.789e-05/0.1707, allocations: 7.984 kB / 0.5614 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.1707, allocations: 0 / 0.5614 GB, free: 296 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.0001138/0.1708, allocations: 137.8 kB / 0.5615 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.1709, allocations: 11.91 kB / 0.5615 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.878e-05/0.1709, allocations: 17.39 kB / 0.5615 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.1709, allocations: 4 kB / 0.5615 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.1709, allocations: 3.984 kB / 0.5616 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1709, allocations: 0 / 0.5616 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004964/0.1714, allocations: 395.3 kB / 0.5619 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1714, allocations: 8.203 kB / 0.5619 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.386e-05/0.1715, allocations: 8 kB / 0.5619 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1715, allocations: 3.938 kB / 0.5619 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-06/0.1715, allocations: 0 / 0.5619 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.1715, allocations: 7.938 kB / 0.562 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1715, allocations: 0 / 0.562 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.1717, allocations: 204.5 kB / 0.5621 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.273e-05/0.1718, allocations: 97 kB / 0.5622 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.1718, allocations: 0 / 0.5622 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.338e-05/0.1719, allocations: 11.94 kB / 0.5623 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/0.1719, allocations: 7.969 kB / 0.5623 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.172, allocations: 4 kB / 0.5623 GB, free: 15.27 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001616/0.1721, allocations: 148.2 kB / 0.5624 GB, free: 15.13 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1721, allocations: 4 kB / 0.5624 GB, free: 15.12 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002538/0.1724, allocations: 23.94 kB / 0.5624 GB, free: 15.1 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.002193/0.1746, allocations: 1.088 MB / 0.5635 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002097/0.1748, allocations: 63.84 kB / 0.5636 GB, free: 14.1 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1748, allocations: 0 / 0.5636 GB, free: 14.1 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.528e-05/0.1748, allocations: 23.98 kB / 0.5636 GB, free: 14.08 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.1752, allocations: 30.73 kB / 0.5636 GB, free: 14.05 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.1772, allocations: 1.673 MB / 0.5652 GB, free: 12.28 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.1775, allocations: 0.7002 MB / 0.5659 GB, free: 11.55 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.759e-05/0.1776, allocations: 21.17 kB / 0.5659 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.753e-05/0.1777, allocations: 35.42 kB / 0.566 GB, free: 11.5 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1777, allocations: 4 kB / 0.566 GB, free: 11.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02567/0.2033, allocations: 3.493 MB / 0.5694 GB, free: 8.074 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.911/8.114, allocations: 0 / 0.5694 GB, free: 8.074 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test20_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.440401148051023] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.239257075358182 8.256615962 8.087068424 Calling exit ...