Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.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.001311/0.001311, 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.001417/0.001417, 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.503/1.503, allocations: 230.4 MB / 254.7 MB, free: 15.16 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.2236/0.2236, allocations: 46.92 MB / 357.7 MB, free: 10.23 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.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test1",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.664 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1457, allocations: 66.04 MB / 0.5562 GB, free: 5.496 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003765/0.1495, allocations: 1.736 MB / 0.5579 GB, free: 3.742 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.1514, allocations: 1.042 MB / 0.559 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.1515, allocations: 0 / 0.559 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003394/0.1518, allocations: 55.75 kB / 0.559 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003776/0.1522, allocations: 95.55 kB / 0.5591 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.1525, allocations: 83.66 kB / 0.5592 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002183/0.1527, allocations: 107.6 kB / 0.5593 GB, free: 2.359 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.1528, allocations: 12 kB / 0.5593 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.1529, allocations: 43.78 kB / 0.5593 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.704e-05/0.153, allocations: 31.84 kB / 0.5594 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.153, allocations: 4 kB / 0.5594 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.1531, allocations: 51.97 kB / 0.5594 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.392e-05/0.1532, allocations: 31.86 kB / 0.5594 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.214e-05/0.1533, allocations: 43.61 kB / 0.5595 GB, free: 2.145 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002688/0.1535, allocations: 127.4 kB / 0.5596 GB, free: 2.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.1535, allocations: 3.984 kB / 0.5596 GB, free: 2.016 MB / 414.1 MB Notification: Performance of FrontEnd: time 5.13e-06/0.1536, allocations: 4 kB / 0.5596 GB, free: 2.012 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.463e-06/0.1536, allocations: 0 / 0.5596 GB, free: 2.012 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.0007359/0.1543, allocations: 458.3 kB / 0.5601 GB, free: 1.516 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.1543, allocations: 8.031 kB / 0.5601 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.995e-05/0.1544, allocations: 34.75 kB / 0.5601 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.365e-05/0.1544, allocations: 16.84 kB / 0.5601 GB, free: 1.449 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003687/0.1548, allocations: 221.1 kB / 0.5603 GB, free: 1.191 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.1548, allocations: 4.359 kB / 0.5603 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.1549, allocations: 4.375 kB / 0.5603 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.155, allocations: 57.8 kB / 0.5604 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.155, allocations: 0 / 0.5604 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.155, allocations: 0 / 0.5604 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.155, allocations: 0 / 0.5604 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.427e-05/0.1551, allocations: 19.98 kB / 0.5604 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004478/0.1556, allocations: 312.8 kB / 0.5607 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.1558, allocations: 54.62 kB / 0.5608 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.962e-05/0.1558, allocations: 20.84 kB / 0.5608 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.1558, allocations: 0 / 0.5608 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001735/0.156, allocations: 75.39 kB / 0.5608 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.156, allocations: 0 / 0.5608 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006134/0.1566, allocations: 181.3 kB / 0.561 GB, free: 400 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.1567, allocations: 51.41 kB / 0.5611 GB, free: 336 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002846/0.157, allocations: 270.8 kB / 0.5613 GB, free: 52 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.157, allocations: 29.7 kB / 0.5614 GB, free: 16 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.1571, allocations: 112.1 kB / 0.5615 GB, free: 15.9 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.1571, allocations: 31.72 kB / 0.5615 GB, free: 15.87 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.749e-05/0.1572, allocations: 29.66 kB / 0.5615 GB, free: 15.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.1573, allocations: 330.8 kB / 0.5618 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.02e-05/0.1574, allocations: 19.98 kB / 0.5619 GB, free: 15.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.434e-05/0.1575, allocations: 41.64 kB / 0.5619 GB, free: 15.44 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.1576, allocations: 65.69 kB / 0.562 GB, free: 15.37 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1576, allocations: 0 / 0.562 GB, free: 15.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002156/0.1578, allocations: 105.5 kB / 0.5621 GB, free: 15.26 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1578, allocations: 4 kB / 0.5621 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1578, allocations: 0 / 0.5621 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.1578, allocations: 4 kB / 0.5621 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.411e-05/0.1579, allocations: 15.98 kB / 0.5621 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.1579, allocations: 3.938 kB / 0.5621 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.875e-05/0.158, allocations: 8 kB / 0.5621 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.158, allocations: 0 / 0.5621 GB, free: 15.22 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.0001295/0.1581, allocations: 143.2 kB / 0.5622 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.1582, allocations: 19.89 kB / 0.5623 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.083e-05/0.1582, allocations: 17.41 kB / 0.5623 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1582, allocations: 0 / 0.5623 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1582, allocations: 0 / 0.5623 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1582, allocations: 4 kB / 0.5623 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004984/0.1587, allocations: 407.2 kB / 0.5627 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1587, allocations: 4.031 kB / 0.5627 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.424e-05/0.1588, allocations: 11.98 kB / 0.5627 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.1588, allocations: 3.984 kB / 0.5627 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.1588, allocations: 4 kB / 0.5627 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1588, allocations: 3.938 kB / 0.5627 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1588, allocations: 0 / 0.5627 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.159, allocations: 208.2 kB / 0.5629 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.927e-05/0.1591, allocations: 89.39 kB / 0.563 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.1591, allocations: 11.98 kB / 0.563 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.092e-05/0.1592, allocations: 7.938 kB / 0.563 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/0.1592, allocations: 4 kB / 0.563 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.1592, allocations: 7.984 kB / 0.563 GB, free: 14.19 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001892/0.1594, allocations: 208.5 kB / 0.5632 GB, free: 13.98 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1594, allocations: 0 / 0.5632 GB, free: 13.98 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.1597, allocations: 23.92 kB / 0.5632 GB, free: 13.96 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.002344/0.162, allocations: 1.091 MB / 0.5643 GB, free: 13 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002027/0.1623, allocations: 59.84 kB / 0.5643 GB, free: 12.95 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1623, allocations: 0 / 0.5643 GB, free: 12.95 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.492e-05/0.1623, allocations: 20 kB / 0.5644 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.1627, allocations: 35.66 kB / 0.5644 GB, free: 12.89 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.1648, allocations: 1.858 MB / 0.5662 GB, free: 10.95 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.1651, allocations: 0.7196 MB / 0.5669 GB, free: 10.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.318e-05/0.1652, allocations: 17.17 kB / 0.5669 GB, free: 10.19 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.95e-05/0.1653, allocations: 47.42 kB / 0.567 GB, free: 10.14 MB / 430.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1653, allocations: 0 / 0.567 GB, free: 10.14 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02645/0.1917, allocations: 3.807 MB / 0.5707 GB, free: 6.398 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.094/8.286, allocations: 13.12 kB / 0.5707 GB, free: 6.391 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498107 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.478872457053512] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.410035138949752 8.43223128 8.275635505 Calling exit ...