Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.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.001785/0.001785, allocations: 112.7 kB / 19.81 MB, free: 2.508 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.002075/0.002075, allocations: 217.6 kB / 23 MB, free: 5.621 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.511/1.511, allocations: 230.2 MB / 256.2 MB, free: 8.527 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.2339/0.2339, allocations: 46.89 MB / 359.4 MB, free: 4.887 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.Test49,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test49",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.003187/0.003187, allocations: 83.86 kB / 0.4942 GB, free: 8.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3573, allocations: 65.99 MB / 0.5587 GB, free: 5.117 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003221/0.3605, allocations: 1.749 MB / 0.5604 GB, free: 3.355 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.3622, allocations: 1.044 MB / 0.5614 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.626e-05/0.3623, allocations: 7.938 kB / 0.5614 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002808/0.3626, allocations: 51.75 kB / 0.5614 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002989/0.3629, allocations: 103.5 kB / 0.5615 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.3631, allocations: 83.61 kB / 0.5616 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.3633, allocations: 99.73 kB / 0.5617 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.3634, allocations: 5.828 kB / 0.5617 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.3635, allocations: 55.78 kB / 0.5618 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.184e-05/0.3636, allocations: 31.78 kB / 0.5618 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.3636, allocations: 4 kB / 0.5618 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.353e-05/0.3637, allocations: 39.98 kB / 0.5619 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.176e-05/0.3637, allocations: 31.84 kB / 0.5619 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.852e-05/0.3638, allocations: 43.62 kB / 0.5619 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002311/0.364, allocations: 143.4 kB / 0.5621 GB, free: 1.621 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.364, allocations: 0 / 0.5621 GB, free: 1.621 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.364, allocations: 0 / 0.5621 GB, free: 1.621 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.364, allocations: 0 / 0.5621 GB, free: 1.621 MB / 398.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.0005869/0.3646, allocations: 450.4 kB / 0.5625 GB, free: 1.133 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.3647, allocations: 12.03 kB / 0.5625 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.958e-05/0.3647, allocations: 38.73 kB / 0.5625 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.959e-05/0.3647, allocations: 16.78 kB / 0.5626 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.365, allocations: 221 kB / 0.5628 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.365, allocations: 8.375 kB / 0.5628 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.3651, allocations: 4.375 kB / 0.5628 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.3652, allocations: 53.8 kB / 0.5628 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3652, allocations: 4 kB / 0.5628 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.3652, allocations: 8 kB / 0.5628 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.3652, allocations: 0 / 0.5628 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.258e-05/0.3653, allocations: 15.98 kB / 0.5629 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.3657, allocations: 308.7 kB / 0.5632 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.3659, allocations: 46.62 kB / 0.5632 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.896e-05/0.3659, allocations: 24.91 kB / 0.5632 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.3659, allocations: 4 kB / 0.5632 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000149/0.3661, allocations: 63.39 kB / 0.5633 GB, free: 196 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.3661, allocations: 0 / 0.5633 GB, free: 196 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005529/0.3667, allocations: 185.3 kB / 0.5635 GB, free: 4 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.3667, allocations: 51.41 kB / 0.5635 GB, free: 15.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002939/0.367, allocations: 282.7 kB / 0.5638 GB, free: 15.65 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.367, allocations: 25.7 kB / 0.5638 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.3671, allocations: 112.1 kB / 0.5639 GB, free: 15.51 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.3672, allocations: 31.77 kB / 0.5639 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.239e-05/0.3672, allocations: 17.72 kB / 0.564 GB, free: 15.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.3674, allocations: 338.8 kB / 0.5643 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.042e-05/0.3674, allocations: 19.94 kB / 0.5643 GB, free: 15.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.058e-05/0.3675, allocations: 41.7 kB / 0.5643 GB, free: 15.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.3676, allocations: 57.7 kB / 0.5644 GB, free: 14.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.3676, allocations: 0 / 0.5644 GB, free: 14.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001995/0.3678, allocations: 113.5 kB / 0.5645 GB, free: 14.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.3678, allocations: 4 kB / 0.5645 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3678, allocations: 4 kB / 0.5645 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.3678, allocations: 0 / 0.5645 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.59e-05/0.3679, allocations: 19.97 kB / 0.5645 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.3679, allocations: 0 / 0.5645 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.627e-05/0.368, allocations: 7.984 kB / 0.5645 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.368, allocations: 11.94 kB / 0.5645 GB, free: 14.82 MB / 414.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.0001158/0.3681, allocations: 137.8 kB / 0.5647 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.3681, allocations: 12.28 kB / 0.5647 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002577/0.3684, allocations: 123.1 kB / 0.5648 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3684, allocations: 4 kB / 0.5648 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3684, allocations: 4 kB / 0.5648 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.3684, allocations: 4 kB / 0.5648 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004737/0.3689, allocations: 403.3 kB / 0.5652 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3689, allocations: 0 / 0.5652 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.342e-05/0.3689, allocations: 8 kB / 0.5652 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3689, allocations: 0 / 0.5652 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.3689, allocations: 7.984 kB / 0.5652 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.3689, allocations: 3.938 kB / 0.5652 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3689, allocations: 0 / 0.5652 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.3692, allocations: 216.3 kB / 0.5654 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.364e-05/0.3692, allocations: 89.02 kB / 0.5655 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.3693, allocations: 4 kB / 0.5655 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.535e-05/0.3693, allocations: 11.92 kB / 0.5655 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.3694, allocations: 7.938 kB / 0.5655 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.3694, allocations: 0 / 0.5655 GB, free: 13.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001949/0.3696, allocations: 212.6 kB / 0.5657 GB, free: 13.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3696, allocations: 0 / 0.5657 GB, free: 13.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002626/0.3699, allocations: 23.94 kB / 0.5658 GB, free: 13.46 MB / 414.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.002132/0.372, allocations: 1.091 MB / 0.5668 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001868/0.3722, allocations: 59.84 kB / 0.5669 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3722, allocations: 0 / 0.5669 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.91e-05/0.3723, allocations: 36.05 kB / 0.5669 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.3726, allocations: 24.23 kB / 0.5669 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.3747, allocations: 1.842 MB / 0.5687 GB, free: 10.47 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.3751, allocations: 0.7274 MB / 0.5695 GB, free: 9.715 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.347e-05/0.3751, allocations: 12.88 kB / 0.5695 GB, free: 9.703 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.404e-05/0.3752, allocations: 43.42 kB / 0.5695 GB, free: 9.66 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3752, allocations: 0 / 0.5695 GB, free: 9.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02549/0.4007, allocations: 3.807 MB / 0.5732 GB, free: 5.875 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.147/8.548, allocations: 11.8 kB / 0.5732 GB, free: 5.863 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000499301 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.44697915398865] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.672240212006727 8.687937656 8.320623549 Calling exit ...