Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21.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.001751/0.001751, 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.002152/0.002152, 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.565/1.565, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.2594/0.2594, allocations: 46.88 MB / 357.4 MB, free: 10.52 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.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test21",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.002339/0.002339, allocations: 87.84 kB / 0.4913 GB, free: 8.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1586, allocations: 65.98 MB / 0.5557 GB, free: 6.344 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003221/0.1618, allocations: 1.743 MB / 0.5574 GB, free: 4.582 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001755/0.1635, allocations: 1.031 MB / 0.5585 GB, free: 3.547 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.929e-05/0.1636, allocations: 0 / 0.5585 GB, free: 3.547 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003064/0.1639, allocations: 47.77 kB / 0.5585 GB, free: 3.5 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002999/0.1642, allocations: 95.59 kB / 0.5586 GB, free: 3.406 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.1644, allocations: 71.67 kB / 0.5587 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002461/0.1646, allocations: 115.6 kB / 0.5588 GB, free: 3.223 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.474e-05/0.1647, allocations: 8 kB / 0.5588 GB, free: 3.215 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.435e-05/0.1648, allocations: 43.78 kB / 0.5588 GB, free: 3.172 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.648e-05/0.1649, allocations: 39.84 kB / 0.5589 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.1649, allocations: 4 kB / 0.5589 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.622e-05/0.165, allocations: 43.98 kB / 0.5589 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.771e-05/0.1651, allocations: 15.92 kB / 0.5589 GB, free: 3.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.529e-05/0.1652, allocations: 35.73 kB / 0.5589 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.1654, allocations: 127.4 kB / 0.5591 GB, free: 2.91 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1654, allocations: 0 / 0.5591 GB, free: 2.91 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1654, allocations: 0 / 0.5591 GB, free: 2.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.1654, allocations: 0 / 0.5591 GB, free: 2.91 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.0006546/0.166, allocations: 430.7 kB / 0.5595 GB, free: 2.441 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.1661, allocations: 8.031 kB / 0.5595 GB, free: 2.434 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.695e-05/0.1661, allocations: 34.75 kB / 0.5595 GB, free: 2.391 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.1662, allocations: 12.89 kB / 0.5595 GB, free: 2.379 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.1665, allocations: 212.8 kB / 0.5597 GB, free: 2.133 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.1665, allocations: 384 / 0.5597 GB, free: 2.133 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.1665, allocations: 4.375 kB / 0.5597 GB, free: 2.129 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.1667, allocations: 61.73 kB / 0.5598 GB, free: 2.062 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1667, allocations: 0 / 0.5598 GB, free: 2.062 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.1667, allocations: 0 / 0.5598 GB, free: 2.062 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.1667, allocations: 4 kB / 0.5598 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.429e-05/0.1668, allocations: 19.98 kB / 0.5598 GB, free: 2.039 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003804/0.1671, allocations: 284.9 kB / 0.5601 GB, free: 1.711 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.1673, allocations: 58.62 kB / 0.5602 GB, free: 1.645 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.676e-05/0.1674, allocations: 24.84 kB / 0.5602 GB, free: 1.617 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.1674, allocations: 0 / 0.5602 GB, free: 1.617 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001556/0.1675, allocations: 63.39 kB / 0.5602 GB, free: 1.543 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.1675, allocations: 7.938 kB / 0.5602 GB, free: 1.535 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005402/0.1681, allocations: 181.3 kB / 0.5604 GB, free: 1.352 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.1681, allocations: 51.41 kB / 0.5605 GB, free: 1.289 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/0.1683, allocations: 194.4 kB / 0.5607 GB, free: 1.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1683, allocations: 33.64 kB / 0.5607 GB, free: 1.051 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.252e-05/0.1684, allocations: 100.1 kB / 0.5608 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.805e-05/0.1684, allocations: 23.8 kB / 0.5608 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/0.1685, allocations: 29.7 kB / 0.5608 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1686, allocations: 326.8 kB / 0.5611 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.75e-05/0.1687, allocations: 16 kB / 0.5612 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.012e-05/0.1688, allocations: 41.64 kB / 0.5612 GB, free: 0.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.1689, allocations: 57.7 kB / 0.5613 GB, free: 448 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1689, allocations: 0 / 0.5613 GB, free: 448 kB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001891/0.1691, allocations: 109.5 kB / 0.5614 GB, free: 332 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1691, allocations: 7.984 kB / 0.5614 GB, free: 324 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.1691, allocations: 0 / 0.5614 GB, free: 324 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.1691, allocations: 4 kB / 0.5614 GB, free: 320 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.507e-05/0.1692, allocations: 12 kB / 0.5614 GB, free: 308 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.1692, allocations: 384 / 0.5614 GB, free: 308 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.283e-05/0.1692, allocations: 8.031 kB / 0.5614 GB, free: 300 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.1692, allocations: 3.984 kB / 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.0001183/0.1694, allocations: 133.7 kB / 0.5615 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.1694, allocations: 15.91 kB / 0.5615 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.785e-05/0.1694, allocations: 17.39 kB / 0.5615 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.1694, allocations: 7.984 kB / 0.5616 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1695, allocations: 0 / 0.5616 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1695, allocations: 0 / 0.5616 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004826/0.1699, allocations: 403.4 kB / 0.5619 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1699, allocations: 0 / 0.5619 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.495e-05/0.17, allocations: 11.98 kB / 0.562 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.17, allocations: 0 / 0.562 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.17, allocations: 4 kB / 0.562 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.17, allocations: 7.938 kB / 0.562 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.17, allocations: 0 / 0.562 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.1702, allocations: 204.2 kB / 0.5622 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.084e-05/0.1703, allocations: 89.02 kB / 0.5622 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.1703, allocations: 7.984 kB / 0.5623 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.646e-05/0.1704, allocations: 7.938 kB / 0.5623 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.1704, allocations: 0 / 0.5623 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.1704, allocations: 7.984 kB / 0.5623 GB, free: 15.28 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001335/0.1706, allocations: 144.4 kB / 0.5624 GB, free: 15.14 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1706, allocations: 0 / 0.5624 GB, free: 15.14 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000252/0.1708, allocations: 39.86 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.0021/0.1729, allocations: 1.08 MB / 0.5635 GB, free: 14.17 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001915/0.1731, allocations: 59.89 kB / 0.5636 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1731, allocations: 3.938 kB / 0.5636 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.249e-05/0.1732, allocations: 27.92 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.0003625/0.1736, allocations: 23.98 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.00193/0.1755, allocations: 1.672 MB / 0.5652 GB, free: 12.29 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.1759, allocations: 0.7002 MB / 0.5659 GB, free: 11.56 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.811e-05/0.1759, allocations: 20.88 kB / 0.5659 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.362e-05/0.176, allocations: 39.42 kB / 0.566 GB, free: 11.5 MB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.176, allocations: 0 / 0.566 GB, free: 11.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0266/0.2026, allocations: 3.491 MB / 0.5694 GB, free: 8.078 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.881/8.083, allocations: 0 / 0.5694 GB, free: 8.078 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.393008762970567] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.204116620123386 8.218936442 8.050558708 Calling exit ...