Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.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.001391/0.001391, allocations: 105.7 kB / 19.74 MB, free: 2.453 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.001535/0.001535, allocations: 216 kB / 22.92 MB, free: 5.191 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.302/1.302, allocations: 230.2 MB / 256.2 MB, free: 8.617 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.2026/0.2026, allocations: 46.89 MB / 359.3 MB, free: 4.977 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.Test35,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test35",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.002094/0.002094, allocations: 75.86 kB / 0.4941 GB, free: 9.027 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2609, allocations: 65.99 MB / 0.5585 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002828/0.2638, allocations: 1.761 MB / 0.5602 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001536/0.2653, allocations: 1.049 MB / 0.5613 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.733e-05/0.2654, allocations: 7.938 kB / 0.5613 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002749/0.2656, allocations: 79.7 kB / 0.5613 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002834/0.2659, allocations: 123.5 kB / 0.5615 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001764/0.2661, allocations: 83.67 kB / 0.5615 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.2663, allocations: 123.7 kB / 0.5617 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.197e-05/0.2664, allocations: 13.8 kB / 0.5617 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.614e-05/0.2665, allocations: 59.77 kB / 0.5617 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.2666, allocations: 75.67 kB / 0.5618 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.2666, allocations: 4 kB / 0.5618 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.2667, allocations: 59.97 kB / 0.5619 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.227e-05/0.2667, allocations: 27.92 kB / 0.5619 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.266e-05/0.2668, allocations: 39.67 kB / 0.5619 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.267, allocations: 151.3 kB / 0.5621 GB, free: 1.543 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.267, allocations: 0 / 0.5621 GB, free: 1.543 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.267, allocations: 0 / 0.5621 GB, free: 1.543 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.267, allocations: 0 / 0.5621 GB, free: 1.543 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000532/0.2675, allocations: 450.5 kB / 0.5625 GB, free: 1.055 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.2676, allocations: 8.031 kB / 0.5625 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.988e-05/0.2676, allocations: 38.73 kB / 0.5625 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.2677, allocations: 12.84 kB / 0.5626 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.2679, allocations: 229.7 kB / 0.5628 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.2679, allocations: 4.375 kB / 0.5628 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.2679, allocations: 7.938 kB / 0.5628 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.2681, allocations: 69.55 kB / 0.5629 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2681, allocations: 0 / 0.5629 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.2681, allocations: 0 / 0.5629 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.2681, allocations: 0 / 0.5629 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.676e-05/0.2682, allocations: 23.97 kB / 0.5629 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003495/0.2685, allocations: 300.8 kB / 0.5632 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.2687, allocations: 70.48 kB / 0.5632 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.449e-05/0.2688, allocations: 16.98 kB / 0.5632 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.2688, allocations: 0 / 0.5632 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001418/0.269, allocations: 79.42 kB / 0.5633 GB, free: 84 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.269, allocations: 0 / 0.5633 GB, free: 84 kB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.000691/0.2697, allocations: 241.2 kB / 0.5636 GB, free: 15.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.2697, allocations: 63.34 kB / 0.5636 GB, free: 15.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002188/0.2699, allocations: 231 kB / 0.5638 GB, free: 15.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.2699, allocations: 29.7 kB / 0.5639 GB, free: 15.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.59e-05/0.27, allocations: 116 kB / 0.564 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.731e-05/0.27, allocations: 39.72 kB / 0.564 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.567e-05/0.2701, allocations: 25.7 kB / 0.564 GB, free: 15.31 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.2702, allocations: 334.8 kB / 0.5644 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.457e-05/0.2703, allocations: 23.98 kB / 0.5644 GB, free: 14.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.898e-05/0.2704, allocations: 45.7 kB / 0.5644 GB, free: 14.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.2705, allocations: 81.64 kB / 0.5645 GB, free: 14.81 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.2705, allocations: 0 / 0.5645 GB, free: 14.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002128/0.2707, allocations: 133.5 kB / 0.5646 GB, free: 14.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.2707, allocations: 4 kB / 0.5646 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2707, allocations: 0 / 0.5646 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.2707, allocations: 4 kB / 0.5646 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.093e-05/0.2708, allocations: 27.86 kB / 0.5647 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.2708, allocations: 0 / 0.5647 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.16e-05/0.2709, allocations: 8 kB / 0.5647 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.2709, allocations: 4 kB / 0.5647 GB, free: 14.63 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 (13): * Single equations (assignments): 13 * 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.0001068/0.271, allocations: 129.8 kB / 0.5648 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.271, allocations: 19.91 kB / 0.5648 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00028/0.2713, allocations: 147.1 kB / 0.565 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.2713, allocations: 7.938 kB / 0.565 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2713, allocations: 3.984 kB / 0.565 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.2713, allocations: 0 / 0.565 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000509/0.2718, allocations: 448.1 kB / 0.5654 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2718, allocations: 0 / 0.5654 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.501e-05/0.2719, allocations: 20 kB / 0.5654 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2719, allocations: 0 / 0.5654 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.2719, allocations: 4.094 kB / 0.5654 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2719, allocations: 3.938 kB / 0.5654 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.2719, allocations: 0.7031 kB / 0.5654 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.2722, allocations: 245 kB / 0.5657 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.742e-05/0.2722, allocations: 97 kB / 0.5657 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.2722, allocations: 4 kB / 0.5658 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.328e-05/0.2723, allocations: 7.984 kB / 0.5658 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.211e-05/0.2723, allocations: 8 kB / 0.5658 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.2724, allocations: 11.98 kB / 0.5658 GB, free: 13.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001441/0.2725, allocations: 168.4 kB / 0.5659 GB, free: 13.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2725, allocations: 0 / 0.5659 GB, free: 13.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.2728, allocations: 35.92 kB / 0.566 GB, free: 13.17 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002179/0.2749, allocations: 1.173 MB / 0.5671 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001952/0.2751, allocations: 83.78 kB / 0.5672 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.2751, allocations: 0 / 0.5672 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.947e-05/0.2752, allocations: 35.92 kB / 0.5672 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.2756, allocations: 31.73 kB / 0.5673 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.2775, allocations: 1.841 MB / 0.5691 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.2778, allocations: 0.7204 MB / 0.5698 GB, free: 9.324 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.636e-05/0.2779, allocations: 20.62 kB / 0.5698 GB, free: 9.301 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.629e-05/0.2779, allocations: 51.41 kB / 0.5698 GB, free: 9.25 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2779, allocations: 0 / 0.5698 GB, free: 9.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/0.3024, allocations: 3.963 MB / 0.5737 GB, free: 5.309 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.131/7.433, allocations: 7.266 kB / 0.5737 GB, free: 5.305 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.01967197599879]