Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.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.001616/0.001616, allocations: 109.3 kB / 19.8 MB, free: 2.5 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.00155/0.00155, allocations: 218.8 kB / 23 MB, free: 5.582 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.466/1.466, 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.3051/0.3051, allocations: 46.88 MB / 359.4 MB, free: 4.988 MB / 286.1 MB " [Timeout remaining time 179] 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.Test15,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test15",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.002394/0.002394, allocations: 79.86 kB / 0.4942 GB, free: 8.926 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3608, allocations: 65.99 MB / 0.5587 GB, free: 5.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003345/0.3642, allocations: 1.737 MB / 0.5604 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.3659, allocations: 1.045 MB / 0.5614 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.933e-05/0.366, allocations: 3.938 kB / 0.5614 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000303/0.3663, allocations: 43.77 kB / 0.5614 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003126/0.3666, allocations: 91.55 kB / 0.5615 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.3668, allocations: 75.67 kB / 0.5616 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.367, allocations: 111.7 kB / 0.5617 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.3671, allocations: 5.828 kB / 0.5617 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.3672, allocations: 43.78 kB / 0.5617 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.431e-05/0.3673, allocations: 39.84 kB / 0.5618 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.3673, allocations: 7.938 kB / 0.5618 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.966e-05/0.3674, allocations: 39.98 kB / 0.5618 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.649e-05/0.3675, allocations: 15.92 kB / 0.5618 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.843e-05/0.3675, allocations: 39.72 kB / 0.5619 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.3678, allocations: 119.5 kB / 0.562 GB, free: 1.711 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.3678, allocations: 4 kB / 0.562 GB, free: 1.707 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3678, allocations: 0 / 0.562 GB, free: 1.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.82e-06/0.3678, allocations: 0 / 0.562 GB, free: 1.707 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.000622/0.3684, allocations: 422.6 kB / 0.5624 GB, free: 1.246 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.3684, allocations: 8.031 kB / 0.5624 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.115e-05/0.3685, allocations: 38.75 kB / 0.5624 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.114e-05/0.3685, allocations: 12.84 kB / 0.5625 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003059/0.3688, allocations: 204.2 kB / 0.5627 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.3688, allocations: 4.375 kB / 0.5627 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.3689, allocations: 4.375 kB / 0.5627 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.369, allocations: 57.8 kB / 0.5627 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.369, allocations: 0 / 0.5627 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.369, allocations: 4 kB / 0.5627 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.369, allocations: 0 / 0.5627 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.602e-05/0.3691, allocations: 23.92 kB / 0.5627 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003788/0.3695, allocations: 284.9 kB / 0.563 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.3697, allocations: 54.61 kB / 0.5631 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.762e-05/0.3697, allocations: 28.89 kB / 0.5631 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.3697, allocations: 4 kB / 0.5631 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001792/0.3699, allocations: 63.33 kB / 0.5632 GB, free: 352 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.3699, allocations: 0 / 0.5632 GB, free: 352 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005466/0.3705, allocations: 181.3 kB / 0.5633 GB, free: 164 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.3705, allocations: 55.41 kB / 0.5634 GB, free: 96 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.3707, allocations: 179.4 kB / 0.5636 GB, free: 15.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.3708, allocations: 29.7 kB / 0.5636 GB, free: 15.87 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.057e-05/0.3708, allocations: 100.1 kB / 0.5637 GB, free: 15.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.3709, allocations: 23.84 kB / 0.5637 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/0.3709, allocations: 17.72 kB / 0.5637 GB, free: 15.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.371, allocations: 330.8 kB / 0.564 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.912e-05/0.3711, allocations: 19.98 kB / 0.5641 GB, free: 15.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.946e-05/0.3712, allocations: 41.64 kB / 0.5641 GB, free: 15.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.3713, allocations: 70.02 kB / 0.5642 GB, free: 15.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3713, allocations: 0 / 0.5642 GB, free: 15.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002019/0.3715, allocations: 97.66 kB / 0.5643 GB, free: 15.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3715, allocations: 8 kB / 0.5643 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3715, allocations: 8.016 kB / 0.5643 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.3715, allocations: 0 / 0.5643 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.906e-05/0.3716, allocations: 23.92 kB / 0.5643 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.3716, allocations: 12.02 kB / 0.5643 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.14e-05/0.3717, allocations: 0 / 0.5643 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-06/0.3717, allocations: 4 kB / 0.5643 GB, free: 15.09 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.0001057/0.3718, allocations: 132.5 kB / 0.5644 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.3718, allocations: 11.94 kB / 0.5644 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002485/0.3721, allocations: 111 kB / 0.5645 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3721, allocations: 4 kB / 0.5646 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.3721, allocations: 3.984 kB / 0.5646 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3721, allocations: 4 kB / 0.5646 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004428/0.3725, allocations: 391.3 kB / 0.5649 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3725, allocations: 4 kB / 0.5649 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.021e-05/0.3726, allocations: 4 kB / 0.5649 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.3726, allocations: 4 kB / 0.5649 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.3726, allocations: 3.984 kB / 0.5649 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3726, allocations: 3.938 kB / 0.565 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3726, allocations: 4 kB / 0.565 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.3728, allocations: 204.3 kB / 0.5652 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.155e-05/0.3729, allocations: 85.02 kB / 0.5652 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.3729, allocations: 8 kB / 0.5652 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.932e-05/0.373, allocations: 3.938 kB / 0.5652 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.373, allocations: 11.97 kB / 0.5653 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.373, allocations: 4 kB / 0.5653 GB, free: 14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001219/0.3732, allocations: 145.6 kB / 0.5654 GB, free: 13.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3732, allocations: 0 / 0.5654 GB, free: 13.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.3734, allocations: 20 kB / 0.5654 GB, free: 13.84 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.002191/0.3756, allocations: 1.093 MB / 0.5665 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00018/0.3758, allocations: 51.92 kB / 0.5665 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3758, allocations: 3.938 kB / 0.5665 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.181e-05/0.3759, allocations: 23.98 kB / 0.5666 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.3762, allocations: 35.48 kB / 0.5666 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.3781, allocations: 1.654 MB / 0.5682 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.3784, allocations: 0.7041 MB / 0.5689 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.126e-05/0.3785, allocations: 25.17 kB / 0.5689 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.962e-05/0.3785, allocations: 31.42 kB / 0.569 GB, free: 10.25 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3785, allocations: 0 / 0.569 GB, free: 10.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02577/0.4043, allocations: 3.412 MB / 0.5723 GB, free: 6.859 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.033/8.438, allocations: 15.44 kB / 0.5723 GB, free: 6.848 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004996 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.362400726007763] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.576705182989826 8.599481829 8.226561589 Calling exit ...