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.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.001763/0.001763, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002049/0.002049, allocations: 211.2 kB / 20.75 MB, free: 2.27 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.496/1.496, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2654/0.2654, allocations: 44.91 MB / 355.1 MB, free: 12.34 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.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: 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.001967/0.001967, allocations: 71.89 kB / 499.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1293, allocations: 65.43 MB / 0.5518 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003755/0.133, allocations: 2.03 MB / 0.5538 GB, free: 8.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002075/0.1351, allocations: 1.126 MB / 0.5549 GB, free: 6.887 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.1352, allocations: 3.938 kB / 0.5549 GB, free: 6.883 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003415/0.1356, allocations: 47.62 kB / 0.555 GB, free: 6.836 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003761/0.1359, allocations: 111.4 kB / 0.5551 GB, free: 6.727 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.1362, allocations: 107.7 kB / 0.5552 GB, free: 6.621 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003056/0.1365, allocations: 203.4 kB / 0.5554 GB, free: 6.422 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.1366, allocations: 29.88 kB / 0.5554 GB, free: 6.395 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.1368, allocations: 91.56 kB / 0.5555 GB, free: 6.305 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.1369, allocations: 79.61 kB / 0.5556 GB, free: 6.227 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.984e-05/0.137, allocations: 12 kB / 0.5556 GB, free: 6.215 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.1371, allocations: 51.98 kB / 0.5556 GB, free: 6.164 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.747e-05/0.1371, allocations: 39.84 kB / 0.5557 GB, free: 6.125 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.1373, allocations: 79.45 kB / 0.5557 GB, free: 6.047 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003226/0.1376, allocations: 199.1 kB / 0.5559 GB, free: 5.852 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.1376, allocations: 8 kB / 0.5559 GB, free: 5.844 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1376, allocations: 0 / 0.5559 GB, free: 5.844 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1376, allocations: 0 / 0.5559 GB, free: 5.844 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001049/0.1386, allocations: 0.5679 MB / 0.5565 GB, free: 5.215 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.1387, allocations: 8.031 kB / 0.5565 GB, free: 5.207 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.457e-05/0.1387, allocations: 46.67 kB / 0.5565 GB, free: 5.152 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.005e-05/0.1388, allocations: 20.78 kB / 0.5566 GB, free: 5.133 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004029/0.1392, allocations: 248 kB / 0.5568 GB, free: 4.852 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.1392, allocations: 12.38 kB / 0.5568 GB, free: 4.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.1393, allocations: 11.94 kB / 0.5568 GB, free: 4.828 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004629/0.1397, allocations: 152 kB / 0.557 GB, free: 4.664 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.1397, allocations: 3.984 kB / 0.557 GB, free: 4.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/0.1397, allocations: 4 kB / 0.557 GB, free: 4.656 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.1398, allocations: 4 kB / 0.557 GB, free: 4.652 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004934/0.1403, allocations: 115.8 kB / 0.5571 GB, free: 4.539 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007405/0.141, allocations: 0.54 MB / 0.5576 GB, free: 3.941 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007087/0.1417, allocations: 158.5 kB / 0.5578 GB, free: 3.777 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002749/0.142, allocations: 68.8 kB / 0.5578 GB, free: 3.707 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.142, allocations: 4 kB / 0.5578 GB, free: 3.703 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004115/0.1424, allocations: 135.2 kB / 0.558 GB, free: 3.559 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/0.1424, allocations: 0 / 0.558 GB, free: 3.559 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009836/0.1434, allocations: 261.3 kB / 0.5582 GB, free: 3.297 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.1435, allocations: 63.39 kB / 0.5583 GB, free: 3.223 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/0.1438, allocations: 240.2 kB / 0.5585 GB, free: 2.977 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.1438, allocations: 25.7 kB / 0.5585 GB, free: 2.945 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.1439, allocations: 132.3 kB / 0.5586 GB, free: 2.809 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.256e-05/0.1439, allocations: 39.69 kB / 0.5587 GB, free: 2.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.47e-05/0.144, allocations: 37.7 kB / 0.5587 GB, free: 2.727 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.1442, allocations: 330.8 kB / 0.559 GB, free: 2.395 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002803/0.1445, allocations: 63.94 kB / 0.5591 GB, free: 2.332 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003075/0.1448, allocations: 108.2 kB / 0.5592 GB, free: 2.211 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005608/0.1454, allocations: 193.8 kB / 0.5594 GB, free: 2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1454, allocations: 0 / 0.5594 GB, free: 2 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007192/0.1461, allocations: 255 kB / 0.5596 GB, free: 1.738 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.1e-05/0.1461, allocations: 36.02 kB / 0.5597 GB, free: 1.699 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.1461, allocations: 4 kB / 0.5597 GB, free: 1.695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.1462, allocations: 3.938 kB / 0.5597 GB, free: 1.691 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.1464, allocations: 43.89 kB / 0.5597 GB, free: 1.648 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1464, allocations: 0 / 0.5597 GB, free: 1.648 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.1466, allocations: 31.86 kB / 0.5597 GB, free: 1.617 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.1466, allocations: 8 kB / 0.5597 GB, free: 1.609 MB / 414.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.0001418/0.1467, allocations: 144 kB / 0.5599 GB, free: 1.461 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.537e-05/0.1468, allocations: 15.91 kB / 0.5599 GB, free: 1.445 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.01e-05/0.1468, allocations: 25.39 kB / 0.5599 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.1468, allocations: 3.938 kB / 0.5599 GB, free: 1.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1468, allocations: 0 / 0.5599 GB, free: 1.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1468, allocations: 3.938 kB / 0.5599 GB, free: 1.406 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002632/0.1471, allocations: 237.5 kB / 0.5602 GB, free: 1.125 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1471, allocations: 0 / 0.5602 GB, free: 1.125 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.1473, allocations: 27.97 kB / 0.5602 GB, free: 1.098 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.1473, allocations: 4 kB / 0.5602 GB, free: 1.094 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.1473, allocations: 4 kB / 0.5602 GB, free: 1.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.1473, allocations: 3.938 kB / 0.5602 GB, free: 1.086 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1473, allocations: 3.984 kB / 0.5602 GB, free: 1.082 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009397/0.1483, allocations: 301.2 kB / 0.5605 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.726e-05/0.1483, allocations: 100.9 kB / 0.5606 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.591e-05/0.1484, allocations: 8 kB / 0.5606 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.1485, allocations: 23.91 kB / 0.5606 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.474e-05/0.1486, allocations: 15.97 kB / 0.5606 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/0.1486, allocations: 7.984 kB / 0.5606 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001909/0.1488, allocations: 177.6 kB / 0.5608 GB, free: 436 kB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1488, allocations: 4.062 kB / 0.5608 GB, free: 432 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.1491, allocations: 32 kB / 0.5608 GB, free: 400 kB / 414.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.002739/0.1518, allocations: 1.15 MB / 0.562 GB, free: 15.38 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007118/0.1526, allocations: 207.4 kB / 0.5622 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1526, allocations: 4.062 kB / 0.5622 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002902/0.1528, allocations: 71.94 kB / 0.5622 GB, free: 15.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.1532, allocations: 55.17 kB / 0.5623 GB, free: 15.04 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003607/0.1568, allocations: 2.182 MB / 0.5644 GB, free: 12.74 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.1572, allocations: 0.7241 MB / 0.5651 GB, free: 11.99 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001026/0.1573, allocations: 25.53 kB / 0.5651 GB, free: 11.96 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.1574, allocations: 63.34 kB / 0.5652 GB, free: 11.9 MB / 430.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1574, allocations: 0 / 0.5652 GB, free: 11.9 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03093/0.1883, allocations: 5.034 MB / 0.5701 GB, free: 6.941 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.144/8.333, allocations: 8.875 kB / 0.5701 GB, free: 6.934 MB / 430.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.559621453750879] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 8.460364025086164 8.481700902 8.340912493 Calling exit ...