Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.001277/0.001277, allocations: 122.5 kB / 18.51 MB, free: 4.539 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.001341/0.001341, allocations: 215.2 kB / 21.46 MB, free: 1.59 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.495/1.495, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.2441/0.2441, allocations: 46.93 MB / 357.7 MB, free: 10.21 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.Test66_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",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.002322/0.002322, allocations: 83.86 kB / 0.4918 GB, free: 7.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1425, allocations: 66.04 MB / 0.5562 GB, free: 5.484 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003756/0.1462, allocations: 1.743 MB / 0.5579 GB, free: 3.723 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001827/0.1481, allocations: 1.053 MB / 0.559 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.691e-05/0.1481, allocations: 7.938 kB / 0.559 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002672/0.1484, allocations: 31.83 kB / 0.559 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.1487, allocations: 99.53 kB / 0.5591 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.1489, allocations: 79.67 kB / 0.5592 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.1491, allocations: 115.6 kB / 0.5593 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.1492, allocations: 7.984 kB / 0.5593 GB, free: 2.328 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.1493, allocations: 47.78 kB / 0.5593 GB, free: 2.281 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.54e-05/0.1494, allocations: 43.77 kB / 0.5594 GB, free: 2.238 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.1494, allocations: 4 kB / 0.5594 GB, free: 2.234 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002038/0.1496, allocations: 119.9 kB / 0.5595 GB, free: 2.117 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.353e-05/0.1497, allocations: 19.92 kB / 0.5595 GB, free: 2.098 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.722e-05/0.1498, allocations: 39.8 kB / 0.5596 GB, free: 2.059 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003082/0.1501, allocations: 171.4 kB / 0.5597 GB, free: 1.891 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.1501, allocations: 0 / 0.5597 GB, free: 1.891 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1501, allocations: 0 / 0.5597 GB, free: 1.891 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.1501, allocations: 0 / 0.5597 GB, free: 1.891 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.0006764/0.1508, allocations: 442.4 kB / 0.5601 GB, free: 1.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.1508, allocations: 8.031 kB / 0.5602 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.726e-05/0.1508, allocations: 38.73 kB / 0.5602 GB, free: 1.355 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.716e-05/0.1509, allocations: 12.89 kB / 0.5602 GB, free: 1.344 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003125/0.1512, allocations: 208.2 kB / 0.5604 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.1512, allocations: 4.375 kB / 0.5604 GB, free: 1.098 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.1512, allocations: 384 / 0.5604 GB, free: 1.098 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.1514, allocations: 79.39 kB / 0.5605 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1514, allocations: 0 / 0.5605 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.1514, allocations: 4 kB / 0.5605 GB, free: 1.004 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1515, allocations: 4 kB / 0.5605 GB, free: 1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.654e-05/0.1515, allocations: 19.97 kB / 0.5605 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.1519, allocations: 284.9 kB / 0.5608 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.1521, allocations: 66.55 kB / 0.5608 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.102e-05/0.1522, allocations: 24.97 kB / 0.5609 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.1522, allocations: 4 kB / 0.5609 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001603/0.1524, allocations: 71.39 kB / 0.5609 GB, free: 476 kB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.1524, allocations: 0 / 0.5609 GB, free: 476 kB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006075/0.153, allocations: 205.3 kB / 0.5611 GB, free: 264 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/0.153, allocations: 84.98 kB / 0.5612 GB, free: 160 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.1532, allocations: 170.9 kB / 0.5614 GB, free: 15.97 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.1533, allocations: 25.7 kB / 0.5614 GB, free: 15.94 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.1533, allocations: 100.1 kB / 0.5615 GB, free: 15.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/0.1534, allocations: 39.72 kB / 0.5615 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.329e-05/0.1534, allocations: 29.72 kB / 0.5616 GB, free: 15.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1536, allocations: 326.8 kB / 0.5619 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.188e-05/0.1537, allocations: 27.98 kB / 0.5619 GB, free: 15.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.909e-05/0.1538, allocations: 57.67 kB / 0.562 GB, free: 15.35 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.1539, allocations: 77.73 kB / 0.562 GB, free: 15.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1539, allocations: 0 / 0.562 GB, free: 15.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002289/0.1541, allocations: 121.5 kB / 0.5622 GB, free: 15.14 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.1542, allocations: 8 kB / 0.5622 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1542, allocations: 0 / 0.5622 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1542, allocations: 0 / 0.5622 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.1543, allocations: 23.92 kB / 0.5622 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.1543, allocations: 4 kB / 0.5622 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.853e-05/0.1543, allocations: 4 kB / 0.5622 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.1543, allocations: 11.97 kB / 0.5622 GB, free: 15.09 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 (13): * Single equations (assignments): 13 * 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.000115/0.1545, allocations: 127.2 kB / 0.5623 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.1545, allocations: 11.91 kB / 0.5623 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.479e-05/0.1545, allocations: 12.72 kB / 0.5623 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.1545, allocations: 4 kB / 0.5623 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1545, allocations: 4 kB / 0.5624 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.1546, allocations: 3.984 kB / 0.5624 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005549/0.1551, allocations: 435.2 kB / 0.5628 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1551, allocations: 0 / 0.5628 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.868e-05/0.1552, allocations: 8 kB / 0.5628 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/0.1552, allocations: 7.938 kB / 0.5628 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.1552, allocations: 0 / 0.5628 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.1552, allocations: 3.984 kB / 0.5628 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1552, allocations: 0 / 0.5628 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.1554, allocations: 216.3 kB / 0.563 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.96e-05/0.1555, allocations: 89.05 kB / 0.5631 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/0.1555, allocations: 11.94 kB / 0.5631 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.126e-05/0.1556, allocations: 0 / 0.5631 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.1556, allocations: 11.92 kB / 0.5631 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.1557, allocations: 8 kB / 0.5631 GB, free: 14.05 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000128/0.1558, allocations: 135.2 kB / 0.5632 GB, free: 13.92 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1558, allocations: 0 / 0.5632 GB, free: 13.92 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003075/0.1561, allocations: 55.81 kB / 0.5633 GB, free: 13.86 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 (10): * Single equations (assignments): 8 * 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.002452/0.1585, allocations: 1.207 MB / 0.5645 GB, free: 12.82 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002205/0.1588, allocations: 79.78 kB / 0.5645 GB, free: 12.74 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1588, allocations: 0 / 0.5645 GB, free: 12.74 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.558e-05/0.1589, allocations: 35.92 kB / 0.5646 GB, free: 12.71 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.1592, allocations: 23.98 kB / 0.5646 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.1611, allocations: 1.669 MB / 0.5662 GB, free: 10.92 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.1615, allocations: 0.7006 MB / 0.5669 GB, free: 10.19 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.501e-05/0.1616, allocations: 32.39 kB / 0.567 GB, free: 10.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.053e-05/0.1616, allocations: 39.42 kB / 0.567 GB, free: 10.12 MB / 430.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1616, allocations: 0 / 0.567 GB, free: 10.12 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02989/0.1915, allocations: 4.263 MB / 0.5712 GB, free: 5.898 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.943/8.134, allocations: 20.64 kB / 0.5712 GB, free: 5.887 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000799201 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.385459767188877] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.26063963631168 8.279011286 8.125993041 Calling exit ...