Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.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.001392/0.001392, allocations: 106.5 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.001572/0.001572, allocations: 222.2 kB / 22.92 MB, free: 5.535 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.313/1.313, allocations: 230.2 MB / 256.2 MB, free: 8.746 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.2014/0.2014, allocations: 46.89 MB / 359.3 MB, free: 4.984 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.Test75,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test75",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.002086/0.002086, allocations: 83.86 kB / 0.4941 GB, free: 9.016 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2695, allocations: 65.99 MB / 0.5585 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003254/0.2728, allocations: 1.932 MB / 0.5604 GB, free: 3.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001889/0.2746, allocations: 1.151 MB / 0.5615 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.1e-05/0.2747, allocations: 8 kB / 0.5615 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000469/0.2752, allocations: 219.4 kB / 0.5617 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004386/0.2756, allocations: 219.2 kB / 0.562 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.2759, allocations: 119.5 kB / 0.5621 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002966/0.2762, allocations: 247.4 kB / 0.5623 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.2763, allocations: 31.48 kB / 0.5623 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.2765, allocations: 123.5 kB / 0.5624 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002011/0.2767, allocations: 171.4 kB / 0.5626 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.2767, allocations: 8 kB / 0.5626 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.2768, allocations: 71.91 kB / 0.5627 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.135e-05/0.2769, allocations: 59.7 kB / 0.5627 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.294e-05/0.277, allocations: 91.28 kB / 0.5628 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003002/0.2773, allocations: 242.8 kB / 0.5631 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2773, allocations: 0 / 0.5631 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2773, allocations: 0 / 0.5631 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.2773, allocations: 4 kB / 0.5631 GB, free: 0.5273 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007538/0.2781, allocations: 0.5794 MB / 0.5636 GB, free: 15.9 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.2781, allocations: 12.02 kB / 0.5636 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.208e-05/0.2781, allocations: 38.75 kB / 0.5637 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.314e-05/0.2782, allocations: 28.75 kB / 0.5637 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.2785, allocations: 292.2 kB / 0.564 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.2785, allocations: 4.375 kB / 0.564 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/0.2786, allocations: 15.92 kB / 0.564 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.2788, allocations: 115.3 kB / 0.5641 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.2788, allocations: 0 / 0.5641 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.2788, allocations: 3.984 kB / 0.5641 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.2788, allocations: 4 kB / 0.5641 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.279, allocations: 47.91 kB / 0.5642 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005413/0.2795, allocations: 476.8 kB / 0.5646 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003479/0.2799, allocations: 117.2 kB / 0.5647 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.346e-05/0.2799, allocations: 37.83 kB / 0.5648 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.28, allocations: 16.12 kB / 0.5648 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002264/0.2802, allocations: 116.4 kB / 0.5649 GB, free: 14.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.2802, allocations: 0 / 0.5649 GB, free: 14.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001236/0.2814, allocations: 0.5007 MB / 0.5654 GB, free: 13.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.675e-05/0.2815, allocations: 89.09 kB / 0.5655 GB, free: 13.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004422/0.2819, allocations: 444.5 kB / 0.5659 GB, free: 13.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.282, allocations: 33.7 kB / 0.5659 GB, free: 13.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.2821, allocations: 156.5 kB / 0.5661 GB, free: 13.19 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.398e-05/0.2821, allocations: 71.42 kB / 0.5661 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.479e-05/0.2822, allocations: 45.7 kB / 0.5662 GB, free: 13.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.2824, allocations: 342.8 kB / 0.5665 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.2825, allocations: 59.97 kB / 0.5666 GB, free: 12.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.2826, allocations: 99.27 kB / 0.5667 GB, free: 12.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002698/0.2829, allocations: 159.5 kB / 0.5668 GB, free: 12.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2829, allocations: 4 kB / 0.5668 GB, free: 12.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003848/0.2833, allocations: 237.3 kB / 0.5671 GB, free: 12.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.2833, allocations: 7.984 kB / 0.5671 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.2833, allocations: 0 / 0.5671 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.2833, allocations: 4 kB / 0.5671 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.2835, allocations: 47.92 kB / 0.5671 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.2835, allocations: 3.938 kB / 0.5671 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.772e-05/0.2835, allocations: 7.953 kB / 0.5671 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.2836, allocations: 15.98 kB / 0.5671 GB, free: 12.06 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001615/0.2837, allocations: 169.8 kB / 0.5673 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.779e-05/0.2838, allocations: 31.75 kB / 0.5673 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004994/0.2843, allocations: 269.5 kB / 0.5676 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.2843, allocations: 4 kB / 0.5676 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.2843, allocations: 0 / 0.5676 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.2843, allocations: 0 / 0.5676 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000891/0.2852, allocations: 0.7389 MB / 0.5683 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.2852, allocations: 4 kB / 0.5683 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.966e-05/0.2853, allocations: 31.92 kB / 0.5683 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2853, allocations: 0 / 0.5683 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.2853, allocations: 4 kB / 0.5683 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.209e-06/0.2853, allocations: 7.984 kB / 0.5684 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.2853, allocations: 4.062 kB / 0.5684 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004662/0.2857, allocations: 428.9 kB / 0.5688 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.158e-05/0.2858, allocations: 116.8 kB / 0.5689 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.249e-05/0.2859, allocations: 8 kB / 0.5689 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.286, allocations: 4 kB / 0.5689 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.788e-05/0.2861, allocations: 31.84 kB / 0.5689 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.2861, allocations: 8 kB / 0.5689 GB, free: 10.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003179/0.2864, allocations: 335 kB / 0.5692 GB, free: 9.766 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2864, allocations: 0 / 0.5692 GB, free: 9.766 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003331/0.2867, allocations: 51.92 kB / 0.5693 GB, free: 9.715 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002434/0.2892, allocations: 1.358 MB / 0.5706 GB, free: 8.508 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003278/0.2895, allocations: 151.8 kB / 0.5708 GB, free: 8.359 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2895, allocations: 0 / 0.5708 GB, free: 8.359 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.2896, allocations: 75.84 kB / 0.5708 GB, free: 8.285 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005072/0.2901, allocations: 57.33 kB / 0.5709 GB, free: 8.234 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003247/0.2934, allocations: 2.905 MB / 0.5737 GB, free: 5.203 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.2938, allocations: 0.7792 MB / 0.5745 GB, free: 4.398 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001021/0.2939, allocations: 45.91 kB / 0.5745 GB, free: 4.352 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.294, allocations: 99.39 kB / 0.5746 GB, free: 4.254 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.294, allocations: 0 / 0.5746 GB, free: 4.254 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02824/0.3223, allocations: 6.468 MB / 0.581 GB, free: 13.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.369/7.691, allocations: 3.969 kB / 0.581 GB, free: 13.82 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00240104 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.264928249001969]