Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.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.00169/0.00169, allocations: 121.4 kB / 18.45 MB, free: 4.594 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.00217/0.00217, allocations: 210.5 kB / 21.41 MB, free: 1.645 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.501/1.501, allocations: 227.4 MB / 251.7 MB, free: 32 kB / 190.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.2359/0.2359, allocations: 46.16 MB / 351.1 MB, free: 14.28 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.Test88,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test88",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.002214/0.002214, allocations: 83.95 kB / 489.8 MB, free: 28.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1272, allocations: 62.45 MB / 0.5393 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003987/0.1313, allocations: 2.274 MB / 0.5415 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002393/0.1337, allocations: 1.315 MB / 0.5428 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.1338, allocations: 3.938 kB / 0.5428 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003974/0.1343, allocations: 127.3 kB / 0.5429 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005142/0.1348, allocations: 250.8 kB / 0.5432 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004525/0.1353, allocations: 183.5 kB / 0.5433 GB, free: 472 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005421/0.1358, allocations: 458.6 kB / 0.5438 GB, free: 12 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.136, allocations: 65.28 kB / 0.5438 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003365/0.1364, allocations: 263.1 kB / 0.5441 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000203/0.1366, allocations: 163.2 kB / 0.5442 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.309e-05/0.1366, allocations: 16 kB / 0.5442 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000163/0.1368, allocations: 71.98 kB / 0.5443 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001558/0.137, allocations: 131.5 kB / 0.5444 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001773/0.1372, allocations: 190.5 kB / 0.5446 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005277/0.1377, allocations: 441.7 kB / 0.545 GB, free: 14.69 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1377, allocations: 0 / 0.545 GB, free: 14.69 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1377, allocations: 0 / 0.545 GB, free: 14.69 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.1377, allocations: 4 kB / 0.545 GB, free: 14.69 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001115/0.1388, allocations: 0.8436 MB / 0.5459 GB, free: 13.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.1389, allocations: 12.03 kB / 0.5459 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.004e-05/0.139, allocations: 46.73 kB / 0.5459 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.904e-05/0.1391, allocations: 64.52 kB / 0.546 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005772/0.1397, allocations: 429 kB / 0.5464 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.1397, allocations: 8.375 kB / 0.5464 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.984e-05/0.1397, allocations: 20.33 kB / 0.5464 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003799/0.1401, allocations: 201 kB / 0.5466 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.1402, allocations: 0 / 0.5466 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.1402, allocations: 4 kB / 0.5466 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.1402, allocations: 7.984 kB / 0.5466 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002376/0.1404, allocations: 99.86 kB / 0.5467 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009439/0.1414, allocations: 0.7977 MB / 0.5475 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006304/0.142, allocations: 246.5 kB / 0.5477 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/0.1422, allocations: 91.52 kB / 0.5478 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.1423, allocations: 8 kB / 0.5478 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003759/0.1427, allocations: 196.4 kB / 0.548 GB, free: 11.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.743e-06/0.1427, allocations: 7.875 kB / 0.548 GB, free: 11.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.00246/0.1451, allocations: 1.141 MB / 0.5491 GB, free: 10.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.11e-05/0.1452, allocations: 140.5 kB / 0.5493 GB, free: 10.06 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008613/0.1461, allocations: 0.7853 MB / 0.55 GB, free: 9.266 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.436e-05/0.1462, allocations: 41.69 kB / 0.5501 GB, free: 9.219 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.1464, allocations: 245 kB / 0.5503 GB, free: 8.977 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.1465, allocations: 142.8 kB / 0.5505 GB, free: 8.836 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.1466, allocations: 86.08 kB / 0.5505 GB, free: 8.742 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.1468, allocations: 374.7 kB / 0.5509 GB, free: 8.367 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/0.1471, allocations: 112.8 kB / 0.551 GB, free: 8.258 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002918/0.1474, allocations: 187.2 kB / 0.5512 GB, free: 8.055 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005407/0.1479, allocations: 319 kB / 0.5515 GB, free: 7.719 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1479, allocations: 7.938 kB / 0.5515 GB, free: 7.711 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007383/0.1487, allocations: 432.9 kB / 0.5519 GB, free: 7.281 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.1487, allocations: 7.984 kB / 0.5519 GB, free: 7.273 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.1487, allocations: 4.156 kB / 0.5519 GB, free: 7.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.1487, allocations: 4 kB / 0.5519 GB, free: 7.266 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002686/0.149, allocations: 91.97 kB / 0.552 GB, free: 7.176 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.149, allocations: 11.97 kB / 0.552 GB, free: 7.164 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.1492, allocations: 12 kB / 0.552 GB, free: 7.152 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/0.1492, allocations: 19.94 kB / 0.552 GB, free: 7.133 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.000249/0.1495, allocations: 228 kB / 0.5523 GB, free: 6.902 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.1496, allocations: 75.52 kB / 0.5523 GB, free: 6.828 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/0.1497, allocations: 76.92 kB / 0.5524 GB, free: 6.746 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.1497, allocations: 7.938 kB / 0.5524 GB, free: 6.738 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.1498, allocations: 8 kB / 0.5524 GB, free: 6.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.1498, allocations: 3.984 kB / 0.5524 GB, free: 6.727 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001715/0.1515, allocations: 1.314 MB / 0.5537 GB, free: 5.328 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.824e-06/0.1515, allocations: 7.984 kB / 0.5537 GB, free: 5.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.1517, allocations: 59.91 kB / 0.5538 GB, free: 5.262 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.1517, allocations: 4 kB / 0.5538 GB, free: 5.258 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.693e-05/0.1517, allocations: 19.98 kB / 0.5538 GB, free: 5.238 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.1517, allocations: 4 kB / 0.5538 GB, free: 5.234 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.1517, allocations: 7.938 kB / 0.5538 GB, free: 5.227 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009161/0.1527, allocations: 0.8057 MB / 0.5546 GB, free: 4.375 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001761/0.1529, allocations: 168.6 kB / 0.5548 GB, free: 4.191 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.876e-05/0.1529, allocations: 15.98 kB / 0.5548 GB, free: 4.176 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/0.1532, allocations: 19.98 kB / 0.5548 GB, free: 4.156 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.224e-05/0.1533, allocations: 39.91 kB / 0.5548 GB, free: 4.117 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.1e-05/0.1533, allocations: 23.98 kB / 0.5549 GB, free: 4.094 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006444/0.154, allocations: 0.5849 MB / 0.5554 GB, free: 3.516 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.154, allocations: 3.938 kB / 0.5554 GB, free: 3.512 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004941/0.1545, allocations: 83.94 kB / 0.5555 GB, free: 3.43 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003045/0.1575, allocations: 1.747 MB / 0.5572 GB, free: 1.832 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006732/0.1582, allocations: 323.8 kB / 0.5575 GB, free: 1.516 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.1582, allocations: 0 / 0.5575 GB, free: 1.516 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002977/0.1585, allocations: 159.7 kB / 0.5577 GB, free: 1.359 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009214/0.1595, allocations: 133 kB / 0.5578 GB, free: 1.238 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005905/0.1654, allocations: 4.752 MB / 0.5624 GB, free: 12.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005471/0.1659, allocations: 0.8889 MB / 0.5633 GB, free: 11.38 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002052/0.1662, allocations: 83.28 kB / 0.5634 GB, free: 11.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000266/0.1664, allocations: 195.4 kB / 0.5636 GB, free: 11.11 MB / 430.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1664, allocations: 0 / 0.5636 GB, free: 11.11 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03501/0.2015, allocations: 10.84 MB / 0.5742 GB, free: 384 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.72/9.921, allocations: 7.844 kB / 0.5742 GB, free: 376 kB / 430.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88_res.csv --start-time 0 --stop-time 9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00179784 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.35620778996963] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y', 't_new_2.y[1]', 'd_t_new_2.y', 'd2_t_new_2.y', 't_new_3.y[1]', 'd_t_new_3.y', 'd2_t_new_3.y', 't_new_4.y[1]', 'd_t_new_4.y', 'd2_t_new_4.y'] 10.045286011998542 10.060181204 9.919844998 Calling exit ...