Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39.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.001135/0.001135, allocations: 110.5 kB / 19.75 MB, free: 2.562 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.001287/0.001287, allocations: 224.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.297/1.297, allocations: 230.2 MB / 256.1 MB, free: 8.613 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.2056/0.2056, allocations: 46.88 MB / 359.3 MB, free: 4.973 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.Test39,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test39",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.002142/0.002142, allocations: 92.12 kB / 0.4941 GB, free: 9.027 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2628, allocations: 65.99 MB / 0.5585 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002724/0.2655, allocations: 1.698 MB / 0.5602 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001589/0.2671, allocations: 1.018 MB / 0.5611 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.492e-05/0.2671, allocations: 3.938 kB / 0.5612 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003087/0.2674, allocations: 59.78 kB / 0.5612 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002896/0.2677, allocations: 107.5 kB / 0.5613 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000155/0.2679, allocations: 75.67 kB / 0.5614 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.2681, allocations: 111.6 kB / 0.5615 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.425e-05/0.2681, allocations: 4.234 kB / 0.5615 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.44e-05/0.2682, allocations: 55.77 kB / 0.5615 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.918e-05/0.2683, allocations: 47.77 kB / 0.5616 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.2683, allocations: 4 kB / 0.5616 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.554e-05/0.2684, allocations: 31.98 kB / 0.5616 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.321e-05/0.2685, allocations: 23.86 kB / 0.5617 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.756e-05/0.2685, allocations: 31.8 kB / 0.5617 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.2687, allocations: 105.4 kB / 0.5618 GB, free: 1.797 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2687, allocations: 0 / 0.5618 GB, free: 1.797 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2687, allocations: 0 / 0.5618 GB, free: 1.797 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.2687, allocations: 0 / 0.5618 GB, free: 1.797 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005607/0.2693, allocations: 422.7 kB / 0.5622 GB, free: 1.336 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.2693, allocations: 12.03 kB / 0.5622 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.98e-05/0.2693, allocations: 30.75 kB / 0.5622 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.686e-05/0.2694, allocations: 12.84 kB / 0.5622 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.2696, allocations: 212.8 kB / 0.5624 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.2697, allocations: 384 / 0.5624 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.2697, allocations: 7.938 kB / 0.5624 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.2698, allocations: 49.67 kB / 0.5625 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.2698, allocations: 0 / 0.5625 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.2698, allocations: 8 kB / 0.5625 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.2698, allocations: 0 / 0.5625 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.673e-05/0.2699, allocations: 15.98 kB / 0.5625 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002069/0.2701, allocations: 181.6 kB / 0.5627 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.2703, allocations: 58.48 kB / 0.5627 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.912e-05/0.2703, allocations: 16.86 kB / 0.5628 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.2703, allocations: 4 kB / 0.5628 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001503/0.2705, allocations: 63.39 kB / 0.5628 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.2705, allocations: 0 / 0.5628 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002671/0.2707, allocations: 101.5 kB / 0.5629 GB, free: 456 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.2708, allocations: 51.41 kB / 0.563 GB, free: 392 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.271, allocations: 190.4 kB / 0.5632 GB, free: 192 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.271, allocations: 33.7 kB / 0.5632 GB, free: 152 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.347e-05/0.2711, allocations: 100.1 kB / 0.5633 GB, free: 48 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/0.2711, allocations: 15.83 kB / 0.5633 GB, free: 32 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.2711, allocations: 21.72 kB / 0.5633 GB, free: 4 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.2713, allocations: 326.8 kB / 0.5636 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.179e-05/0.2713, allocations: 15.98 kB / 0.5636 GB, free: 15.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.178e-05/0.2714, allocations: 21.72 kB / 0.5637 GB, free: 15.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.802e-05/0.2715, allocations: 45.7 kB / 0.5637 GB, free: 15.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.2715, allocations: 11.88 kB / 0.5637 GB, free: 15.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001506/0.2716, allocations: 85.78 kB / 0.5638 GB, free: 15.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.2717, allocations: 4 kB / 0.5638 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.2717, allocations: 3.984 kB / 0.5638 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.699e-06/0.2717, allocations: 4 kB / 0.5638 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.624e-05/0.2717, allocations: 11.94 kB / 0.5638 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.2717, allocations: 0 / 0.5638 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.138e-05/0.2718, allocations: 11.97 kB / 0.5638 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.2718, allocations: 0 / 0.5638 GB, free: 15.45 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 (7): * Single equations (assignments): 7 * 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.0001057/0.2719, allocations: 140.4 kB / 0.564 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.898e-05/0.2719, allocations: 7.953 kB / 0.564 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001848/0.2721, allocations: 86.67 kB / 0.5641 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2721, allocations: 0 / 0.5641 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.2721, allocations: 0 / 0.5641 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.2721, allocations: 3.984 kB / 0.5641 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.2722, allocations: 193.5 kB / 0.5643 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2722, allocations: 0 / 0.5643 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.933e-05/0.2723, allocations: 7.938 kB / 0.5643 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.2723, allocations: 0 / 0.5643 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.2723, allocations: 0 / 0.5643 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.2723, allocations: 7.984 kB / 0.5643 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2723, allocations: 0 / 0.5643 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001792/0.2725, allocations: 105 kB / 0.5644 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.271e-05/0.2725, allocations: 93.05 kB / 0.5645 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.2725, allocations: 0 / 0.5645 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.196e-05/0.2726, allocations: 0 / 0.5645 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.444e-05/0.2726, allocations: 4 kB / 0.5645 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.2726, allocations: 4.172 kB / 0.5645 GB, free: 14.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001262/0.2727, allocations: 144.2 kB / 0.5646 GB, free: 14.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2727, allocations: 4 kB / 0.5646 GB, free: 14.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0001977/0.2729, allocations: 27.86 kB / 0.5646 GB, free: 14.53 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 3 * 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.001723/0.2746, allocations: 0.9475 MB / 0.5656 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001363/0.2748, allocations: 35.92 kB / 0.5656 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2748, allocations: 3.938 kB / 0.5656 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.216e-05/0.2748, allocations: 19.98 kB / 0.5656 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.2751, allocations: 32.16 kB / 0.5656 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.2766, allocations: 1.514 MB / 0.5671 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.2769, allocations: 0.701 MB / 0.5678 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.217e-05/0.2769, allocations: 12.55 kB / 0.5678 GB, free: 11.26 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.271e-05/0.277, allocations: 35.42 kB / 0.5679 GB, free: 11.23 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.277, allocations: 4 kB / 0.5679 GB, free: 11.22 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02204/0.299, allocations: 3.156 MB / 0.5709 GB, free: 8.082 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.114/7.413, allocations: 14.94 kB / 0.571 GB, free: 8.074 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39_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_Test39.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.964687797008082]