Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.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.001361/0.001361, 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.001462/0.001462, 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.563/1.563, 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.2659/0.2659, 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.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test8",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.002598/0.002598, allocations: 87.86 kB / 0.4913 GB, free: 8.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1555, allocations: 65.98 MB / 0.5558 GB, free: 6.359 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003512/0.159, allocations: 1.765 MB / 0.5575 GB, free: 4.578 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002104/0.1611, allocations: 1.032 MB / 0.5585 GB, free: 3.539 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.1612, allocations: 0 / 0.5585 GB, free: 3.539 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005528/0.1618, allocations: 107.7 kB / 0.5586 GB, free: 3.434 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005425/0.1623, allocations: 139.4 kB / 0.5587 GB, free: 3.297 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003528/0.1627, allocations: 71.69 kB / 0.5588 GB, free: 3.227 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002783/0.163, allocations: 135.6 kB / 0.5589 GB, free: 3.094 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.1631, allocations: 11.98 kB / 0.5589 GB, free: 3.082 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.1632, allocations: 63.75 kB / 0.559 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.1634, allocations: 79.72 kB / 0.5591 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.1634, allocations: 4 kB / 0.5591 GB, free: 2.938 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.1636, allocations: 63.92 kB / 0.5591 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.794e-05/0.1636, allocations: 27.91 kB / 0.5592 GB, free: 2.848 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.787e-05/0.1637, allocations: 51.61 kB / 0.5592 GB, free: 2.797 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003129/0.164, allocations: 155.4 kB / 0.5594 GB, free: 2.645 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.164, allocations: 0 / 0.5594 GB, free: 2.645 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.164, allocations: 0 / 0.5594 GB, free: 2.645 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.164, allocations: 0 / 0.5594 GB, free: 2.645 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007664/0.1648, allocations: 470.2 kB / 0.5598 GB, free: 2.137 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/0.1648, allocations: 12.03 kB / 0.5598 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.895e-05/0.1649, allocations: 30.75 kB / 0.5598 GB, free: 2.086 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.576e-05/0.165, allocations: 20.84 kB / 0.5599 GB, free: 2.066 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004448/0.1654, allocations: 225 kB / 0.5601 GB, free: 1.805 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.1654, allocations: 8.375 kB / 0.5601 GB, free: 1.797 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.1655, allocations: 384 / 0.5601 GB, free: 1.797 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.1657, allocations: 77.72 kB / 0.5602 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.1657, allocations: 0 / 0.5602 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.1657, allocations: 0 / 0.5602 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.1657, allocations: 0 / 0.5602 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.1658, allocations: 31.98 kB / 0.5602 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006401/0.1665, allocations: 324.7 kB / 0.5605 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000374/0.1668, allocations: 74.58 kB / 0.5606 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.063e-05/0.1669, allocations: 24.86 kB / 0.5606 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.1669, allocations: 3.984 kB / 0.5606 GB, free: 1.203 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002337/0.1672, allocations: 71.39 kB / 0.5607 GB, free: 1.121 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/0.1672, allocations: 4 kB / 0.5607 GB, free: 1.117 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.000958/0.1681, allocations: 281.2 kB / 0.5609 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.1682, allocations: 55.41 kB / 0.561 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002796/0.1685, allocations: 255.7 kB / 0.5612 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.1685, allocations: 29.7 kB / 0.5613 GB, free: 484 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.1686, allocations: 120.1 kB / 0.5614 GB, free: 360 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.364e-05/0.1687, allocations: 35.69 kB / 0.5614 GB, free: 324 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.424e-05/0.1687, allocations: 33.7 kB / 0.5614 GB, free: 284 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.1689, allocations: 330.8 kB / 0.5618 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.881e-05/0.169, allocations: 31.98 kB / 0.5618 GB, free: 15.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.271e-05/0.1691, allocations: 49.69 kB / 0.5618 GB, free: 15.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.1692, allocations: 85.7 kB / 0.5619 GB, free: 15.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1692, allocations: 0 / 0.5619 GB, free: 15.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002591/0.1695, allocations: 149.6 kB / 0.5621 GB, free: 15.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.1695, allocations: 4 kB / 0.5621 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1695, allocations: 0 / 0.5621 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.1695, allocations: 0 / 0.5621 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.353e-05/0.1696, allocations: 27.94 kB / 0.5621 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.1696, allocations: 3.984 kB / 0.5621 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.206e-05/0.1697, allocations: 11.89 kB / 0.5621 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.1697, allocations: 4 kB / 0.5621 GB, free: 15.57 MB / 430.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 (14): * Single equations (assignments): 14 * 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.0001391/0.1698, allocations: 142.8 kB / 0.5622 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.423e-05/0.1699, allocations: 19.89 kB / 0.5623 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.187e-05/0.1699, allocations: 21.39 kB / 0.5623 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1699, allocations: 0 / 0.5623 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1699, allocations: 0 / 0.5623 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1699, allocations: 3.938 kB / 0.5623 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006982/0.1706, allocations: 476.1 kB / 0.5627 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1706, allocations: 4.062 kB / 0.5628 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.037e-05/0.1707, allocations: 23.92 kB / 0.5628 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1707, allocations: 0 / 0.5628 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.1707, allocations: 11.88 kB / 0.5628 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.624e-06/0.1707, allocations: 0 / 0.5628 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.1707, allocations: 4 kB / 0.5628 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003161/0.171, allocations: 253.1 kB / 0.563 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.588e-05/0.1711, allocations: 96.95 kB / 0.5631 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.1711, allocations: 0 / 0.5631 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.509e-05/0.1712, allocations: 4 kB / 0.5631 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.796e-05/0.1713, allocations: 15.92 kB / 0.5631 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.1713, allocations: 4.094 kB / 0.5631 GB, free: 14.39 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002535/0.1716, allocations: 205.4 kB / 0.5633 GB, free: 14.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1716, allocations: 0 / 0.5633 GB, free: 14.2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002904/0.1718, allocations: 31.94 kB / 0.5634 GB, free: 14.16 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.00248/0.1743, allocations: 1.187 MB / 0.5645 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002528/0.1746, allocations: 83.91 kB / 0.5646 GB, free: 13.07 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1746, allocations: 0 / 0.5646 GB, free: 13.07 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.027e-05/0.1747, allocations: 39.92 kB / 0.5646 GB, free: 13.03 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.175, allocations: 34.39 kB / 0.5647 GB, free: 13 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002379/0.1774, allocations: 1.96 MB / 0.5666 GB, free: 10.94 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.1778, allocations: 0.724 MB / 0.5673 GB, free: 10.19 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.454e-05/0.1779, allocations: 29.06 kB / 0.5673 GB, free: 10.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.302e-05/0.178, allocations: 55.42 kB / 0.5674 GB, free: 10.11 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.178, allocations: 3.938 kB / 0.5674 GB, free: 10.1 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02625/0.2042, allocations: 4.236 MB / 0.5715 GB, free: 5.945 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.008/8.213, allocations: 2.109 kB / 0.5715 GB, free: 5.945 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.483949773944914] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'd2_t_new.y'] 8.338625247590244 8.36232988 8.194432706 Calling exit ...