Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27.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.001393/0.001393, allocations: 105 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.001551/0.001551, allocations: 217.6 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.308/1.308, 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.2026/0.2026, 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.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test27",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.002104/0.002104, allocations: 83.81 kB / 0.4941 GB, free: 9.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2604, allocations: 65.98 MB / 0.5585 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.002809/0.2632, allocations: 1.737 MB / 0.5602 GB, free: 3.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.2649, allocations: 1.045 MB / 0.5612 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.422e-05/0.2649, allocations: 0 / 0.5612 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002325/0.2651, allocations: 43.77 kB / 0.5613 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002692/0.2654, allocations: 95.55 kB / 0.5614 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.2656, allocations: 79.61 kB / 0.5614 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.2658, allocations: 99.75 kB / 0.5615 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.824e-05/0.2658, allocations: 17.8 kB / 0.5615 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.67e-05/0.2659, allocations: 39.8 kB / 0.5616 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.976e-05/0.266, allocations: 39.78 kB / 0.5616 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.266, allocations: 4 kB / 0.5616 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.647e-05/0.2661, allocations: 43.97 kB / 0.5617 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.059e-05/0.2662, allocations: 23.86 kB / 0.5617 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.642e-05/0.2662, allocations: 31.75 kB / 0.5617 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.2664, allocations: 119.5 kB / 0.5618 GB, free: 1.762 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2664, allocations: 0 / 0.5618 GB, free: 1.762 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2664, allocations: 0 / 0.5618 GB, free: 1.762 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.2664, allocations: 3.938 kB / 0.5618 GB, free: 1.758 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.0005075/0.2669, allocations: 430.6 kB / 0.5622 GB, free: 1.289 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.267, allocations: 8.031 kB / 0.5623 GB, free: 1.281 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.301e-05/0.267, allocations: 38.75 kB / 0.5623 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.487e-05/0.267, allocations: 12.88 kB / 0.5623 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/0.2673, allocations: 220.8 kB / 0.5625 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.2673, allocations: 384 / 0.5625 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.2673, allocations: 7.938 kB / 0.5625 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.2675, allocations: 53.67 kB / 0.5626 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.2675, allocations: 4 kB / 0.5626 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.2675, allocations: 0 / 0.5626 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.307e-06/0.2675, allocations: 0 / 0.5626 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.968e-05/0.2676, allocations: 19.98 kB / 0.5626 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003387/0.2679, allocations: 292.8 kB / 0.5629 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.2681, allocations: 54.67 kB / 0.5629 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.018e-05/0.2681, allocations: 20.86 kB / 0.5629 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.2681, allocations: 0 / 0.5629 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001358/0.2683, allocations: 67.39 kB / 0.563 GB, free: 388 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.2683, allocations: 3.938 kB / 0.563 GB, free: 384 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004821/0.2687, allocations: 173.4 kB / 0.5632 GB, free: 204 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.2688, allocations: 51.41 kB / 0.5632 GB, free: 140 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.269, allocations: 210.5 kB / 0.5634 GB, free: 15.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.269, allocations: 25.7 kB / 0.5635 GB, free: 15.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.876e-05/0.2691, allocations: 100.1 kB / 0.5635 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.2691, allocations: 27.78 kB / 0.5636 GB, free: 15.76 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/0.2691, allocations: 25.72 kB / 0.5636 GB, free: 15.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.2693, allocations: 326.8 kB / 0.5639 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.864e-05/0.2693, allocations: 23.98 kB / 0.5639 GB, free: 15.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.403e-05/0.2694, allocations: 37.7 kB / 0.564 GB, free: 15.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.2695, allocations: 57.78 kB / 0.564 GB, free: 15.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.2695, allocations: 3.938 kB / 0.564 GB, free: 15.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001845/0.2697, allocations: 113.5 kB / 0.5641 GB, free: 15.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.2697, allocations: 4 kB / 0.5641 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.2697, allocations: 0 / 0.5641 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.2697, allocations: 4 kB / 0.5641 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.369e-05/0.2698, allocations: 24.33 kB / 0.5642 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.2698, allocations: 192 / 0.5642 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.042e-05/0.2698, allocations: 7.938 kB / 0.5642 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.2698, allocations: 11.94 kB / 0.5642 GB, free: 15.1 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.669e-05/0.2699, allocations: 125.8 kB / 0.5643 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.27, allocations: 11.91 kB / 0.5643 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.2702, allocations: 115 kB / 0.5644 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.2702, allocations: 4 kB / 0.5644 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2702, allocations: 4 kB / 0.5644 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.2702, allocations: 3.938 kB / 0.5644 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004228/0.2706, allocations: 391.3 kB / 0.5648 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.2706, allocations: 0 / 0.5648 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.282e-05/0.2707, allocations: 11.98 kB / 0.5648 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.2707, allocations: 3.938 kB / 0.5648 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.2707, allocations: 4 kB / 0.5648 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2707, allocations: 0 / 0.5648 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2707, allocations: 0 / 0.5648 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.2709, allocations: 204.3 kB / 0.565 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-05/0.271, allocations: 85.06 kB / 0.5651 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.271, allocations: 3.938 kB / 0.5651 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.926e-05/0.2711, allocations: 11.92 kB / 0.5651 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.2711, allocations: 8 kB / 0.5651 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.2711, allocations: 4 kB / 0.5651 GB, free: 14.01 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001264/0.2712, allocations: 152.2 kB / 0.5653 GB, free: 13.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2712, allocations: 3.938 kB / 0.5653 GB, free: 13.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002455/0.2715, allocations: 27.92 kB / 0.5653 GB, free: 13.83 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.001957/0.2734, allocations: 1.091 MB / 0.5664 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001651/0.2736, allocations: 55.91 kB / 0.5664 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2736, allocations: 0 / 0.5664 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.408e-05/0.2737, allocations: 35.98 kB / 0.5665 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.274, allocations: 26.08 kB / 0.5665 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.2757, allocations: 1.658 MB / 0.5681 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.276, allocations: 0.7041 MB / 0.5688 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.041e-05/0.2761, allocations: 25.17 kB / 0.5688 GB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.435e-05/0.2761, allocations: 35.42 kB / 0.5688 GB, free: 10.23 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2761, allocations: 0 / 0.5688 GB, free: 10.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02319/0.2993, allocations: 3.467 MB / 0.5722 GB, free: 6.781 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.204/7.503, allocations: 4.734 kB / 0.5722 GB, free: 6.777 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004996 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test27.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.075980827008607]