Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.00129/0.00129, allocations: 112.2 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.001337/0.001337, 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.508/1.508, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2248/0.2248, allocations: 44.91 MB / 355.8 MB, free: 12.33 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.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_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.001931/0.001931, allocations: 63.91 kB / 0.4886 GB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1293, allocations: 65.43 MB / 0.5525 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003869/0.1331, allocations: 1.855 MB / 0.5543 GB, free: 8.262 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001972/0.1351, allocations: 1.029 MB / 0.5553 GB, free: 7.227 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.1352, allocations: 4 kB / 0.5553 GB, free: 7.223 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000297/0.1355, allocations: 59.72 kB / 0.5553 GB, free: 7.164 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000474/0.136, allocations: 123.4 kB / 0.5555 GB, free: 7.043 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005296/0.1365, allocations: 162.9 kB / 0.5556 GB, free: 6.887 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003692/0.1369, allocations: 203.4 kB / 0.5558 GB, free: 6.688 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.137, allocations: 21.77 kB / 0.5558 GB, free: 6.664 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/0.1372, allocations: 83.67 kB / 0.5559 GB, free: 6.582 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002072/0.1374, allocations: 103.6 kB / 0.556 GB, free: 6.48 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.661e-05/0.1375, allocations: 16 kB / 0.556 GB, free: 6.465 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.1376, allocations: 43.98 kB / 0.5561 GB, free: 6.422 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.1377, allocations: 39.83 kB / 0.5561 GB, free: 6.383 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.1378, allocations: 79.52 kB / 0.5562 GB, free: 6.305 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003563/0.1382, allocations: 183.3 kB / 0.5564 GB, free: 6.125 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1382, allocations: 0 / 0.5564 GB, free: 6.125 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1382, allocations: 0 / 0.5564 GB, free: 6.125 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.1382, allocations: 4 kB / 0.5564 GB, free: 6.121 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.001308/0.1395, allocations: 0.5914 MB / 0.5569 GB, free: 5.469 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.1395, allocations: 11.97 kB / 0.5569 GB, free: 5.457 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.928e-05/0.1396, allocations: 8.172 kB / 0.557 GB, free: 5.449 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.395e-05/0.1396, allocations: 34.75 kB / 0.557 GB, free: 5.406 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.604e-05/0.1397, allocations: 16.84 kB / 0.557 GB, free: 5.391 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/0.14, allocations: 240.9 kB / 0.5572 GB, free: 5.113 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.14, allocations: 12.06 kB / 0.5572 GB, free: 5.102 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.443e-05/0.14, allocations: 7.938 kB / 0.5572 GB, free: 5.094 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005417/0.1406, allocations: 141.5 kB / 0.5574 GB, free: 4.949 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.1406, allocations: 4 kB / 0.5574 GB, free: 4.945 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.1406, allocations: 0 / 0.5574 GB, free: 4.945 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1406, allocations: 0 / 0.5574 GB, free: 4.945 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007778/0.1414, allocations: 163.7 kB / 0.5575 GB, free: 4.785 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000598/0.142, allocations: 376.6 kB / 0.5579 GB, free: 4.367 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008536/0.1428, allocations: 190.4 kB / 0.5581 GB, free: 4.172 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004046/0.1432, allocations: 88.75 kB / 0.5582 GB, free: 4.082 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.543e-05/0.1433, allocations: 3.938 kB / 0.5582 GB, free: 4.078 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006207/0.1439, allocations: 167.2 kB / 0.5583 GB, free: 3.902 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.734e-06/0.1439, allocations: 0 / 0.5583 GB, free: 3.902 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.004079/0.148, allocations: 0.8243 MB / 0.5591 GB, free: 3.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.148, allocations: 63.39 kB / 0.5592 GB, free: 2.996 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003348/0.1484, allocations: 248.2 kB / 0.5594 GB, free: 2.742 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.985e-05/0.1484, allocations: 29.7 kB / 0.5595 GB, free: 2.707 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.1485, allocations: 124.1 kB / 0.5596 GB, free: 2.582 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.091e-05/0.1486, allocations: 43.83 kB / 0.5596 GB, free: 2.539 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.1487, allocations: 33.7 kB / 0.5597 GB, free: 2.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.1488, allocations: 338.9 kB / 0.56 GB, free: 2.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007867/0.1496, allocations: 163.8 kB / 0.5601 GB, free: 2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007491/0.1504, allocations: 174 kB / 0.5603 GB, free: 1.832 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/0.1518, allocations: 359.9 kB / 0.5606 GB, free: 1.465 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.1518, allocations: 3.984 kB / 0.5606 GB, free: 1.461 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0017/0.1535, allocations: 466.4 kB / 0.5611 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.896e-05/0.1536, allocations: 63.95 kB / 0.5612 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1536, allocations: 4 kB / 0.5612 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.1536, allocations: 3.938 kB / 0.5612 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004777/0.1541, allocations: 67.91 kB / 0.5612 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.1541, allocations: 3.984 kB / 0.5612 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004459/0.1546, allocations: 71.91 kB / 0.5613 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.1546, allocations: 11.94 kB / 0.5613 GB, free: 0.7539 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.000166/0.1547, allocations: 132 kB / 0.5614 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.67e-05/0.1548, allocations: 27.8 kB / 0.5615 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001649/0.1564, allocations: 402.8 kB / 0.5618 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.1565, allocations: 11.94 kB / 0.5619 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1565, allocations: 0 / 0.5619 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1565, allocations: 0 / 0.5619 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/0.1584, allocations: 0.6973 MB / 0.5625 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.1585, allocations: 3.938 kB / 0.5625 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004054/0.1589, allocations: 71.91 kB / 0.5626 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.1589, allocations: 3.984 kB / 0.5626 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.1589, allocations: 4 kB / 0.5626 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1589, allocations: 0 / 0.5626 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1589, allocations: 0 / 0.5626 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.1605, allocations: 483 kB / 0.5631 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.334e-05/0.1606, allocations: 96.89 kB / 0.5632 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.046e-05/0.1606, allocations: 8 kB / 0.5632 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004504/0.1611, allocations: 71.89 kB / 0.5632 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/0.1613, allocations: 43.94 kB / 0.5633 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.1613, allocations: 4 kB / 0.5633 GB, free: 14.61 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002096/0.1615, allocations: 181.8 kB / 0.5635 GB, free: 14.44 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1615, allocations: 0 / 0.5635 GB, free: 14.44 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003273/0.1618, allocations: 51.92 kB / 0.5635 GB, free: 14.39 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.003391/0.1652, allocations: 1.315 MB / 0.5648 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001711/0.1669, allocations: 462.4 kB / 0.5652 GB, free: 12.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1669, allocations: 0 / 0.5652 GB, free: 12.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008069/0.1677, allocations: 179.7 kB / 0.5654 GB, free: 12.56 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.1681, allocations: 41.12 kB / 0.5655 GB, free: 12.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006664/0.1748, allocations: 2.831 MB / 0.5682 GB, free: 9.586 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.1752, allocations: 0.7202 MB / 0.5689 GB, free: 8.84 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001268/0.1753, allocations: 25.41 kB / 0.5689 GB, free: 8.816 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.1755, allocations: 55.41 kB / 0.569 GB, free: 8.762 MB / 430.1 MB Notification: Performance of SimCode: time 1.142e-06/0.1755, allocations: 3.938 kB / 0.569 GB, free: 8.758 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02448/0.1999, allocations: 5.821 MB / 0.5747 GB, free: 3.012 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.798/8.998, allocations: 11.98 kB / 0.5747 GB, free: 3 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33_fmu --startTime=0 --stopTime=14 --stepSize=0.0056 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.023834994994104] Failed to read output from testmodel.py, exit status != 0: 9.182050646049902 9.202886204 9.061308991 Calling exit ...