Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.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.00205/0.00205, allocations: 117.8 kB / 18.5 MB, free: 4.434 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.002148/0.002148, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.512/1.512, allocations: 230.2 MB / 254.5 MB, free: 15.39 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.2294/0.2294, allocations: 46.89 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.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test33",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.002404/0.002404, allocations: 84.19 kB / 0.4912 GB, free: 8.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1185, allocations: 65.98 MB / 0.5557 GB, free: 6.406 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003616/0.1221, allocations: 1.868 MB / 0.5575 GB, free: 4.523 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.1238, allocations: 1.052 MB / 0.5585 GB, free: 3.465 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.012e-05/0.1238, allocations: 0 / 0.5585 GB, free: 3.465 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.1241, allocations: 67.66 kB / 0.5586 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003147/0.1244, allocations: 119.4 kB / 0.5587 GB, free: 3.281 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005095/0.1249, allocations: 211.2 kB / 0.5589 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002866/0.1252, allocations: 199.4 kB / 0.5591 GB, free: 2.883 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.698e-05/0.1253, allocations: 21.55 kB / 0.5591 GB, free: 2.859 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.1254, allocations: 83.73 kB / 0.5592 GB, free: 2.777 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.1256, allocations: 107.6 kB / 0.5593 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.95e-05/0.1256, allocations: 19.94 kB / 0.5593 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.277e-05/0.1257, allocations: 43.98 kB / 0.5594 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.182e-05/0.1258, allocations: 43.83 kB / 0.5594 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.976e-05/0.1259, allocations: 75.58 kB / 0.5595 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002736/0.1261, allocations: 195.1 kB / 0.5597 GB, free: 2.301 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1262, allocations: 0 / 0.5597 GB, free: 2.301 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1262, allocations: 4 kB / 0.5597 GB, free: 2.297 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.1262, allocations: 4 kB / 0.5597 GB, free: 2.293 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001091/0.1273, allocations: 0.5797 MB / 0.5602 GB, free: 1.652 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.1273, allocations: 8.031 kB / 0.5602 GB, free: 1.645 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.137e-05/0.1273, allocations: 38.75 kB / 0.5603 GB, free: 1.598 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.028e-05/0.1274, allocations: 16.84 kB / 0.5603 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.1277, allocations: 253.6 kB / 0.5605 GB, free: 1.293 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.1277, allocations: 384 / 0.5605 GB, free: 1.293 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.744e-05/0.1277, allocations: 12.38 kB / 0.5605 GB, free: 1.281 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004952/0.1282, allocations: 145.6 kB / 0.5607 GB, free: 1.133 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.1282, allocations: 4 kB / 0.5607 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.1282, allocations: 8 kB / 0.5607 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1283, allocations: 7.938 kB / 0.5607 GB, free: 1.113 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006809/0.1289, allocations: 163.8 kB / 0.5609 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008276/0.1298, allocations: 432.5 kB / 0.5613 GB, free: 492 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000761/0.1305, allocations: 198.3 kB / 0.5615 GB, free: 284 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003501/0.1309, allocations: 92.75 kB / 0.5615 GB, free: 188 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.1309, allocations: 4 kB / 0.5616 GB, free: 184 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005556/0.1315, allocations: 171.1 kB / 0.5617 GB, free: 0 / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/0.1315, allocations: 0 / 0.5617 GB, free: 0 / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003537/0.135, allocations: 0.8328 MB / 0.5625 GB, free: 15.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.135, allocations: 55.41 kB / 0.5626 GB, free: 15.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002952/0.1353, allocations: 260.9 kB / 0.5628 GB, free: 14.83 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/0.1354, allocations: 33.89 kB / 0.5629 GB, free: 14.79 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.411e-05/0.1355, allocations: 128 kB / 0.563 GB, free: 14.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.373e-05/0.1355, allocations: 47.77 kB / 0.563 GB, free: 14.61 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.26e-05/0.1356, allocations: 37.7 kB / 0.5631 GB, free: 14.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1358, allocations: 334.8 kB / 0.5634 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006832/0.1364, allocations: 175.8 kB / 0.5636 GB, free: 14.06 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006403/0.1371, allocations: 167.8 kB / 0.5637 GB, free: 13.9 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/0.1384, allocations: 385.7 kB / 0.5641 GB, free: 13.51 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1384, allocations: 0 / 0.5641 GB, free: 13.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001464/0.1398, allocations: 468.5 kB / 0.5645 GB, free: 13.03 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.365e-05/0.1399, allocations: 59.39 kB / 0.5646 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1399, allocations: 4 kB / 0.5646 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.1399, allocations: 4 kB / 0.5646 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000401/0.1403, allocations: 67.91 kB / 0.5647 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.1403, allocations: 0 / 0.5647 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003871/0.1407, allocations: 71.84 kB / 0.5647 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.1407, allocations: 11.92 kB / 0.5647 GB, free: 12.8 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.0001577/0.1409, allocations: 141.8 kB / 0.5649 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.071e-05/0.1409, allocations: 19.89 kB / 0.5649 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001499/0.1424, allocations: 419.1 kB / 0.5653 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.1424, allocations: 4 kB / 0.5653 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1424, allocations: 0 / 0.5653 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1424, allocations: 3.938 kB / 0.5653 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/0.1442, allocations: 0.7282 MB / 0.566 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1442, allocations: 4 kB / 0.566 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003523/0.1445, allocations: 67.91 kB / 0.5661 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1445, allocations: 0 / 0.5661 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.1445, allocations: 3.938 kB / 0.5661 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1445, allocations: 0 / 0.5661 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1445, allocations: 4 kB / 0.5661 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/0.1459, allocations: 491 kB / 0.5666 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.07e-05/0.146, allocations: 92.97 kB / 0.5666 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.49e-05/0.1461, allocations: 11.94 kB / 0.5667 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004084/0.1465, allocations: 71.89 kB / 0.5667 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.1466, allocations: 47.94 kB / 0.5668 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.1466, allocations: 4 kB / 0.5668 GB, free: 10.61 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001791/0.1468, allocations: 184.5 kB / 0.5669 GB, free: 10.43 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1468, allocations: 0 / 0.5669 GB, free: 10.43 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003052/0.1471, allocations: 51.92 kB / 0.567 GB, free: 10.38 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.003104/0.1502, allocations: 1.324 MB / 0.5683 GB, free: 9.188 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001479/0.1517, allocations: 478.3 kB / 0.5687 GB, free: 8.695 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1517, allocations: 0 / 0.5687 GB, free: 8.695 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006949/0.1524, allocations: 183.8 kB / 0.5689 GB, free: 8.516 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.1528, allocations: 42.39 kB / 0.569 GB, free: 8.477 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005955/0.1587, allocations: 2.894 MB / 0.5718 GB, free: 5.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.1591, allocations: 0.728 MB / 0.5725 GB, free: 4.727 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001484/0.1592, allocations: 29.41 kB / 0.5725 GB, free: 4.699 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.1594, allocations: 59.41 kB / 0.5726 GB, free: 4.641 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1594, allocations: 3.938 kB / 0.5726 GB, free: 4.637 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02871/0.1881, allocations: 5.877 MB / 0.5783 GB, free: 14.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.415/8.603, allocations: 0 / 0.5783 GB, free: 14.82 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test33_fmu --startTime=0 --stopTime=14 --stepSize=0.0056 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.554135298822075] Failed to read output from testmodel.py, exit status != 0: 8.731227098032832 8.758152242 8.627051742999999 Calling exit ...