Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 118.1 kB / 18.5 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 193.2 kB / 21.44 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 225.6 MB / 249.8 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2178/0.2178, allocations: 44.91 MB / 349.6 MB, free: 1.742 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 64.48 kB / 491.8 MB, free: 30.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1106, allocations: 64.25 MB / 0.543 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003263/0.1139, allocations: 1.833 MB / 0.5448 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001407/0.1153, allocations: 0.8886 MB / 0.5457 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.146e-05/0.1154, allocations: 11.94 kB / 0.5457 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002349/0.1156, allocations: 67.72 kB / 0.5457 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00026/0.1159, allocations: 67.61 kB / 0.5458 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005086/0.1164, allocations: 222.6 kB / 0.546 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002717/0.1166, allocations: 187.5 kB / 0.5462 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1167, allocations: 29.34 kB / 0.5462 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.1169, allocations: 75.75 kB / 0.5463 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.117, allocations: 103.6 kB / 0.5464 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.104e-05/0.1171, allocations: 16 kB / 0.5464 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.007e-05/0.1172, allocations: 43.92 kB / 0.5465 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.621e-05/0.1173, allocations: 47.81 kB / 0.5465 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.195e-05/0.1174, allocations: 67.59 kB / 0.5466 GB, free: 464 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002725/0.1176, allocations: 191.3 kB / 0.5468 GB, free: 272 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1176, allocations: 0 / 0.5468 GB, free: 272 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1176, allocations: 0 / 0.5468 GB, free: 272 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.1176, allocations: 3.938 kB / 0.5468 GB, free: 268 kB / 398.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.001104/0.1187, allocations: 0.5759 MB / 0.5473 GB, free: 15.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.1188, allocations: 8.031 kB / 0.5473 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.933e-05/0.1188, allocations: 42.75 kB / 0.5474 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.223e-05/0.1189, allocations: 16.84 kB / 0.5474 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.1191, allocations: 228 kB / 0.5476 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.1192, allocations: 12.31 kB / 0.5476 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.1192, allocations: 7.938 kB / 0.5476 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005675/0.1198, allocations: 153.5 kB / 0.5478 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1198, allocations: 4 kB / 0.5478 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.1198, allocations: 0 / 0.5478 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.1198, allocations: 4 kB / 0.5478 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006899/0.1205, allocations: 167.8 kB / 0.5479 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008197/0.1213, allocations: 432.5 kB / 0.5483 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007532/0.1221, allocations: 194.3 kB / 0.5485 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003399/0.1224, allocations: 92.77 kB / 0.5486 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.1224, allocations: 4 kB / 0.5486 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005307/0.1229, allocations: 159.2 kB / 0.5488 GB, free: 14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.123, allocations: 0 / 0.5488 GB, free: 14 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003445/0.1264, allocations: 0.8438 MB / 0.5496 GB, free: 13.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.1264, allocations: 55.34 kB / 0.5497 GB, free: 13.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003015/0.1267, allocations: 247.2 kB / 0.5499 GB, free: 12.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.1268, allocations: 29.7 kB / 0.5499 GB, free: 12.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.1269, allocations: 128.1 kB / 0.55 GB, free: 12.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.939e-05/0.1269, allocations: 43.78 kB / 0.5501 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.745e-05/0.127, allocations: 33.81 kB / 0.5501 GB, free: 12.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002248/0.1272, allocations: 334.8 kB / 0.5504 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007816/0.128, allocations: 175.8 kB / 0.5506 GB, free: 12.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001093/0.1291, allocations: 179.8 kB / 0.5508 GB, free: 11.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001996/0.1311, allocations: 369.5 kB / 0.5511 GB, free: 11.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1311, allocations: 0 / 0.5511 GB, free: 11.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.002218/0.1333, allocations: 475.3 kB / 0.5516 GB, free: 11.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.565e-05/0.1334, allocations: 63.39 kB / 0.5516 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.1334, allocations: 0 / 0.5516 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.1334, allocations: 3.984 kB / 0.5516 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005749/0.134, allocations: 71.84 kB / 0.5517 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.134, allocations: 0 / 0.5517 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006095/0.1346, allocations: 67.91 kB / 0.5518 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.324e-05/0.1347, allocations: 4 kB / 0.5518 GB, free: 10.83 MB / 414.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.0002065/0.1349, allocations: 145.7 kB / 0.5519 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.585e-05/0.1349, allocations: 15.91 kB / 0.5519 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001797/0.1367, allocations: 414.8 kB / 0.5523 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.1367, allocations: 7.938 kB / 0.5523 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1367, allocations: 0 / 0.5523 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1367, allocations: 0 / 0.5523 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/0.1385, allocations: 0.7284 MB / 0.553 GB, free: 9.453 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.1385, allocations: 0 / 0.553 GB, free: 9.453 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003567/0.1389, allocations: 67.84 kB / 0.5531 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.1389, allocations: 0 / 0.5531 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.1389, allocations: 4 kB / 0.5531 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1389, allocations: 0 / 0.5531 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1389, allocations: 4 kB / 0.5531 GB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001418/0.1403, allocations: 487.6 kB / 0.5536 GB, free: 8.887 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.859e-05/0.1404, allocations: 104.9 kB / 0.5537 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.162e-05/0.1404, allocations: 4 kB / 0.5537 GB, free: 8.762 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004104/0.1409, allocations: 67.91 kB / 0.5538 GB, free: 8.695 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.141, allocations: 47.94 kB / 0.5538 GB, free: 8.648 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.141, allocations: 11.98 kB / 0.5538 GB, free: 8.637 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001739/0.1412, allocations: 180.5 kB / 0.554 GB, free: 8.461 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1412, allocations: 7.938 kB / 0.554 GB, free: 8.453 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002978/0.1415, allocations: 43.94 kB / 0.554 GB, free: 8.41 MB / 414.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.003213/0.1447, allocations: 1.318 MB / 0.5553 GB, free: 7.238 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001532/0.1462, allocations: 478.4 kB / 0.5558 GB, free: 6.746 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1462, allocations: 0 / 0.5558 GB, free: 6.746 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007794/0.147, allocations: 187.2 kB / 0.556 GB, free: 6.566 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.1474, allocations: 36.58 kB / 0.556 GB, free: 6.527 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005934/0.1533, allocations: 2.867 MB / 0.5588 GB, free: 3.566 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.1537, allocations: 0.7318 MB / 0.5595 GB, free: 2.809 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001455/0.1538, allocations: 33.39 kB / 0.5595 GB, free: 2.777 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.154, allocations: 55.41 kB / 0.5596 GB, free: 2.723 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.154, allocations: 3.938 kB / 0.5596 GB, free: 2.719 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02649/0.1805, allocations: 5.743 MB / 0.5652 GB, free: 13.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.268/8.448, allocations: 5.109 kB / 0.5652 GB, free: 13.01 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33_fmu --startTime=0 --stopTime=14 --stepSize=0.0056 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.224964426830411] Failed to read output from testmodel.py, exit status != 0: 8.56995155196637 8.588348233 8.4676507 Calling exit ...