Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.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.001159/0.001159, 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.001246/0.001246, allocations: 221.2 kB / 22.92 MB, free: 5.539 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.295/1.295, allocations: 230.2 MB / 256.1 MB, free: 8.77 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.199/0.199, allocations: 46.88 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.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test11",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.002135/0.002135, allocations: 87.84 kB / 0.494 GB, free: 9.039 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2703, allocations: 65.99 MB / 0.5585 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.00311/0.2734, allocations: 1.945 MB / 0.5604 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.2751, allocations: 1.088 MB / 0.5614 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.01e-05/0.2752, allocations: 4 kB / 0.5614 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002583/0.2755, allocations: 43.7 kB / 0.5615 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000286/0.2757, allocations: 99.48 kB / 0.5616 GB, free: 2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.276, allocations: 103.6 kB / 0.5617 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002018/0.2762, allocations: 143.5 kB / 0.5618 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.2763, allocations: 27.36 kB / 0.5618 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.2764, allocations: 59.72 kB / 0.5619 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.852e-05/0.2765, allocations: 43.72 kB / 0.5619 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.2765, allocations: 8 kB / 0.562 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.437e-05/0.2766, allocations: 51.91 kB / 0.562 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.296e-05/0.2766, allocations: 23.92 kB / 0.562 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.6e-05/0.2767, allocations: 55.61 kB / 0.5621 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.277, allocations: 159.2 kB / 0.5622 GB, free: 1.336 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.277, allocations: 8 kB / 0.5622 GB, free: 1.328 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.277, allocations: 0 / 0.5622 GB, free: 1.328 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.277, allocations: 0 / 0.5622 GB, free: 1.328 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000636/0.2776, allocations: 488.1 kB / 0.5627 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.2777, allocations: 8.031 kB / 0.5627 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.071e-05/0.2777, allocations: 42.73 kB / 0.5628 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.382e-05/0.2778, allocations: 16.84 kB / 0.5628 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003117/0.2781, allocations: 237.7 kB / 0.563 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.2781, allocations: 4.375 kB / 0.563 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.2781, allocations: 15.88 kB / 0.563 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.2783, allocations: 108.2 kB / 0.5631 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.2783, allocations: 0 / 0.5631 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.2784, allocations: 7.984 kB / 0.5631 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.2784, allocations: 4 kB / 0.5631 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.2785, allocations: 51.41 kB / 0.5632 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005718/0.2791, allocations: 0.501 MB / 0.5637 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003025/0.2794, allocations: 90.55 kB / 0.5638 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.455e-05/0.2795, allocations: 36.83 kB / 0.5638 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.2795, allocations: 3.984 kB / 0.5638 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000197/0.2797, allocations: 87.31 kB / 0.5639 GB, free: 15.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.2797, allocations: 0 / 0.5639 GB, free: 15.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003888/0.2801, allocations: 149.4 kB / 0.564 GB, free: 15.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.2801, allocations: 55.41 kB / 0.5641 GB, free: 15.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.2803, allocations: 207.1 kB / 0.5643 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.2804, allocations: 25.7 kB / 0.5643 GB, free: 14.99 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.267e-05/0.2804, allocations: 116.1 kB / 0.5644 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.2805, allocations: 31.73 kB / 0.5644 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-05/0.2805, allocations: 25.72 kB / 0.5645 GB, free: 14.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.2806, allocations: 326.8 kB / 0.5648 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.13e-05/0.2807, allocations: 31.97 kB / 0.5648 GB, free: 14.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.2808, allocations: 60.28 kB / 0.5649 GB, free: 14.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/0.281, allocations: 96.58 kB / 0.5649 GB, free: 14.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.281, allocations: 7.938 kB / 0.565 GB, free: 14.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002709/0.2813, allocations: 141.4 kB / 0.5651 GB, free: 14.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.2813, allocations: 4 kB / 0.5651 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.2813, allocations: 0 / 0.5651 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.2813, allocations: 12.06 kB / 0.5651 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.667e-05/0.2814, allocations: 23.98 kB / 0.5651 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.2814, allocations: 0 / 0.5651 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.326e-05/0.2815, allocations: 7.953 kB / 0.5651 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.2815, allocations: 8 kB / 0.5651 GB, free: 14.06 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001143/0.2816, allocations: 137.7 kB / 0.5653 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.2817, allocations: 11.91 kB / 0.5653 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002758/0.2819, allocations: 131 kB / 0.5654 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2819, allocations: 3.938 kB / 0.5654 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.2819, allocations: 0 / 0.5654 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2819, allocations: 0 / 0.5654 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.2821, allocations: 213.6 kB / 0.5656 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2821, allocations: 0 / 0.5656 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.098e-05/0.2822, allocations: 15.98 kB / 0.5656 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2822, allocations: 0 / 0.5656 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.2822, allocations: 4 kB / 0.5656 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.2822, allocations: 7.875 kB / 0.5656 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2822, allocations: 0 / 0.5656 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003627/0.2826, allocations: 185.2 kB / 0.5658 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.581e-05/0.2826, allocations: 92.98 kB / 0.5659 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.2827, allocations: 4 kB / 0.5659 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.196e-05/0.2827, allocations: 11.92 kB / 0.5659 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/0.2828, allocations: 4 kB / 0.5659 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.2828, allocations: 8.062 kB / 0.5659 GB, free: 13.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001836/0.283, allocations: 148.4 kB / 0.5661 GB, free: 13 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.283, allocations: 0 / 0.5661 GB, free: 13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002223/0.2832, allocations: 31.92 kB / 0.5661 GB, free: 12.97 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.00194/0.2851, allocations: 1.01 MB / 0.5671 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002381/0.2854, allocations: 75.89 kB / 0.5672 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2854, allocations: 0 / 0.5672 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.243e-05/0.2855, allocations: 31.92 kB / 0.5672 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.2857, allocations: 57.7 kB / 0.5673 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002057/0.2878, allocations: 1.768 MB / 0.569 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.2881, allocations: 0.7201 MB / 0.5697 GB, free: 9.289 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.999e-05/0.2882, allocations: 13.42 kB / 0.5697 GB, free: 9.277 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.148e-05/0.2883, allocations: 43.42 kB / 0.5697 GB, free: 9.234 MB / 414.1 MB Notification: Performance of SimCode: time 4.3e-07/0.2883, allocations: 0 / 0.5697 GB, free: 9.234 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02631/0.3146, allocations: 3.839 MB / 0.5735 GB, free: 5.418 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.209/7.524, allocations: 7.328 kB / 0.5735 GB, free: 5.414 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039976 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.068165196003974]