Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.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.001284/0.001284, allocations: 109.2 kB / 19.8 MB, free: 2.516 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.001444/0.001444, allocations: 219.4 kB / 23 MB, free: 5.609 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.432/1.432, allocations: 230.2 MB / 256.2 MB, free: 8.719 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.2304/0.2304, allocations: 46.9 MB / 359.4 MB, free: 4.945 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.Test40,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test40",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.003219/0.003219, allocations: 79.88 kB / 0.4942 GB, free: 8.949 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3594, allocations: 65.99 MB / 0.5587 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003766/0.3632, allocations: 1.741 MB / 0.5604 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001959/0.3651, allocations: 1.052 MB / 0.5614 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.023e-05/0.3652, allocations: 4 kB / 0.5614 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.3655, allocations: 79.7 kB / 0.5615 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003324/0.3659, allocations: 115.5 kB / 0.5616 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.3661, allocations: 79.72 kB / 0.5617 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.3662, allocations: 115.7 kB / 0.5618 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.33e-05/0.3663, allocations: 17.77 kB / 0.5618 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.3664, allocations: 51.78 kB / 0.5618 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.3666, allocations: 59.8 kB / 0.5619 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.3666, allocations: 4 kB / 0.5619 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.3667, allocations: 47.97 kB / 0.5619 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.855e-05/0.3667, allocations: 27.92 kB / 0.562 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.915e-05/0.3668, allocations: 43.61 kB / 0.562 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002365/0.367, allocations: 119.5 kB / 0.5621 GB, free: 1.621 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.367, allocations: 0 / 0.5621 GB, free: 1.621 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.367, allocations: 0 / 0.5621 GB, free: 1.621 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.367, allocations: 4 kB / 0.5621 GB, free: 1.617 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.0006081/0.3676, allocations: 430.6 kB / 0.5625 GB, free: 1.148 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.3677, allocations: 12.03 kB / 0.5625 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.992e-05/0.3677, allocations: 30.75 kB / 0.5626 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.398e-05/0.3678, allocations: 16.83 kB / 0.5626 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.3681, allocations: 224.1 kB / 0.5628 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.3681, allocations: 4.312 kB / 0.5628 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.3681, allocations: 384 / 0.5628 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.3683, allocations: 69.73 kB / 0.5629 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3683, allocations: 0 / 0.5629 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.3683, allocations: 0 / 0.5629 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.3683, allocations: 0 / 0.5629 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.804e-05/0.3684, allocations: 19.98 kB / 0.5629 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004084/0.3688, allocations: 292.8 kB / 0.5632 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.369, allocations: 58.61 kB / 0.5632 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.77e-05/0.3691, allocations: 16.86 kB / 0.5632 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.3691, allocations: 3.984 kB / 0.5633 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/0.3692, allocations: 67.39 kB / 0.5633 GB, free: 228 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.3692, allocations: 0 / 0.5633 GB, free: 228 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005514/0.3698, allocations: 177.3 kB / 0.5635 GB, free: 44 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/0.3699, allocations: 63.39 kB / 0.5635 GB, free: 15.97 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.3701, allocations: 224.3 kB / 0.5638 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.3701, allocations: 25.7 kB / 0.5638 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.036e-05/0.3702, allocations: 108.1 kB / 0.5639 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.3702, allocations: 27.78 kB / 0.5639 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.3703, allocations: 21.66 kB / 0.5639 GB, free: 15.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3704, allocations: 330.8 kB / 0.5643 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.986e-05/0.3705, allocations: 23.92 kB / 0.5643 GB, free: 15.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.378e-05/0.3706, allocations: 37.7 kB / 0.5643 GB, free: 15.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.3707, allocations: 61.7 kB / 0.5644 GB, free: 15.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3707, allocations: 384 / 0.5644 GB, free: 15.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002121/0.3709, allocations: 105.5 kB / 0.5645 GB, free: 14.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.3709, allocations: 4 kB / 0.5645 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3709, allocations: 0 / 0.5645 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.3709, allocations: 4.031 kB / 0.5645 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.072e-05/0.371, allocations: 23.98 kB / 0.5645 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.371, allocations: 0 / 0.5645 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.298e-05/0.3711, allocations: 0 / 0.5645 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.3711, allocations: 7.938 kB / 0.5645 GB, free: 14.93 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.0001247/0.3712, allocations: 137.8 kB / 0.5646 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.3712, allocations: 11.91 kB / 0.5647 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002678/0.3715, allocations: 119 kB / 0.5648 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3715, allocations: 4 kB / 0.5648 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.3715, allocations: 0 / 0.5648 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3715, allocations: 192 / 0.5648 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004854/0.372, allocations: 403.2 kB / 0.5652 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.372, allocations: 3.938 kB / 0.5652 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.508e-05/0.372, allocations: 11.94 kB / 0.5652 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.372, allocations: 0 / 0.5652 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.372, allocations: 0 / 0.5652 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.372, allocations: 7.938 kB / 0.5652 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.372, allocations: 8.328 kB / 0.5652 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002557/0.3723, allocations: 204.3 kB / 0.5654 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.786e-05/0.3723, allocations: 85.06 kB / 0.5655 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.3724, allocations: 0 / 0.5655 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.556e-05/0.3724, allocations: 11.94 kB / 0.5655 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.3725, allocations: 7.984 kB / 0.5655 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.3725, allocations: 8 kB / 0.5655 GB, free: 13.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001606/0.3727, allocations: 173.1 kB / 0.5657 GB, free: 13.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3727, allocations: 0 / 0.5657 GB, free: 13.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.3729, allocations: 31.88 kB / 0.5657 GB, free: 13.61 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.002186/0.3751, allocations: 1.077 MB / 0.5667 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001831/0.3753, allocations: 59.84 kB / 0.5668 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3753, allocations: 0 / 0.5668 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.519e-05/0.3754, allocations: 35.98 kB / 0.5668 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.3757, allocations: 34.86 kB / 0.5669 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/0.3777, allocations: 1.726 MB / 0.5685 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.3781, allocations: 0.7119 MB / 0.5692 GB, free: 9.992 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.304e-05/0.3782, allocations: 21.17 kB / 0.5693 GB, free: 9.973 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.549e-05/0.3782, allocations: 39.42 kB / 0.5693 GB, free: 9.934 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3782, allocations: 0 / 0.5693 GB, free: 9.934 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02651/0.4048, allocations: 3.574 MB / 0.5728 GB, free: 6.383 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.252/8.656, allocations: 11.3 kB / 0.5728 GB, free: 6.375 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0197316 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.417098272009753] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.783565478981473 8.806004336 8.434026664 Calling exit ...