Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.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.001623/0.001623, allocations: 109.4 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.001862/0.001862, allocations: 217.2 kB / 23 MB, free: 5.578 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.477/1.477, allocations: 230.2 MB / 256.2 MB, free: 8.531 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.2594/0.2594, allocations: 46.89 MB / 359.4 MB, free: 4.883 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.Test53,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test53",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.002398/0.002398, allocations: 79.88 kB / 0.4942 GB, free: 9.453 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3704, allocations: 65.98 MB / 0.5586 GB, free: 33.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002996/0.3734, allocations: 1.756 MB / 0.5604 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.3749, allocations: 1.042 MB / 0.5614 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.198e-05/0.3749, allocations: 3.938 kB / 0.5614 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003105/0.3753, allocations: 47.69 kB / 0.5614 GB, free: 31.94 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003102/0.3756, allocations: 102.4 kB / 0.5615 GB, free: 31.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.3757, allocations: 80.2 kB / 0.5616 GB, free: 31.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.3759, allocations: 101.5 kB / 0.5617 GB, free: 31.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.541e-05/0.376, allocations: 9.016 kB / 0.5617 GB, free: 31.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.239e-05/0.3761, allocations: 45.52 kB / 0.5618 GB, free: 31.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.887e-05/0.3762, allocations: 36.83 kB / 0.5618 GB, free: 31.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.3762, allocations: 5.156 kB / 0.5618 GB, free: 31.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.61e-05/0.3763, allocations: 44.33 kB / 0.5618 GB, free: 31.74 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.106e-05/0.3763, allocations: 20.83 kB / 0.5619 GB, free: 31.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.464e-05/0.3763, allocations: 45.53 kB / 0.5619 GB, free: 31.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.3765, allocations: 128.9 kB / 0.562 GB, free: 31.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.3765, allocations: 5.125 kB / 0.562 GB, free: 31.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3765, allocations: 2.938 kB / 0.562 GB, free: 31.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.3765, allocations: 3.938 kB / 0.562 GB, free: 31.64 MB / 446.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.0004712/0.377, allocations: 438.8 kB / 0.5625 GB, free: 31.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.3771, allocations: 9.594 kB / 0.5625 GB, free: 31.21 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.641e-05/0.3771, allocations: 37.53 kB / 0.5625 GB, free: 31.17 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.514e-05/0.3771, allocations: 11.23 kB / 0.5625 GB, free: 31.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.3774, allocations: 220.5 kB / 0.5627 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.3774, allocations: 3.594 kB / 0.5627 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.3774, allocations: 7.297 kB / 0.5627 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.3775, allocations: 54.39 kB / 0.5628 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.3775, allocations: 5.375 kB / 0.5628 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.3775, allocations: 0 / 0.5628 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.3776, allocations: 0 / 0.5628 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.487e-05/0.3776, allocations: 20.89 kB / 0.5628 GB, free: 30.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002943/0.3779, allocations: 295 kB / 0.5631 GB, free: 30.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.3781, allocations: 57 kB / 0.5631 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.805e-05/0.3781, allocations: 23.75 kB / 0.5632 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.3781, allocations: 0 / 0.5632 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001278/0.3783, allocations: 69.47 kB / 0.5632 GB, free: 30.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.3783, allocations: 4.719 kB / 0.5632 GB, free: 30.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004951/0.3787, allocations: 180.5 kB / 0.5634 GB, free: 30.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.3788, allocations: 51.41 kB / 0.5635 GB, free: 30.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.3789, allocations: 238.7 kB / 0.5637 GB, free: 30.19 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.379, allocations: 25.7 kB / 0.5637 GB, free: 30.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.345e-05/0.379, allocations: 111.9 kB / 0.5638 GB, free: 30.05 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.379, allocations: 28.45 kB / 0.5638 GB, free: 30.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.3791, allocations: 27.47 kB / 0.5639 GB, free: 30.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.444e-05/0.3791, allocations: 325 kB / 0.5642 GB, free: 29.69 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.74e-05/0.3792, allocations: 23.48 kB / 0.5642 GB, free: 29.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.008e-05/0.3793, allocations: 38.45 kB / 0.5642 GB, free: 29.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.647e-05/0.3794, allocations: 62.16 kB / 0.5643 GB, free: 29.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3794, allocations: 0 / 0.5643 GB, free: 29.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001515/0.3795, allocations: 103.4 kB / 0.5644 GB, free: 29.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.3795, allocations: 9.219 kB / 0.5644 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3795, allocations: 384 / 0.5644 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.144e-05/0.3796, allocations: 0 / 0.5644 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.624e-05/0.3796, allocations: 18.69 kB / 0.5644 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.3796, allocations: 4.188 kB / 0.5644 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.457e-05/0.3797, allocations: 6.484 kB / 0.5644 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.3797, allocations: 7.469 kB / 0.5644 GB, free: 29.55 MB / 446.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 7.413e-05/0.3798, allocations: 142.1 kB / 0.5646 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.052e-05/0.3798, allocations: 16.59 kB / 0.5646 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002013/0.38, allocations: 118.5 kB / 0.5647 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.38, allocations: 0 / 0.5647 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.38, allocations: 2.812 kB / 0.5647 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.38, allocations: 0 / 0.5647 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003272/0.3803, allocations: 398.8 kB / 0.5651 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3803, allocations: 6.047 kB / 0.5651 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.827e-05/0.3804, allocations: 5.438 kB / 0.5651 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3804, allocations: 2.688 kB / 0.5651 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.3804, allocations: 7.938 kB / 0.5651 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.3804, allocations: 6.656 kB / 0.5651 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3804, allocations: 0 / 0.5651 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.3806, allocations: 213.1 kB / 0.5653 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.769e-05/0.3806, allocations: 95.45 kB / 0.5654 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.3806, allocations: 3.062 kB / 0.5654 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.781e-05/0.3807, allocations: 7.312 kB / 0.5654 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.3807, allocations: 3 kB / 0.5654 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.3807, allocations: 6.062 kB / 0.5654 GB, free: 28.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.3808, allocations: 181 kB / 0.5656 GB, free: 28.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3808, allocations: 0 / 0.5656 GB, free: 28.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.3811, allocations: 22.94 kB / 0.5656 GB, free: 28.59 MB / 446.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.001867/0.383, allocations: 1.089 MB / 0.5667 GB, free: 27.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001803/0.3831, allocations: 65.59 kB / 0.5667 GB, free: 27.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3831, allocations: 0 / 0.5667 GB, free: 27.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.337e-05/0.3832, allocations: 26.62 kB / 0.5668 GB, free: 27.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003919/0.3836, allocations: 29.16 kB / 0.5668 GB, free: 27.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.3851, allocations: 1.758 MB / 0.5685 GB, free: 26.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001458/0.3852, allocations: 0.7123 MB / 0.5692 GB, free: 25.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.681e-05/0.3853, allocations: 21.81 kB / 0.5692 GB, free: 25.63 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.872e-05/0.3853, allocations: 42.08 kB / 0.5693 GB, free: 25.6 MB / 446.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3853, allocations: 0 / 0.5693 GB, free: 25.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0251/0.4104, allocations: 3.641 MB / 0.5728 GB, free: 24.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.292/8.702, allocations: 12.61 kB / 0.5728 GB, free: 24.8 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498902 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.60812574098236] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.828313585021533 8.850322284 8.469612729 Calling exit ...