Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.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.001161/0.001161, allocations: 106.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.001271/0.001271, allocations: 218.6 kB / 22.92 MB, free: 5.195 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.3/1.3, allocations: 230.2 MB / 256.1 MB, free: 8.645 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.2013/0.2013, allocations: 46.88 MB / 359.3 MB, free: 5.012 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.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test6",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.002128/0.002128, allocations: 87.86 kB / 0.494 GB, free: 9.121 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2701, allocations: 65.97 MB / 0.5584 GB, free: 5.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003003/0.2731, allocations: 1.688 MB / 0.5601 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.2742, allocations: 0.5972 MB / 0.5607 GB, free: 2.992 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.617e-05/0.2742, allocations: 0 / 0.5607 GB, free: 2.992 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000572/0.2748, allocations: 455.1 kB / 0.5611 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004722/0.2753, allocations: 287.3 kB / 0.5614 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004682/0.2757, allocations: 183.1 kB / 0.5615 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002611/0.276, allocations: 179.6 kB / 0.5617 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.71e-05/0.2761, allocations: 13.81 kB / 0.5617 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.2762, allocations: 115.7 kB / 0.5618 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002866/0.2765, allocations: 247.5 kB / 0.5621 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.2765, allocations: 4 kB / 0.5621 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.8e-05/0.2766, allocations: 47.91 kB / 0.5621 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.81e-05/0.2767, allocations: 83.69 kB / 0.5622 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.984e-05/0.2768, allocations: 106.9 kB / 0.5623 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00033/0.2771, allocations: 266.6 kB / 0.5626 GB, free: 1.047 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2771, allocations: 0 / 0.5626 GB, free: 1.047 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.2772, allocations: 4 kB / 0.5626 GB, free: 1.043 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.2772, allocations: 4 kB / 0.5626 GB, free: 1.039 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008044/0.278, allocations: 0.6707 MB / 0.5632 GB, free: 328 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.278, allocations: 12.03 kB / 0.5632 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.273e-05/0.278, allocations: 34.75 kB / 0.5633 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.423e-05/0.2781, allocations: 52.58 kB / 0.5633 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.2784, allocations: 304.6 kB / 0.5636 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.2784, allocations: 384 / 0.5636 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.2785, allocations: 8.375 kB / 0.5636 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.2786, allocations: 61.61 kB / 0.5637 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.2786, allocations: 0 / 0.5637 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.2787, allocations: 7.984 kB / 0.5637 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.2787, allocations: 4 kB / 0.5637 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.2788, allocations: 31.97 kB / 0.5637 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00054/0.2793, allocations: 416.6 kB / 0.5641 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.2795, allocations: 50.55 kB / 0.5642 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.267e-05/0.2796, allocations: 24.94 kB / 0.5642 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.2796, allocations: 0 / 0.5642 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.2796, allocations: 30.56 kB / 0.5642 GB, free: 15.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.2796, allocations: 4 kB / 0.5642 GB, free: 15.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008624/0.2805, allocations: 320.5 kB / 0.5645 GB, free: 14.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.2805, allocations: 55.41 kB / 0.5646 GB, free: 14.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008945/0.2814, allocations: 0.8737 MB / 0.5654 GB, free: 13.9 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.2814, allocations: 25.7 kB / 0.5654 GB, free: 13.87 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.2816, allocations: 224 kB / 0.5657 GB, free: 13.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.567e-05/0.2816, allocations: 31.84 kB / 0.5657 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.26e-05/0.2817, allocations: 21.72 kB / 0.5657 GB, free: 13.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.2818, allocations: 358.8 kB / 0.5661 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.2819, allocations: 35.97 kB / 0.5661 GB, free: 13.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.2821, allocations: 39.97 kB / 0.5661 GB, free: 13.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002349/0.2823, allocations: 93.02 kB / 0.5662 GB, free: 13.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.2823, allocations: 3.938 kB / 0.5662 GB, free: 13.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003287/0.2826, allocations: 165.2 kB / 0.5664 GB, free: 12.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.2826, allocations: 4 kB / 0.5664 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2826, allocations: 0 / 0.5664 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.2827, allocations: 7.984 kB / 0.5664 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.2828, allocations: 23.92 kB / 0.5664 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.2828, allocations: 0 / 0.5664 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.511e-05/0.2829, allocations: 19.92 kB / 0.5664 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.2829, allocations: 0 / 0.5664 GB, free: 12.83 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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.00019/0.2831, allocations: 213.8 kB / 0.5666 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.055e-05/0.2831, allocations: 43.98 kB / 0.5667 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003887/0.2835, allocations: 189.5 kB / 0.5669 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.2835, allocations: 3.984 kB / 0.5669 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.2835, allocations: 0 / 0.5669 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2835, allocations: 7.938 kB / 0.5669 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006667/0.2842, allocations: 0.5024 MB / 0.5674 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.2842, allocations: 7.984 kB / 0.5674 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.62e-05/0.2843, allocations: 15.98 kB / 0.5674 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.2843, allocations: 4 kB / 0.5674 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.2843, allocations: 3.938 kB / 0.5674 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.2843, allocations: 3.938 kB / 0.5674 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2843, allocations: 0 / 0.5674 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003651/0.2847, allocations: 263.1 kB / 0.5676 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.288e-05/0.2847, allocations: 120.8 kB / 0.5678 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.2848, allocations: 3.938 kB / 0.5678 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.2849, allocations: 4 kB / 0.5678 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.2849, allocations: 7.984 kB / 0.5678 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.2849, allocations: 0 / 0.5678 GB, free: 11.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006205/0.2855, allocations: 0.6589 MB / 0.5684 GB, free: 10.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2855, allocations: 0 / 0.5684 GB, free: 10.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.2858, allocations: 32 kB / 0.5685 GB, free: 10.65 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.00191/0.2877, allocations: 1.098 MB / 0.5695 GB, free: 9.668 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002862/0.288, allocations: 91.91 kB / 0.5696 GB, free: 9.578 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.288, allocations: 0 / 0.5696 GB, free: 9.578 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.2881, allocations: 51.84 kB / 0.5697 GB, free: 9.527 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.2885, allocations: 29.67 kB / 0.5697 GB, free: 9.504 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004078/0.2925, allocations: 3.378 MB / 0.573 GB, free: 6.035 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004871/0.293, allocations: 0.826 MB / 0.5738 GB, free: 5.184 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.166e-05/0.2931, allocations: 20.66 kB / 0.5738 GB, free: 5.164 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.2932, allocations: 123.4 kB / 0.5739 GB, free: 5.043 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2932, allocations: 0 / 0.5739 GB, free: 5.043 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02783/0.3211, allocations: 6.289 MB / 0.5801 GB, free: 14.76 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.61/7.931, allocations: 5.5 kB / 0.5801 GB, free: 14.76 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.482276826005545]