Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.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.001168/0.001168, allocations: 105.8 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.001277/0.001277, allocations: 222 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.314/1.314, allocations: 230.2 MB / 256.2 MB, free: 8.77 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.2072/0.2072, allocations: 46.88 MB / 359.3 MB, free: 4.996 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.Test71,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test71",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.002075/0.002075, allocations: 83.86 kB / 0.494 GB, free: 9.055 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2615, allocations: 65.99 MB / 0.5585 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002846/0.2643, allocations: 1.831 MB / 0.5603 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.2661, allocations: 1.12 MB / 0.5614 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.801e-05/0.2662, allocations: 0 / 0.5614 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000523/0.2667, allocations: 315.2 kB / 0.5617 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004748/0.2672, allocations: 255.2 kB / 0.5619 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002709/0.2674, allocations: 107.7 kB / 0.562 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003388/0.2678, allocations: 267.2 kB / 0.5623 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.355e-05/0.2678, allocations: 5.688 kB / 0.5623 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.268, allocations: 123.6 kB / 0.5624 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000258/0.2683, allocations: 223.4 kB / 0.5626 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.2683, allocations: 8 kB / 0.5626 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.2684, allocations: 47.98 kB / 0.5627 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001489/0.2686, allocations: 143.6 kB / 0.5628 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001377/0.2687, allocations: 154.7 kB / 0.5629 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004027/0.2691, allocations: 376 kB / 0.5633 GB, free: 264 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2691, allocations: 0 / 0.5633 GB, free: 264 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.2691, allocations: 0 / 0.5633 GB, free: 264 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.2691, allocations: 4 kB / 0.5633 GB, free: 260 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009387/0.27, allocations: 0.7587 MB / 0.564 GB, free: 15.44 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.2701, allocations: 8.031 kB / 0.564 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.16e-05/0.2701, allocations: 38.69 kB / 0.5641 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.358e-05/0.2702, allocations: 56.61 kB / 0.5641 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005652/0.2708, allocations: 468.3 kB / 0.5646 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.2708, allocations: 7.562 kB / 0.5646 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.2708, allocations: 0 / 0.5646 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.271, allocations: 91.36 kB / 0.5647 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.271, allocations: 0 / 0.5647 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.271, allocations: 0 / 0.5647 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.271, allocations: 3.938 kB / 0.5647 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.2711, allocations: 39.91 kB / 0.5647 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003843/0.2715, allocations: 378.3 kB / 0.5651 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/0.2717, allocations: 101.2 kB / 0.5652 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.738e-05/0.2718, allocations: 41.69 kB / 0.5652 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.2719, allocations: 0 / 0.5652 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002197/0.2721, allocations: 117 kB / 0.5653 GB, free: 13.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.2721, allocations: 0 / 0.5653 GB, free: 13.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004651/0.2725, allocations: 201.2 kB / 0.5655 GB, free: 13.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.2726, allocations: 85.09 kB / 0.5656 GB, free: 13.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.2737, allocations: 1.046 MB / 0.5666 GB, free: 12.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.2737, allocations: 33.7 kB / 0.5667 GB, free: 12.56 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.2739, allocations: 232.1 kB / 0.5669 GB, free: 12.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.451e-05/0.2739, allocations: 35.73 kB / 0.5669 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/0.274, allocations: 25.72 kB / 0.5669 GB, free: 12.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.2741, allocations: 382.7 kB / 0.5673 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.339e-05/0.2742, allocations: 27.98 kB / 0.5673 GB, free: 11.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.916e-05/0.2743, allocations: 58.8 kB / 0.5674 GB, free: 11.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.2745, allocations: 91.84 kB / 0.5675 GB, free: 11.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.2745, allocations: 0 / 0.5675 GB, free: 11.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002899/0.2748, allocations: 169.3 kB / 0.5676 GB, free: 11.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.2748, allocations: 8 kB / 0.5676 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.2748, allocations: 0 / 0.5676 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.2748, allocations: 4 kB / 0.5676 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.2749, allocations: 23.92 kB / 0.5677 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.2749, allocations: 0 / 0.5677 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.453e-05/0.275, allocations: 19.94 kB / 0.5677 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.275, allocations: 12 kB / 0.5677 GB, free: 11.45 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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.0002099/0.2752, allocations: 222.5 kB / 0.5679 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.56e-05/0.2753, allocations: 59.55 kB / 0.568 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003589/0.2757, allocations: 197.8 kB / 0.5682 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.2757, allocations: 3.938 kB / 0.5682 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.2757, allocations: 0 / 0.5682 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2757, allocations: 0 / 0.5682 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003242/0.276, allocations: 353.4 kB / 0.5685 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.276, allocations: 0 / 0.5685 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.006e-05/0.2761, allocations: 23.92 kB / 0.5685 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2761, allocations: 0 / 0.5685 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.2761, allocations: 0 / 0.5685 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.2761, allocations: 4 kB / 0.5685 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2761, allocations: 3.984 kB / 0.5685 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003316/0.2764, allocations: 217.7 kB / 0.5687 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.2765, allocations: 144.7 kB / 0.5689 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.287e-05/0.2766, allocations: 7.984 kB / 0.5689 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.935e-05/0.2767, allocations: 8 kB / 0.5689 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.2767, allocations: 7.984 kB / 0.5689 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.2767, allocations: 7.938 kB / 0.5689 GB, free: 10.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007949/0.2775, allocations: 0.7878 MB / 0.5697 GB, free: 9.316 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2775, allocations: 0 / 0.5697 GB, free: 9.316 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002517/0.2777, allocations: 47.92 kB / 0.5697 GB, free: 9.27 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001864/0.2796, allocations: 1.05 MB / 0.5707 GB, free: 8.328 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002476/0.2799, allocations: 84.02 kB / 0.5708 GB, free: 8.246 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2799, allocations: 4.125 kB / 0.5708 GB, free: 8.242 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.28, allocations: 44.05 kB / 0.5709 GB, free: 8.199 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.2803, allocations: 72.5 kB / 0.5709 GB, free: 8.137 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005258/0.2856, allocations: 4.574 MB / 0.5754 GB, free: 3.457 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004545/0.2861, allocations: 0.8585 MB / 0.5762 GB, free: 2.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001163/0.2862, allocations: 58.94 kB / 0.5763 GB, free: 2.512 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.2864, allocations: 147.4 kB / 0.5764 GB, free: 2.371 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2864, allocations: 0 / 0.5764 GB, free: 2.371 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03033/0.3167, allocations: 9.188 MB / 0.5854 GB, free: 9.203 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.688/8.005, allocations: 3.609 kB / 0.5854 GB, free: 9.203 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.57542 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.610041002000798]