Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.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.001447/0.001447, allocations: 105.5 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.001609/0.001609, allocations: 216 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.307/1.307, allocations: 230.2 MB / 256.1 MB, free: 8.656 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.2011/0.2011, allocations: 46.89 MB / 359.3 MB, free: 5.031 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.Test9,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test9",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.002229/0.002229, allocations: 83.88 kB / 0.4941 GB, free: 9.074 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2715, allocations: 65.97 MB / 0.5585 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002795/0.2743, allocations: 1.748 MB / 0.5602 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001555/0.2758, allocations: 1.045 MB / 0.5612 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.127e-05/0.2759, allocations: 11.88 kB / 0.5612 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000276/0.2762, allocations: 79.7 kB / 0.5613 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002781/0.2764, allocations: 111.6 kB / 0.5614 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001823/0.2766, allocations: 83.66 kB / 0.5615 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.2768, allocations: 115.7 kB / 0.5616 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.072e-05/0.2769, allocations: 9.828 kB / 0.5616 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.335e-05/0.277, allocations: 47.78 kB / 0.5617 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.2771, allocations: 71.67 kB / 0.5617 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.2771, allocations: 8 kB / 0.5617 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.883e-05/0.2772, allocations: 43.98 kB / 0.5618 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.079e-05/0.2772, allocations: 27.91 kB / 0.5618 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.994e-05/0.2773, allocations: 39.67 kB / 0.5618 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.2775, allocations: 119.5 kB / 0.562 GB, free: 1.691 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.2775, allocations: 0 / 0.562 GB, free: 1.691 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2775, allocations: 0 / 0.562 GB, free: 1.691 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.2775, allocations: 3.938 kB / 0.562 GB, free: 1.688 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.0005105/0.278, allocations: 436.9 kB / 0.5624 GB, free: 1.215 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.278, allocations: 16.03 kB / 0.5624 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.191e-05/0.278, allocations: 30.75 kB / 0.5624 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.617e-05/0.2781, allocations: 12.84 kB / 0.5624 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.2783, allocations: 224.1 kB / 0.5626 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.2783, allocations: 4.359 kB / 0.5626 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.2784, allocations: 7.938 kB / 0.5627 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.2785, allocations: 53.67 kB / 0.5627 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2785, allocations: 0 / 0.5627 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.2785, allocations: 0 / 0.5627 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.2785, allocations: 0 / 0.5627 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.032e-05/0.2786, allocations: 27.92 kB / 0.5627 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.2789, allocations: 292.8 kB / 0.563 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.2791, allocations: 50.67 kB / 0.5631 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.931e-05/0.2791, allocations: 16.86 kB / 0.5631 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.2792, allocations: 4 kB / 0.5631 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001435/0.2793, allocations: 75.31 kB / 0.5631 GB, free: 296 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.2793, allocations: 0 / 0.5631 GB, free: 296 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004893/0.2798, allocations: 177.3 kB / 0.5633 GB, free: 112 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.2799, allocations: 63.41 kB / 0.5634 GB, free: 36 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.2801, allocations: 224.3 kB / 0.5636 GB, free: 15.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.2801, allocations: 29.7 kB / 0.5636 GB, free: 15.76 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.94e-05/0.2802, allocations: 112.1 kB / 0.5637 GB, free: 15.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.2802, allocations: 27.78 kB / 0.5638 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.624e-05/0.2803, allocations: 17.72 kB / 0.5638 GB, free: 15.6 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.2804, allocations: 330.8 kB / 0.5641 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.498e-05/0.2804, allocations: 19.98 kB / 0.5641 GB, free: 15.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.513e-05/0.2805, allocations: 37.7 kB / 0.5641 GB, free: 15.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.2806, allocations: 65.64 kB / 0.5642 GB, free: 15.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.2806, allocations: 0 / 0.5642 GB, free: 15.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001855/0.2808, allocations: 101.9 kB / 0.5643 GB, free: 15.03 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.2808, allocations: 6.344 kB / 0.5643 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.2808, allocations: 0 / 0.5643 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.2808, allocations: 0 / 0.5643 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.418e-05/0.2809, allocations: 27.98 kB / 0.5643 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.2809, allocations: 192 / 0.5643 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.571e-05/0.281, allocations: 11.97 kB / 0.5643 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.281, allocations: 3.938 kB / 0.5644 GB, free: 14.98 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 0.000109/0.2811, allocations: 129.8 kB / 0.5645 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.2811, allocations: 15.91 kB / 0.5645 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002333/0.2814, allocations: 114.9 kB / 0.5646 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2814, allocations: 0 / 0.5646 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.2814, allocations: 0 / 0.5646 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.2814, allocations: 7.938 kB / 0.5646 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004573/0.2818, allocations: 407.5 kB / 0.565 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2818, allocations: 0 / 0.565 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.137e-05/0.2819, allocations: 8 kB / 0.565 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.2819, allocations: 3.938 kB / 0.565 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.709e-06/0.2819, allocations: 4 kB / 0.565 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2819, allocations: 0 / 0.565 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2819, allocations: 0 / 0.565 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.2821, allocations: 212.2 kB / 0.5652 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.389e-05/0.2822, allocations: 85.06 kB / 0.5653 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.2822, allocations: 7.938 kB / 0.5653 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.734e-05/0.2823, allocations: 4 kB / 0.5653 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/0.2823, allocations: 7.984 kB / 0.5653 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.2823, allocations: 4 kB / 0.5653 GB, free: 13.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001417/0.2824, allocations: 165.2 kB / 0.5655 GB, free: 13.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2824, allocations: 3.938 kB / 0.5655 GB, free: 13.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002543/0.2827, allocations: 35.88 kB / 0.5655 GB, free: 13.68 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.001952/0.2846, allocations: 1.078 MB / 0.5666 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001726/0.2848, allocations: 63.89 kB / 0.5666 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2848, allocations: 0 / 0.5666 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.938e-05/0.2849, allocations: 27.98 kB / 0.5667 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.2852, allocations: 31.05 kB / 0.5667 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/0.287, allocations: 1.723 MB / 0.5684 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.2874, allocations: 0.708 MB / 0.5691 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.888e-05/0.2874, allocations: 16.89 kB / 0.5691 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.961e-05/0.2875, allocations: 43.41 kB / 0.5691 GB, free: 10 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2875, allocations: 0 / 0.5691 GB, free: 10 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/0.3115, allocations: 3.577 MB / 0.5726 GB, free: 6.449 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.122/7.433, allocations: 4 kB / 0.5726 GB, free: 6.445 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv --start-time 0 --stop-time 3.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000699161 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.018287444996531]