Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10.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.001441/0.001441, allocations: 109.4 kB / 19.74 MB, free: 2.449 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.001635/0.001635, allocations: 221.3 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.294/1.294, 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.1971/0.1971, allocations: 46.89 MB / 359.3 MB, free: 4.992 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.Test10,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test10",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.002127/0.002127, allocations: 83.86 kB / 0.494 GB, free: 9.062 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2723, allocations: 65.98 MB / 0.5585 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003249/0.2756, allocations: 1.953 MB / 0.5604 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.2774, allocations: 1.088 MB / 0.5614 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.57e-05/0.2775, allocations: 0 / 0.5614 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002685/0.2778, allocations: 51.69 kB / 0.5615 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003079/0.2781, allocations: 103.5 kB / 0.5616 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002379/0.2783, allocations: 91.64 kB / 0.5617 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.2785, allocations: 147.5 kB / 0.5618 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.2786, allocations: 23.38 kB / 0.5618 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.2787, allocations: 59.7 kB / 0.5619 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.2788, allocations: 55.7 kB / 0.562 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.2789, allocations: 4 kB / 0.562 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.279, allocations: 47.98 kB / 0.562 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.882e-05/0.279, allocations: 35.84 kB / 0.562 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.576e-05/0.2791, allocations: 51.61 kB / 0.5621 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002597/0.2794, allocations: 155.3 kB / 0.5622 GB, free: 1.332 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2794, allocations: 0 / 0.5622 GB, free: 1.332 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2794, allocations: 0 / 0.5622 GB, free: 1.332 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.856e-06/0.2794, allocations: 0 / 0.5622 GB, free: 1.332 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.0006407/0.28, allocations: 496.1 kB / 0.5627 GB, free: 0.793 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.28, allocations: 11.97 kB / 0.5627 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.088e-05/0.2801, allocations: 38.75 kB / 0.5628 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.3e-05/0.2801, allocations: 12.84 kB / 0.5628 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.2804, allocations: 237.7 kB / 0.563 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.2804, allocations: 8.375 kB / 0.563 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.2805, allocations: 11.92 kB / 0.563 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.2807, allocations: 110.8 kB / 0.5631 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.2807, allocations: 0 / 0.5631 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.2807, allocations: 4 kB / 0.5631 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.2807, allocations: 0 / 0.5631 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.2809, allocations: 55.89 kB / 0.5632 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005811/0.2814, allocations: 0.5049 MB / 0.5637 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/0.2817, allocations: 82.59 kB / 0.5637 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.536e-05/0.2818, allocations: 36.84 kB / 0.5638 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.2819, allocations: 4 kB / 0.5638 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001815/0.282, allocations: 79.38 kB / 0.5639 GB, free: 15.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.282, allocations: 4 kB / 0.5639 GB, free: 15.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.000375/0.2824, allocations: 145.4 kB / 0.564 GB, free: 15.31 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.2825, allocations: 55.34 kB / 0.5641 GB, free: 15.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.2827, allocations: 211.1 kB / 0.5643 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.2827, allocations: 29.7 kB / 0.5643 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.728e-05/0.2828, allocations: 116.1 kB / 0.5644 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/0.2828, allocations: 31.73 kB / 0.5644 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.2829, allocations: 29.72 kB / 0.5645 GB, free: 14.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.283, allocations: 330.8 kB / 0.5648 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.626e-05/0.2831, allocations: 23.98 kB / 0.5648 GB, free: 14.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.2832, allocations: 72.02 kB / 0.5649 GB, free: 14.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/0.2834, allocations: 92.53 kB / 0.565 GB, free: 14.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2834, allocations: 4 kB / 0.565 GB, free: 14.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002734/0.2837, allocations: 137.4 kB / 0.5651 GB, free: 14.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.2837, allocations: 8 kB / 0.5651 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2837, allocations: 0 / 0.5651 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.2837, allocations: 7.938 kB / 0.5651 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.053e-05/0.2838, allocations: 23.92 kB / 0.5651 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.2838, allocations: 4 kB / 0.5651 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.952e-05/0.2839, allocations: 16.06 kB / 0.5651 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.2839, allocations: 8 kB / 0.5652 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.0001116/0.284, allocations: 135.9 kB / 0.5653 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.284, allocations: 15.91 kB / 0.5653 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002733/0.2843, allocations: 123 kB / 0.5654 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.2843, allocations: 7.938 kB / 0.5654 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.2843, allocations: 0 / 0.5654 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.2843, allocations: 3.984 kB / 0.5654 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.2845, allocations: 209.6 kB / 0.5656 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.2845, allocations: 0 / 0.5656 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.059e-05/0.2846, allocations: 12 kB / 0.5656 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2846, allocations: 0 / 0.5656 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.2846, allocations: 7.922 kB / 0.5656 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.2846, allocations: 3.938 kB / 0.5656 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2846, allocations: 4 kB / 0.5657 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003581/0.2849, allocations: 189 kB / 0.5658 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.822e-05/0.285, allocations: 89.05 kB / 0.5659 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.285, allocations: 0 / 0.5659 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.486e-05/0.2851, allocations: 15.92 kB / 0.5659 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.2851, allocations: 11.98 kB / 0.5659 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.2851, allocations: 0 / 0.5659 GB, free: 13.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001253/0.2853, allocations: 144.4 kB / 0.5661 GB, free: 13 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2853, allocations: 0 / 0.5661 GB, free: 13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002312/0.2855, allocations: 27.94 kB / 0.5661 GB, free: 12.98 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.001907/0.2874, allocations: 1.008 MB / 0.5671 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002395/0.2876, allocations: 72.09 kB / 0.5672 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2876, allocations: 4.062 kB / 0.5672 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.854e-05/0.2877, allocations: 44.03 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.0002721/0.288, allocations: 39.61 kB / 0.5672 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/0.29, 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.0003261/0.2903, allocations: 0.7162 MB / 0.5697 GB, free: 9.301 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.362e-05/0.2904, allocations: 21.41 kB / 0.5697 GB, free: 9.281 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.831e-05/0.2905, allocations: 39.42 kB / 0.5697 GB, free: 9.242 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2905, allocations: 0 / 0.5697 GB, free: 9.242 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02688/0.3173, allocations: 3.841 MB / 0.5735 GB, free: 5.426 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.304/7.621, allocations: 7.547 kB / 0.5735 GB, free: 5.422 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10_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_Test10.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.168665556993801]