Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001407/0.001407, allocations: 116.2 kB / 18.5 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001453/0.001453, allocations: 205 kB / 21.45 MB, free: 1.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 230.5 MB / 254.7 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2384/0.2384, allocations: 46.93 MB / 357.7 MB, free: 10.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002313/0.002313, allocations: 87.88 kB / 0.4918 GB, free: 7.746 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1384, allocations: 66.04 MB / 0.5562 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003175/0.1416, allocations: 1.736 MB / 0.5579 GB, free: 3.824 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001722/0.1433, allocations: 1.034 MB / 0.5589 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.354e-05/0.1434, allocations: 0 / 0.5589 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003216/0.1437, allocations: 43.77 kB / 0.559 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003018/0.144, allocations: 91.55 kB / 0.5591 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.1442, allocations: 83.66 kB / 0.5592 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.1444, allocations: 107.7 kB / 0.5593 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.873e-05/0.1445, allocations: 15.98 kB / 0.5593 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.444e-05/0.1446, allocations: 43.78 kB / 0.5593 GB, free: 2.406 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.888e-05/0.1447, allocations: 31.8 kB / 0.5593 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.1447, allocations: 4 kB / 0.5594 GB, free: 2.371 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.1448, allocations: 47.97 kB / 0.5594 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.825e-05/0.1449, allocations: 27.86 kB / 0.5594 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.468e-05/0.1449, allocations: 31.75 kB / 0.5595 GB, free: 2.266 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.1451, allocations: 119.5 kB / 0.5596 GB, free: 2.148 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1451, allocations: 0 / 0.5596 GB, free: 2.148 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1451, allocations: 0 / 0.5596 GB, free: 2.148 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1452, allocations: 7.938 kB / 0.5596 GB, free: 2.141 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006101/0.1458, allocations: 438.5 kB / 0.56 GB, free: 1.664 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.1458, allocations: 8.031 kB / 0.56 GB, free: 1.656 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.511e-05/0.1458, allocations: 34.75 kB / 0.56 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.417e-05/0.1459, allocations: 12.89 kB / 0.56 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.1462, allocations: 212.1 kB / 0.5603 GB, free: 1.355 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.1462, allocations: 4.375 kB / 0.5603 GB, free: 1.352 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.1462, allocations: 4.375 kB / 0.5603 GB, free: 1.348 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.1464, allocations: 65.8 kB / 0.5603 GB, free: 1.277 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.1464, allocations: 3.984 kB / 0.5603 GB, free: 1.273 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.1464, allocations: 0 / 0.5603 GB, free: 1.273 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1464, allocations: 0 / 0.5603 GB, free: 1.273 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.284e-05/0.1465, allocations: 23.92 kB / 0.5603 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004117/0.1469, allocations: 292.8 kB / 0.5606 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.1471, allocations: 54.69 kB / 0.5607 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.318e-05/0.1472, allocations: 20.84 kB / 0.5607 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.1472, allocations: 0 / 0.5607 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/0.1473, allocations: 75.31 kB / 0.5608 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.1473, allocations: 0 / 0.5608 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005477/0.1479, allocations: 177.3 kB / 0.5609 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.1479, allocations: 55.41 kB / 0.561 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/0.1481, allocations: 210.1 kB / 0.5612 GB, free: 288 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.1482, allocations: 29.7 kB / 0.5612 GB, free: 252 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.095e-05/0.1483, allocations: 104.1 kB / 0.5613 GB, free: 144 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.1483, allocations: 23.84 kB / 0.5613 GB, free: 120 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/0.1483, allocations: 21.72 kB / 0.5614 GB, free: 92 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002146/0.1485, allocations: 326.8 kB / 0.5617 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.476e-05/0.1486, allocations: 27.98 kB / 0.5617 GB, free: 15.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.881e-05/0.1487, allocations: 33.7 kB / 0.5617 GB, free: 15.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.1488, allocations: 61.64 kB / 0.5618 GB, free: 15.63 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1488, allocations: 0 / 0.5618 GB, free: 15.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002276/0.149, allocations: 101.6 kB / 0.5619 GB, free: 15.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.149, allocations: 15.88 kB / 0.5619 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.149, allocations: 32 / 0.5619 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1491, allocations: 4 kB / 0.5619 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.246e-05/0.1492, allocations: 15.98 kB / 0.5619 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.1492, allocations: 4.188 kB / 0.5619 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.516e-05/0.1492, allocations: 0 / 0.5619 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.1492, allocations: 7.938 kB / 0.5619 GB, free: 15.48 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001144/0.1493, allocations: 129.8 kB / 0.5621 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.1494, allocations: 15.91 kB / 0.5621 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.497e-05/0.1494, allocations: 17.39 kB / 0.5621 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.1494, allocations: 8.375 kB / 0.5621 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1494, allocations: 0 / 0.5621 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1494, allocations: 0 / 0.5621 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004763/0.1499, allocations: 399.3 kB / 0.5625 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1499, allocations: 0 / 0.5625 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.125e-05/0.1499, allocations: 19.92 kB / 0.5625 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1499, allocations: 0 / 0.5625 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.15, allocations: 4 kB / 0.5625 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.15, allocations: 3.938 kB / 0.5625 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.15, allocations: 4.031 kB / 0.5625 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.1502, allocations: 200.5 kB / 0.5627 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.416e-05/0.1503, allocations: 85.06 kB / 0.5628 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.1503, allocations: 0 / 0.5628 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.075e-05/0.1504, allocations: 11.92 kB / 0.5628 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/0.1504, allocations: 4 kB / 0.5628 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.1504, allocations: 12 kB / 0.5628 GB, free: 14.47 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001452/0.1506, allocations: 164.2 kB / 0.563 GB, free: 14.31 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1506, allocations: 0 / 0.563 GB, free: 14.31 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000249/0.1508, allocations: 23.94 kB / 0.563 GB, free: 14.29 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00208/0.1529, allocations: 1.086 MB / 0.564 GB, free: 13.34 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001989/0.1531, allocations: 63.83 kB / 0.5641 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1531, allocations: 0 / 0.5641 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.94e-05/0.1532, allocations: 35.98 kB / 0.5641 GB, free: 13.24 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.1535, allocations: 31.91 kB / 0.5642 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.1556, allocations: 1.692 MB / 0.5658 GB, free: 11.42 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.1559, allocations: 0.7119 MB / 0.5665 GB, free: 10.68 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.254e-05/0.156, allocations: 16.8 kB / 0.5665 GB, free: 10.67 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.592e-05/0.156, allocations: 43.41 kB / 0.5666 GB, free: 10.62 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.156, allocations: 0 / 0.5666 GB, free: 10.62 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02503/0.1811, allocations: 3.532 MB / 0.57 GB, free: 7.156 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.833/8.015, allocations: 11.28 kB / 0.57 GB, free: 7.152 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498604 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.247979864943773] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.1362158912234 8.159278628 8.009813145 Calling exit ...