Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.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.001405/0.001405, allocations: 105.8 kB / 19.74 MB, free: 2.566 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.001531/0.001531, allocations: 221 kB / 22.92 MB, free: 5.531 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.303/1.303, allocations: 230.2 MB / 256.1 MB, free: 8.742 MB / 206.1 MB " [Timeout remaining time 179] 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.1997/0.1997, allocations: 46.89 MB / 359.3 MB, free: 4.953 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.Test67,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test67",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.002151/0.002151, allocations: 84.05 kB / 0.494 GB, free: 9.004 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2601, allocations: 65.99 MB / 0.5585 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003699/0.2638, allocations: 2.376 MB / 0.5608 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002378/0.2661, allocations: 1.413 MB / 0.5622 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001622/0.2663, allocations: 7.938 kB / 0.5622 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005184/0.2668, allocations: 295 kB / 0.5625 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006186/0.2674, allocations: 334.6 kB / 0.5628 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004719/0.2679, allocations: 215.4 kB / 0.563 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007537/0.2687, allocations: 0.553 MB / 0.5635 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.2688, allocations: 42.91 kB / 0.5636 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000353/0.2692, allocations: 247 kB / 0.5638 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003648/0.2695, allocations: 302.8 kB / 0.5641 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.917e-05/0.2696, allocations: 20 kB / 0.5641 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.2697, allocations: 55.98 kB / 0.5642 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.2698, allocations: 111.5 kB / 0.5643 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001876/0.27, allocations: 190.6 kB / 0.5645 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005045/0.2705, allocations: 421.8 kB / 0.5649 GB, free: 14.61 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.2705, allocations: 4 kB / 0.5649 GB, free: 14.6 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2705, allocations: 0 / 0.5649 GB, free: 14.6 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.2706, allocations: 4 kB / 0.5649 GB, free: 14.6 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.00124/0.2718, allocations: 0.813 MB / 0.5657 GB, free: 13.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.2718, allocations: 8.031 kB / 0.5657 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.028e-05/0.2719, allocations: 46.73 kB / 0.5657 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.272, allocations: 60.56 kB / 0.5658 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005922/0.2726, allocations: 436.2 kB / 0.5662 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.2726, allocations: 12.38 kB / 0.5662 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.953e-05/0.2726, allocations: 19.92 kB / 0.5662 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003918/0.273, allocations: 201.8 kB / 0.5664 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.273, allocations: 0 / 0.5664 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.2731, allocations: 8 kB / 0.5664 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.2731, allocations: 7.938 kB / 0.5664 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002498/0.2733, allocations: 99.86 kB / 0.5665 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000928/0.2743, allocations: 0.8683 MB / 0.5674 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006091/0.2749, allocations: 273.3 kB / 0.5676 GB, free: 11.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.2751, allocations: 96.25 kB / 0.5677 GB, free: 11.42 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.2751, allocations: 4 kB / 0.5677 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003968/0.2755, allocations: 219.5 kB / 0.5679 GB, free: 11.17 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.432e-06/0.2755, allocations: 4 kB / 0.5679 GB, free: 11.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.001992/0.2775, allocations: 1.05 MB / 0.569 GB, free: 10.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.2776, allocations: 158.2 kB / 0.5691 GB, free: 9.918 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007349/0.2783, allocations: 0.6592 MB / 0.5698 GB, free: 9.246 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.443e-05/0.2784, allocations: 33.7 kB / 0.5698 GB, free: 9.207 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.2785, allocations: 237 kB / 0.57 GB, free: 8.973 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.2787, allocations: 130.9 kB / 0.5701 GB, free: 8.844 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.975e-05/0.2788, allocations: 66.14 kB / 0.5702 GB, free: 8.773 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.2789, allocations: 382.8 kB / 0.5706 GB, free: 8.391 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002332/0.2792, allocations: 96.83 kB / 0.5707 GB, free: 8.297 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003052/0.2795, allocations: 188.8 kB / 0.5708 GB, free: 8.086 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005348/0.28, allocations: 296.5 kB / 0.5711 GB, free: 7.766 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.28, allocations: 0 / 0.5711 GB, free: 7.766 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007618/0.2808, allocations: 413 kB / 0.5715 GB, free: 7.355 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.2808, allocations: 4 kB / 0.5715 GB, free: 7.352 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.2808, allocations: 7.938 kB / 0.5715 GB, free: 7.344 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.2808, allocations: 4 kB / 0.5715 GB, free: 7.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002954/0.2811, allocations: 88.2 kB / 0.5716 GB, free: 7.254 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.2811, allocations: 4 kB / 0.5716 GB, free: 7.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.2813, allocations: 19.98 kB / 0.5716 GB, free: 7.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/0.2814, allocations: 23.94 kB / 0.5717 GB, free: 7.207 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002303/0.2816, allocations: 220.3 kB / 0.5719 GB, free: 6.984 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.576e-05/0.2817, allocations: 63.58 kB / 0.5719 GB, free: 6.922 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008868/0.2826, allocations: 454.1 kB / 0.5724 GB, free: 6.469 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.2826, allocations: 4 kB / 0.5724 GB, free: 6.465 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.2826, allocations: 4 kB / 0.5724 GB, free: 6.461 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.2826, allocations: 3.984 kB / 0.5724 GB, free: 6.457 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001632/0.2842, allocations: 1.28 MB / 0.5736 GB, free: 5.102 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.2842, allocations: 12.14 kB / 0.5736 GB, free: 5.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.2844, allocations: 43.92 kB / 0.5737 GB, free: 5.047 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.2844, allocations: 4 kB / 0.5737 GB, free: 5.043 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.003e-05/0.2844, allocations: 19.92 kB / 0.5737 GB, free: 5.023 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.2844, allocations: 4 kB / 0.5737 GB, free: 5.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.2844, allocations: 4 kB / 0.5737 GB, free: 5.016 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009031/0.2853, allocations: 0.8174 MB / 0.5745 GB, free: 4.164 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.2854, allocations: 132.7 kB / 0.5746 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.656e-05/0.2855, allocations: 15.94 kB / 0.5747 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003263/0.2858, allocations: 19.98 kB / 0.5747 GB, free: 3.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.613e-05/0.2859, allocations: 35.89 kB / 0.5747 GB, free: 3.945 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-05/0.2859, allocations: 20 kB / 0.5747 GB, free: 3.926 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005487/0.2865, allocations: 486.8 kB / 0.5752 GB, free: 3.453 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2865, allocations: 3.938 kB / 0.5752 GB, free: 3.449 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000538/0.287, allocations: 84 kB / 0.5753 GB, free: 3.367 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002745/0.2898, allocations: 1.725 MB / 0.577 GB, free: 1.762 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005992/0.2904, allocations: 271.7 kB / 0.5772 GB, free: 1.496 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2904, allocations: 0 / 0.5772 GB, free: 1.496 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002969/0.2907, allocations: 141.4 kB / 0.5774 GB, free: 1.359 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009996/0.2917, allocations: 154.8 kB / 0.5775 GB, free: 1.223 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005744/0.2974, allocations: 4.545 MB / 0.5819 GB, free: 12.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005335/0.2979, allocations: 0.859 MB / 0.5828 GB, free: 11.6 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002043/0.2981, allocations: 80.12 kB / 0.5829 GB, free: 11.52 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002503/0.2984, allocations: 191.4 kB / 0.583 GB, free: 11.33 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2984, allocations: 0 / 0.583 GB, free: 11.33 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03412/0.3325, allocations: 10.99 MB / 0.5938 GB, free: 408 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.754/8.087, allocations: 11 kB / 0.5938 GB, free: 400 kB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67_res.csv --start-time 0 --stop-time 4000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.799361 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.659300994986552]