Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001861/0.001861, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002241/0.002241, allocations: 211.7 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.503/1.503, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2182/0.2182, allocations: 44.93 MB / 358.8 MB, free: 6.07 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 71.89 kB / 0.493 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3582, allocations: 65.47 MB / 0.557 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003284/0.3615, allocations: 1.625 MB / 0.5586 GB, free: 5.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.3627, allocations: 0.5066 MB / 0.5591 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.197e-05/0.3628, allocations: 3.938 kB / 0.5591 GB, free: 5.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007188/0.3635, allocations: 463.1 kB / 0.5595 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000552/0.3641, allocations: 291.3 kB / 0.5598 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003594/0.3644, allocations: 127.3 kB / 0.5599 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002534/0.3647, allocations: 163.7 kB / 0.5601 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.3648, allocations: 12 kB / 0.5601 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.3649, allocations: 119.6 kB / 0.5602 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002855/0.3652, allocations: 243.5 kB / 0.5604 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.3652, allocations: 4 kB / 0.5604 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.175e-05/0.3653, allocations: 20 kB / 0.5604 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.3655, allocations: 88.66 kB / 0.5605 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.446e-05/0.3655, allocations: 71.23 kB / 0.5606 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003789/0.3659, allocations: 268.4 kB / 0.5608 GB, free: 3.586 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.3659, allocations: 0 / 0.5608 GB, free: 3.586 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3659, allocations: 0 / 0.5608 GB, free: 3.586 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.3659, allocations: 0 / 0.5608 GB, free: 3.586 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008697/0.3668, allocations: 0.5854 MB / 0.5614 GB, free: 2.969 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.3668, allocations: 12.03 kB / 0.5614 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.789e-05/0.3669, allocations: 38.73 kB / 0.5615 GB, free: 2.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.385e-05/0.367, allocations: 44.66 kB / 0.5615 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.3673, allocations: 242.8 kB / 0.5617 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.3673, allocations: 4.375 kB / 0.5617 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.395e-06/0.3673, allocations: 4.375 kB / 0.5617 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.3674, allocations: 61.55 kB / 0.5618 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.3674, allocations: 0 / 0.5618 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.3675, allocations: 4 kB / 0.5618 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.3675, allocations: 0 / 0.5618 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.3676, allocations: 31.95 kB / 0.5618 GB, free: 2.496 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005398/0.3681, allocations: 347.9 kB / 0.5622 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.3682, allocations: 42.5 kB / 0.5622 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.687e-05/0.3683, allocations: 24.94 kB / 0.5622 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.3683, allocations: 0 / 0.5622 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.3684, allocations: 34.56 kB / 0.5623 GB, free: 1.992 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.3684, allocations: 0 / 0.5623 GB, free: 1.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.000349/0.3687, allocations: 117.4 kB / 0.5624 GB, free: 1.871 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.3688, allocations: 51.41 kB / 0.5624 GB, free: 1.809 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009734/0.3697, allocations: 0.8698 MB / 0.5633 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.3697, allocations: 29.7 kB / 0.5633 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/0.3699, allocations: 224 kB / 0.5635 GB, free: 0.668 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.37, allocations: 7.953 kB / 0.5635 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.37, allocations: 17.66 kB / 0.5635 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002067/0.3702, allocations: 370.7 kB / 0.5639 GB, free: 272 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.391e-05/0.3703, allocations: 11.98 kB / 0.5639 GB, free: 260 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.536e-05/0.3703, allocations: 19.98 kB / 0.5639 GB, free: 240 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.3704, allocations: 36.83 kB / 0.564 GB, free: 200 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3704, allocations: 8 kB / 0.564 GB, free: 192 kB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001998/0.3706, allocations: 105.4 kB / 0.5641 GB, free: 80 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.3707, allocations: 7.938 kB / 0.5641 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3707, allocations: 0 / 0.5641 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.3707, allocations: 0 / 0.5641 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.969e-05/0.3708, allocations: 11.98 kB / 0.5641 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.3708, allocations: 3.938 kB / 0.5641 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.339e-05/0.3709, allocations: 11.94 kB / 0.5641 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.3709, allocations: 0 / 0.5641 GB, free: 44 kB / 398.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 (3): * Single equations (assignments): 3 * 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.000252/0.3711, allocations: 217.7 kB / 0.5643 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.386e-05/0.3712, allocations: 43.72 kB / 0.5644 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002917/0.3715, allocations: 121.2 kB / 0.5645 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3715, allocations: 0 / 0.5645 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3715, allocations: 0 / 0.5645 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.3715, allocations: 0 / 0.5645 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003018/0.3718, allocations: 252.6 kB / 0.5647 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3718, allocations: 0 / 0.5647 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.583e-05/0.3718, allocations: 15.98 kB / 0.5647 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3719, allocations: 4 kB / 0.5647 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-06/0.3719, allocations: 0 / 0.5647 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3719, allocations: 3.938 kB / 0.5647 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3719, allocations: 0 / 0.5647 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.3721, allocations: 207.5 kB / 0.5649 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.407e-05/0.3722, allocations: 39.75 kB / 0.565 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.3722, allocations: 3.984 kB / 0.565 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.486e-05/0.3723, allocations: 4 kB / 0.565 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.094e-05/0.3723, allocations: 0 / 0.565 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.3723, allocations: 4 kB / 0.565 GB, free: 15.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006897/0.373, allocations: 0.6589 MB / 0.5656 GB, free: 14.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.373, allocations: 0 / 0.5656 GB, free: 14.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002712/0.3733, allocations: 19.94 kB / 0.5656 GB, free: 14.39 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 (3): * Single equations (assignments): 3 * 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.001908/0.3752, allocations: 1.025 MB / 0.5666 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000186/0.3754, allocations: 31.97 kB / 0.5667 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3754, allocations: 0 / 0.5667 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.681e-05/0.3754, allocations: 23.92 kB / 0.5667 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.3759, allocations: 29.23 kB / 0.5667 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003851/0.3797, allocations: 3.186 MB / 0.5698 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.38, allocations: 212.2 kB / 0.57 GB, free: 9.898 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.529e-05/0.38, allocations: 11.75 kB / 0.5701 GB, free: 9.887 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.3801, allocations: 111.4 kB / 0.5702 GB, free: 9.781 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3801, allocations: 0 / 0.5702 GB, free: 9.781 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03293/0.4131, allocations: 6.284 MB / 0.5763 GB, free: 3.543 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.81, allocations: 6.719 kB / 0.5763 GB, free: 3.543 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_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_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.057560988236219]