Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.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.001258/0.001258, allocations: 117.7 kB / 18.45 MB, free: 4.613 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.001356/0.001356, allocations: 186.9 kB / 21.39 MB, free: 1.684 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.425/1.425, allocations: 222.9 MB / 247.1 MB, free: 4.348 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.3505/0.3505, allocations: 44.25 MB / 343.5 MB, free: 7.641 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.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002647/0.002647, allocations: 70.48 kB / 478.9 MB, free: 24.55 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1337, allocations: 60.84 MB / 0.5271 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003766/0.1375, allocations: 2.007 MB / 0.529 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.1393, allocations: 0.9626 MB / 0.53 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.1395, allocations: 11.94 kB / 0.53 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003384/0.1399, allocations: 35.72 kB / 0.53 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003033/0.1402, allocations: 79.48 kB / 0.5301 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004619/0.1407, allocations: 144.7 kB / 0.5302 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003349/0.141, allocations: 203.4 kB / 0.5304 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.1412, allocations: 33.89 kB / 0.5305 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001736/0.1413, allocations: 83.56 kB / 0.5305 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.1415, allocations: 75.69 kB / 0.5306 GB, free: 9.988 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.664e-05/0.1415, allocations: 12 kB / 0.5306 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.1417, allocations: 43.98 kB / 0.5307 GB, free: 9.934 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.258e-05/0.1418, allocations: 47.7 kB / 0.5307 GB, free: 9.887 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.778e-05/0.1419, allocations: 67.59 kB / 0.5308 GB, free: 9.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003437/0.1422, allocations: 199.1 kB / 0.531 GB, free: 9.625 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1422, allocations: 4 kB / 0.531 GB, free: 9.621 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1422, allocations: 0 / 0.531 GB, free: 9.621 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1423, allocations: 4 kB / 0.531 GB, free: 9.617 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009953/0.1433, allocations: 0.5524 MB / 0.5315 GB, free: 9.004 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.1433, allocations: 8.031 kB / 0.5315 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.983e-05/0.1434, allocations: 42.73 kB / 0.5316 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.217e-05/0.1434, allocations: 20.84 kB / 0.5316 GB, free: 8.926 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003758/0.1438, allocations: 252.9 kB / 0.5318 GB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.1438, allocations: 8.375 kB / 0.5318 GB, free: 8.629 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.06e-05/0.1439, allocations: 15.94 kB / 0.5318 GB, free: 8.613 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004229/0.1443, allocations: 144.1 kB / 0.532 GB, free: 8.457 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.1443, allocations: 4 kB / 0.532 GB, free: 8.453 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.1443, allocations: 4 kB / 0.532 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.1443, allocations: 4 kB / 0.532 GB, free: 8.445 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004631/0.1448, allocations: 115.8 kB / 0.5321 GB, free: 8.332 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000682/0.1455, allocations: 0.5322 MB / 0.5326 GB, free: 7.742 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000688/0.1462, allocations: 170.5 kB / 0.5328 GB, free: 7.566 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002557/0.1465, allocations: 72.8 kB / 0.5329 GB, free: 7.492 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.1465, allocations: 3.984 kB / 0.5329 GB, free: 7.488 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003901/0.1469, allocations: 139.2 kB / 0.533 GB, free: 7.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.714e-06/0.1469, allocations: 4 kB / 0.533 GB, free: 7.336 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009193/0.1478, allocations: 253.3 kB / 0.5332 GB, free: 7.082 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.1479, allocations: 55.39 kB / 0.5333 GB, free: 7.016 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.1482, allocations: 227.2 kB / 0.5335 GB, free: 6.781 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.1482, allocations: 29.7 kB / 0.5335 GB, free: 6.746 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.1483, allocations: 124.3 kB / 0.5337 GB, free: 6.617 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.002e-05/0.1484, allocations: 35.88 kB / 0.5337 GB, free: 6.582 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.91e-05/0.1484, allocations: 33.7 kB / 0.5337 GB, free: 6.543 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.1486, allocations: 334.8 kB / 0.534 GB, free: 6.207 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/0.1489, allocations: 63.94 kB / 0.5341 GB, free: 6.145 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/0.1492, allocations: 110.1 kB / 0.5342 GB, free: 6.023 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005616/0.1497, allocations: 193.5 kB / 0.5344 GB, free: 5.816 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1498, allocations: 0 / 0.5344 GB, free: 5.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006877/0.1504, allocations: 263.1 kB / 0.5346 GB, free: 5.547 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.835e-05/0.1505, allocations: 35.42 kB / 0.5347 GB, free: 5.508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1505, allocations: 0 / 0.5347 GB, free: 5.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.1505, allocations: 3.938 kB / 0.5347 GB, free: 5.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.1507, allocations: 43.84 kB / 0.5347 GB, free: 5.461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.1507, allocations: 3.984 kB / 0.5347 GB, free: 5.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.1509, allocations: 27.94 kB / 0.5348 GB, free: 5.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.151, allocations: 12 kB / 0.5348 GB, free: 5.418 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001442/0.1511, allocations: 133.8 kB / 0.5349 GB, free: 5.277 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.515e-05/0.1512, allocations: 15.91 kB / 0.5349 GB, free: 5.262 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.421e-05/0.1512, allocations: 25.33 kB / 0.5349 GB, free: 5.234 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.1512, allocations: 7.938 kB / 0.5349 GB, free: 5.227 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1513, allocations: 0 / 0.5349 GB, free: 5.227 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.1513, allocations: 0 / 0.5349 GB, free: 5.227 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/0.1515, allocations: 245.4 kB / 0.5352 GB, free: 4.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1515, allocations: 4 kB / 0.5352 GB, free: 4.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.1517, allocations: 27.97 kB / 0.5352 GB, free: 4.906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1517, allocations: 0 / 0.5352 GB, free: 4.906 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.1517, allocations: 0 / 0.5352 GB, free: 4.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.1517, allocations: 3.938 kB / 0.5352 GB, free: 4.902 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1517, allocations: 4 kB / 0.5352 GB, free: 4.898 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008922/0.1526, allocations: 309.2 kB / 0.5355 GB, free: 4.578 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.569e-05/0.1527, allocations: 96.94 kB / 0.5356 GB, free: 4.465 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/0.1527, allocations: 0 / 0.5356 GB, free: 4.465 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.1529, allocations: 27.91 kB / 0.5356 GB, free: 4.438 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.822e-05/0.153, allocations: 19.97 kB / 0.5356 GB, free: 4.418 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.153, allocations: 8.062 kB / 0.5357 GB, free: 4.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000163/0.1532, allocations: 164.7 kB / 0.5358 GB, free: 4.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1532, allocations: 0 / 0.5358 GB, free: 4.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000251/0.1534, allocations: 35.94 kB / 0.5358 GB, free: 4.215 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002548/0.156, allocations: 1.143 MB / 0.537 GB, free: 3.215 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006566/0.1567, allocations: 219.3 kB / 0.5372 GB, free: 2.988 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1567, allocations: 0 / 0.5372 GB, free: 2.988 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002836/0.157, allocations: 75.88 kB / 0.5372 GB, free: 2.914 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.1573, allocations: 46.41 kB / 0.5373 GB, free: 2.871 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003434/0.1608, allocations: 2.172 MB / 0.5394 GB, free: 0.582 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.1612, allocations: 0.7241 MB / 0.5401 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.77e-05/0.1613, allocations: 21.53 kB / 0.5401 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.1614, allocations: 55.36 kB / 0.5402 GB, free: 15.75 MB / 414.1 MB Notification: Performance of SimCode: time 1.303e-06/0.1614, allocations: 0 / 0.5402 GB, free: 15.75 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02886/0.1903, allocations: 4.956 MB / 0.545 GB, free: 10.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.908/8.099, allocations: 14.16 kB / 0.545 GB, free: 10.88 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039968 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.14705851895269] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 8.223620962002315 8.24706291 8.100616798 Calling exit ...