Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.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.001466/0.001466, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001672/0.001672, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.548/1.548, allocations: 230.4 MB / 254 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2366/0.2366, allocations: 46.92 MB / 357 MB, free: 10.2 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00312/0.00312, allocations: 83.88 kB / 0.491 GB, free: 7.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1521, allocations: 66.04 MB / 0.5555 GB, free: 5.484 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003899/0.156, allocations: 2.046 MB / 0.5575 GB, free: 3.422 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002124/0.1581, allocations: 1.118 MB / 0.5586 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.1583, allocations: 7.938 kB / 0.5586 GB, free: 2.289 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003585/0.1586, allocations: 51.64 kB / 0.5587 GB, free: 2.238 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003691/0.159, allocations: 115.4 kB / 0.5588 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003049/0.1593, allocations: 107.7 kB / 0.5589 GB, free: 2.02 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002915/0.1596, allocations: 207.3 kB / 0.5591 GB, free: 1.816 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.1597, allocations: 21.67 kB / 0.5591 GB, free: 1.797 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.1599, allocations: 83.64 kB / 0.5592 GB, free: 1.715 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.16, allocations: 83.59 kB / 0.5593 GB, free: 1.633 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.786e-05/0.16, allocations: 12 kB / 0.5593 GB, free: 1.621 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.1602, allocations: 51.98 kB / 0.5593 GB, free: 1.57 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.281e-05/0.1602, allocations: 39.83 kB / 0.5594 GB, free: 1.531 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.439e-05/0.1603, allocations: 79.47 kB / 0.5594 GB, free: 1.453 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003426/0.1607, allocations: 195.1 kB / 0.5596 GB, free: 1.262 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1607, allocations: 4 kB / 0.5596 GB, free: 1.258 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1607, allocations: 0 / 0.5596 GB, free: 1.258 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1607, allocations: 0 / 0.5596 GB, free: 1.258 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001128/0.1618, allocations: 0.5757 MB / 0.5602 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.1619, allocations: 12.03 kB / 0.5602 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.098e-05/0.1619, allocations: 38.73 kB / 0.5602 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.075e-05/0.162, allocations: 24.84 kB / 0.5603 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000384/0.1624, allocations: 248 kB / 0.5605 GB, free: 264 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.1624, allocations: 4.375 kB / 0.5605 GB, free: 260 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/0.1624, allocations: 8.375 kB / 0.5605 GB, free: 252 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004392/0.1628, allocations: 162.2 kB / 0.5607 GB, free: 76 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.1629, allocations: 7.938 kB / 0.5607 GB, free: 68 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.1629, allocations: 0 / 0.5607 GB, free: 68 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1629, allocations: 0 / 0.5607 GB, free: 68 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000491/0.1634, allocations: 115.8 kB / 0.5608 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006983/0.1641, allocations: 0.5438 MB / 0.5613 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006973/0.1648, allocations: 166.5 kB / 0.5615 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002564/0.165, allocations: 64.8 kB / 0.5615 GB, free: 15.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.1651, allocations: 4 kB / 0.5615 GB, free: 15.11 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004051/0.1655, allocations: 131.3 kB / 0.5617 GB, free: 14.97 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.472e-06/0.1655, allocations: 0 / 0.5617 GB, free: 14.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009408/0.1664, allocations: 265.2 kB / 0.5619 GB, free: 14.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.1665, allocations: 55.41 kB / 0.562 GB, free: 14.64 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002609/0.1667, allocations: 248.8 kB / 0.5622 GB, free: 14.38 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.1667, allocations: 29.7 kB / 0.5622 GB, free: 14.35 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.1669, allocations: 124.4 kB / 0.5624 GB, free: 14.22 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.096e-05/0.1669, allocations: 35.75 kB / 0.5624 GB, free: 14.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.869e-05/0.167, allocations: 37.7 kB / 0.5624 GB, free: 14.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.1672, allocations: 326.8 kB / 0.5627 GB, free: 13.81 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002714/0.1674, allocations: 71.92 kB / 0.5628 GB, free: 13.74 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002833/0.1677, allocations: 100.2 kB / 0.5629 GB, free: 13.63 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005378/0.1682, allocations: 201.8 kB / 0.5631 GB, free: 13.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1682, allocations: 0 / 0.5631 GB, free: 13.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006938/0.1689, allocations: 251.1 kB / 0.5633 GB, free: 13.15 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.003e-05/0.169, allocations: 33.7 kB / 0.5634 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.169, allocations: 0 / 0.5634 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.169, allocations: 4 kB / 0.5634 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.1692, allocations: 39.91 kB / 0.5634 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.1692, allocations: 7.938 kB / 0.5634 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.1694, allocations: 31.95 kB / 0.5634 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.1694, allocations: 8 kB / 0.5635 GB, free: 13.02 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001655/0.1696, allocations: 145.8 kB / 0.5636 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.405e-05/0.1696, allocations: 15.91 kB / 0.5636 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.653e-05/0.1697, allocations: 21.39 kB / 0.5636 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.1697, allocations: 4 kB / 0.5636 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.1697, allocations: 3.938 kB / 0.5636 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1697, allocations: 0 / 0.5636 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002792/0.17, allocations: 249.4 kB / 0.5639 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.17, allocations: 4 kB / 0.5639 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.1701, allocations: 23.97 kB / 0.5639 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1701, allocations: 0 / 0.5639 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.1702, allocations: 0 / 0.5639 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1702, allocations: 0 / 0.5639 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1702, allocations: 7.938 kB / 0.5639 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009359/0.1711, allocations: 304.8 kB / 0.5642 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.66e-05/0.1712, allocations: 97 kB / 0.5643 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.532e-05/0.1712, allocations: 3.984 kB / 0.5643 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.1714, allocations: 23.97 kB / 0.5643 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.614e-05/0.1715, allocations: 23.98 kB / 0.5643 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.1715, allocations: 7.938 kB / 0.5643 GB, free: 12 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001868/0.1717, allocations: 173.6 kB / 0.5645 GB, free: 11.84 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1717, allocations: 0 / 0.5645 GB, free: 11.84 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002639/0.1719, allocations: 39.92 kB / 0.5646 GB, free: 11.8 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002742/0.1747, allocations: 1.139 MB / 0.5657 GB, free: 10.78 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006818/0.1754, allocations: 215.3 kB / 0.5659 GB, free: 10.55 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.1754, allocations: 0 / 0.5659 GB, free: 10.55 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002826/0.1756, allocations: 75.86 kB / 0.5659 GB, free: 10.48 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.176, allocations: 47.5 kB / 0.566 GB, free: 10.44 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003556/0.1796, allocations: 2.186 MB / 0.5681 GB, free: 8.141 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.1799, allocations: 0.728 MB / 0.5688 GB, free: 7.387 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.668e-05/0.18, allocations: 25.52 kB / 0.5689 GB, free: 7.363 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.1801, allocations: 59.41 kB / 0.5689 GB, free: 7.305 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1801, allocations: 0 / 0.5689 GB, free: 7.305 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02987/0.21, allocations: 5.035 MB / 0.5738 GB, free: 2.328 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.057/8.267, allocations: 14.88 kB / 0.5738 GB, free: 2.316 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039968 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.569270209991373] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 8.39088114304468 8.412967726 8.248096754 Calling exit ...