Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.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.001166/0.001166, 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.001275/0.001275, allocations: 220.2 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.326/1.326, allocations: 230.2 MB / 256.1 MB, free: 8.59 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.1992/0.1992, allocations: 46.89 MB / 359.3 MB, free: 4.961 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.Test41,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test41",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.002084/0.002084, allocations: 80.09 kB / 0.4941 GB, free: 9.012 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.266, allocations: 65.99 MB / 0.5585 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002649/0.2686, allocations: 1.736 MB / 0.5602 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.2701, allocations: 1.049 MB / 0.5612 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.94e-05/0.2702, allocations: 7.938 kB / 0.5612 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000272/0.2705, allocations: 79.7 kB / 0.5613 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002767/0.2707, allocations: 111.6 kB / 0.5614 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001729/0.2709, allocations: 83.61 kB / 0.5615 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.2711, allocations: 111.7 kB / 0.5616 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.367e-05/0.2712, allocations: 13.83 kB / 0.5616 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.425e-05/0.2713, allocations: 55.77 kB / 0.5617 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.2714, allocations: 71.67 kB / 0.5617 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.2714, allocations: 4 kB / 0.5617 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.704e-05/0.2715, allocations: 43.98 kB / 0.5618 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.364e-05/0.2715, allocations: 27.91 kB / 0.5618 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.805e-05/0.2716, allocations: 35.69 kB / 0.5618 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.2718, allocations: 123.5 kB / 0.562 GB, free: 1.613 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2718, allocations: 0 / 0.562 GB, free: 1.613 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2718, allocations: 0 / 0.562 GB, free: 1.613 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.2718, allocations: 4 kB / 0.562 GB, free: 1.609 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005367/0.2723, allocations: 434.5 kB / 0.5624 GB, free: 1.137 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.2724, allocations: 12.03 kB / 0.5624 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.529e-05/0.2724, allocations: 30.75 kB / 0.5624 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.2724, allocations: 12.84 kB / 0.5624 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.2727, allocations: 228.1 kB / 0.5626 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.2727, allocations: 384 / 0.5626 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.2727, allocations: 7.938 kB / 0.5627 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.2729, allocations: 57.67 kB / 0.5627 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.2729, allocations: 0 / 0.5627 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.2729, allocations: 0 / 0.5627 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.2729, allocations: 0 / 0.5627 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.748e-05/0.2729, allocations: 23.92 kB / 0.5627 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003389/0.2733, allocations: 296.8 kB / 0.563 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.2734, allocations: 50.69 kB / 0.5631 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.086e-05/0.2735, allocations: 20.84 kB / 0.5631 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.2735, allocations: 3.938 kB / 0.5631 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001347/0.2736, allocations: 67.39 kB / 0.5632 GB, free: 220 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.2736, allocations: 0 / 0.5632 GB, free: 220 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004828/0.2741, allocations: 177.3 kB / 0.5633 GB, free: 36 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.2742, allocations: 67.41 kB / 0.5634 GB, free: 15.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.2744, allocations: 224.2 kB / 0.5636 GB, free: 15.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.2744, allocations: 29.7 kB / 0.5636 GB, free: 15.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.586e-05/0.2745, allocations: 108.1 kB / 0.5637 GB, free: 15.58 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.967e-05/0.2745, allocations: 23.8 kB / 0.5638 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/0.2745, allocations: 21.7 kB / 0.5638 GB, free: 15.53 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.2747, allocations: 330.8 kB / 0.5641 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.715e-05/0.2747, allocations: 19.98 kB / 0.5641 GB, free: 15.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.766e-05/0.2748, allocations: 45.64 kB / 0.5642 GB, free: 15.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.2749, allocations: 57.73 kB / 0.5642 GB, free: 15.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.2749, allocations: 0 / 0.5642 GB, free: 15.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000181/0.2751, allocations: 109.5 kB / 0.5643 GB, free: 14.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.2751, allocations: 4 kB / 0.5643 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.2751, allocations: 0 / 0.5643 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.2751, allocations: 4.406 kB / 0.5643 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.271e-05/0.2752, allocations: 20 kB / 0.5643 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.2752, allocations: 0 / 0.5643 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.511e-05/0.2753, allocations: 11.92 kB / 0.5643 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.2753, allocations: 4 kB / 0.5644 GB, free: 14.91 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 (10): * Single equations (assignments): 10 * 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 9.835e-05/0.2754, allocations: 129.8 kB / 0.5645 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.2754, allocations: 15.91 kB / 0.5645 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002283/0.2756, allocations: 115 kB / 0.5646 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2756, allocations: 4 kB / 0.5646 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.2756, allocations: 0 / 0.5646 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2756, allocations: 3.938 kB / 0.5646 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004197/0.2761, allocations: 399.3 kB / 0.565 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2761, allocations: 0 / 0.565 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.278e-05/0.2761, allocations: 11.98 kB / 0.565 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.2761, allocations: 3.938 kB / 0.565 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.2761, allocations: 4 kB / 0.565 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2761, allocations: 0 / 0.565 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2761, allocations: 4.031 kB / 0.565 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.2763, allocations: 204.2 kB / 0.5652 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.687e-05/0.2764, allocations: 85.06 kB / 0.5653 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.2764, allocations: 7.922 kB / 0.5653 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.286e-05/0.2765, allocations: 4 kB / 0.5653 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.709e-05/0.2765, allocations: 8 kB / 0.5653 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.2765, allocations: 15.97 kB / 0.5653 GB, free: 13.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001401/0.2767, allocations: 165.2 kB / 0.5655 GB, free: 13.63 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2767, allocations: 3.938 kB / 0.5655 GB, free: 13.63 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002419/0.2769, allocations: 27.89 kB / 0.5655 GB, free: 13.6 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.001915/0.2788, allocations: 1.083 MB / 0.5666 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001668/0.279, allocations: 55.91 kB / 0.5666 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.279, allocations: 4.062 kB / 0.5666 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.902e-05/0.2791, allocations: 27.98 kB / 0.5667 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.2794, allocations: 44.58 kB / 0.5667 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/0.2811, allocations: 1.719 MB / 0.5684 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.2815, allocations: 0.708 MB / 0.5691 GB, free: 9.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.279e-05/0.2815, allocations: 21.17 kB / 0.5691 GB, free: 9.961 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.566e-05/0.2816, allocations: 43.36 kB / 0.5691 GB, free: 9.918 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2816, allocations: 0 / 0.5691 GB, free: 9.918 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02374/0.3053, allocations: 3.576 MB / 0.5726 GB, free: 6.363 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.157/7.462, allocations: 0 / 0.5726 GB, free: 6.363 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0197433 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.059299275992089]