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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 114.3 kB / 18.49 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 219 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.471/1.471, allocations: 230.6 MB / 254.8 MB, free: 15.06 MB / 206.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.2239/0.2239, allocations: 44.9 MB / 355.8 MB, free: 12.32 MB / 286.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 67.91 kB / 0.4886 GB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1313, allocations: 65.42 MB / 0.5524 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003495/0.1348, allocations: 1.877 MB / 0.5543 GB, free: 8.242 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00189/0.1367, allocations: 1.056 MB / 0.5553 GB, free: 7.18 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.433e-05/0.1368, allocations: 0 / 0.5553 GB, free: 7.18 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002802/0.1371, allocations: 55.73 kB / 0.5554 GB, free: 7.125 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003565/0.1374, allocations: 131.4 kB / 0.5555 GB, free: 6.996 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005315/0.1379, allocations: 202.8 kB / 0.5557 GB, free: 6.801 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.1382, allocations: 207.3 kB / 0.5559 GB, free: 6.598 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.1383, allocations: 25.77 kB / 0.5559 GB, free: 6.57 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.1385, allocations: 83.73 kB / 0.556 GB, free: 6.488 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.1386, allocations: 111.5 kB / 0.5561 GB, free: 6.379 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.998e-05/0.1387, allocations: 12 kB / 0.5561 GB, free: 6.367 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.97e-05/0.1387, allocations: 44 kB / 0.5561 GB, free: 6.324 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.379e-05/0.1388, allocations: 43.83 kB / 0.5562 GB, free: 6.281 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.1389, allocations: 75.58 kB / 0.5563 GB, free: 6.207 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002857/0.1392, allocations: 191.2 kB / 0.5564 GB, free: 6.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1392, allocations: 0 / 0.5564 GB, free: 6.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1392, allocations: 7.938 kB / 0.5564 GB, free: 6.012 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.1392, allocations: 0 / 0.5564 GB, free: 6.012 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.001191/0.1404, allocations: 0.5836 MB / 0.557 GB, free: 5.367 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.1405, allocations: 12.03 kB / 0.557 GB, free: 5.355 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.485e-05/0.1405, allocations: 4.188 kB / 0.557 GB, free: 5.352 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.067e-05/0.1405, allocations: 42.73 kB / 0.5571 GB, free: 5.301 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.563e-05/0.1406, allocations: 16.84 kB / 0.5571 GB, free: 5.285 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/0.1409, allocations: 244.8 kB / 0.5573 GB, free: 5.004 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.1409, allocations: 12.06 kB / 0.5573 GB, free: 4.992 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.388e-05/0.1409, allocations: 4 kB / 0.5573 GB, free: 4.988 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000551/0.1415, allocations: 145.5 kB / 0.5575 GB, free: 4.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1415, allocations: 4 kB / 0.5575 GB, free: 4.836 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.1415, allocations: 0 / 0.5575 GB, free: 4.836 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1415, allocations: 4 kB / 0.5575 GB, free: 4.832 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007746/0.1423, allocations: 171.7 kB / 0.5577 GB, free: 4.664 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009273/0.1432, allocations: 424.6 kB / 0.5581 GB, free: 4.199 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008263/0.144, allocations: 198.3 kB / 0.5582 GB, free: 3.996 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004044/0.1444, allocations: 88.92 kB / 0.5583 GB, free: 3.906 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.1445, allocations: 11.92 kB / 0.5583 GB, free: 3.895 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005946/0.1451, allocations: 167.2 kB / 0.5585 GB, free: 3.719 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.683e-06/0.1451, allocations: 3.938 kB / 0.5585 GB, free: 3.715 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.004045/0.1491, allocations: 0.8361 MB / 0.5593 GB, free: 2.871 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/0.1492, allocations: 59.41 kB / 0.5594 GB, free: 2.801 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/0.1495, allocations: 253 kB / 0.5596 GB, free: 2.543 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.026e-05/0.1495, allocations: 37.69 kB / 0.5597 GB, free: 2.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.993e-05/0.1496, allocations: 124.1 kB / 0.5598 GB, free: 2.375 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.225e-05/0.1497, allocations: 35.69 kB / 0.5598 GB, free: 2.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.359e-05/0.1497, allocations: 33.7 kB / 0.5598 GB, free: 2.301 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.1499, allocations: 334.8 kB / 0.5602 GB, free: 1.965 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008019/0.1507, allocations: 171.8 kB / 0.5603 GB, free: 1.797 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007736/0.1515, allocations: 181.8 kB / 0.5605 GB, free: 1.621 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/0.153, allocations: 377.8 kB / 0.5609 GB, free: 1.238 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.153, allocations: 0 / 0.5609 GB, free: 1.238 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001738/0.1547, allocations: 476.5 kB / 0.5613 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.692e-05/0.1548, allocations: 63.39 kB / 0.5614 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.1548, allocations: 7.984 kB / 0.5614 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.1548, allocations: 7.938 kB / 0.5614 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004575/0.1553, allocations: 67.91 kB / 0.5615 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.1553, allocations: 0 / 0.5615 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004363/0.1557, allocations: 63.91 kB / 0.5615 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/0.1557, allocations: 11.94 kB / 0.5615 GB, free: 0.5234 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.000176/0.1559, allocations: 132.1 kB / 0.5616 GB, free: 396 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.156, allocations: 23.84 kB / 0.5617 GB, free: 372 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001734/0.1577, allocations: 419.6 kB / 0.5621 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.433e-06/0.1577, allocations: 3.938 kB / 0.5621 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1577, allocations: 4 kB / 0.5621 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.1577, allocations: 3.984 kB / 0.5621 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/0.1597, allocations: 0.7323 MB / 0.5628 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.1597, allocations: 3.938 kB / 0.5628 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004188/0.1601, allocations: 67.84 kB / 0.5629 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1601, allocations: 0 / 0.5629 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.1601, allocations: 7.984 kB / 0.5629 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1601, allocations: 4 kB / 0.5629 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.1601, allocations: 3.984 kB / 0.5629 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/0.1618, allocations: 486.8 kB / 0.5633 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.545e-05/0.1619, allocations: 104.9 kB / 0.5634 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.1619, allocations: 4 kB / 0.5635 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004518/0.1624, allocations: 63.91 kB / 0.5635 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.1625, allocations: 47.94 kB / 0.5636 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.1625, allocations: 7.984 kB / 0.5636 GB, free: 14.33 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001908/0.1627, allocations: 188.5 kB / 0.5637 GB, free: 14.14 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1627, allocations: 0 / 0.5637 GB, free: 14.14 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003107/0.163, allocations: 48 kB / 0.5638 GB, free: 14.1 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.003394/0.1664, allocations: 1.337 MB / 0.5651 GB, free: 12.9 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001763/0.1682, allocations: 478.3 kB / 0.5656 GB, free: 12.41 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1682, allocations: 0 / 0.5656 GB, free: 12.41 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008014/0.169, allocations: 179.8 kB / 0.5657 GB, free: 12.23 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.1694, allocations: 28.66 kB / 0.5658 GB, free: 12.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006523/0.1759, allocations: 2.898 MB / 0.5686 GB, free: 9.199 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.1762, allocations: 0.7358 MB / 0.5693 GB, free: 8.438 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001467/0.1764, allocations: 29.39 kB / 0.5693 GB, free: 8.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.1765, allocations: 55.42 kB / 0.5694 GB, free: 8.355 MB / 430.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1765, allocations: 0 / 0.5694 GB, free: 8.355 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02332/0.1999, allocations: 5.907 MB / 0.5751 GB, free: 2.531 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.684/8.884, allocations: 10.97 kB / 0.5752 GB, free: 2.523 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 os._exit(0), Time elapsed: 11.799676337046549] Failed to read output from testmodel.py, exit status != 0: 9.065624537004624 9.086079878 8.943067254 Calling exit ...