Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.001547/0.001547, 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.001454/0.001454, allocations: 208.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.495/1.495, allocations: 230.6 MB / 257.5 MB, free: 7.77 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.2504/0.2504, allocations: 44.92 MB / 358.8 MB, free: 6.027 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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7",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.002096/0.002096, allocations: 67.91 kB / 0.493 GB, free: 10.49 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3138, allocations: 65.47 MB / 0.557 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.002989/0.3168, allocations: 1.608 MB / 0.5585 GB, free: 5.918 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.3179, allocations: 0.5144 MB / 0.559 GB, free: 5.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.744e-05/0.3179, allocations: 3.938 kB / 0.559 GB, free: 5.395 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006361/0.3186, allocations: 451.2 kB / 0.5595 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005258/0.3191, allocations: 295.3 kB / 0.5598 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003494/0.3194, allocations: 131.3 kB / 0.5599 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002415/0.3197, allocations: 163.6 kB / 0.56 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.3198, allocations: 12.17 kB / 0.5601 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.3199, allocations: 103.8 kB / 0.5602 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002793/0.3202, allocations: 239.5 kB / 0.5604 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.3202, allocations: 4 kB / 0.5604 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.021e-05/0.3203, allocations: 31.91 kB / 0.5604 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.3204, allocations: 80.67 kB / 0.5605 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.539e-05/0.3205, allocations: 71.25 kB / 0.5606 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003581/0.3209, allocations: 268.4 kB / 0.5608 GB, free: 3.586 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3209, allocations: 0 / 0.5608 GB, free: 3.586 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3209, allocations: 0 / 0.5608 GB, free: 3.586 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.3209, 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.0008085/0.3217, allocations: 0.5738 MB / 0.5614 GB, free: 2.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3217, allocations: 8.031 kB / 0.5614 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.829e-05/0.3218, allocations: 34.75 kB / 0.5614 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.3e-05/0.3219, allocations: 48.61 kB / 0.5615 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003065/0.3222, allocations: 250.7 kB / 0.5617 GB, free: 2.613 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.3222, allocations: 4.375 kB / 0.5617 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.3222, allocations: 8.125 kB / 0.5617 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.3223, allocations: 53.67 kB / 0.5618 GB, free: 2.543 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3223, allocations: 0 / 0.5618 GB, free: 2.543 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.3223, allocations: 0 / 0.5618 GB, free: 2.543 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3224, allocations: 0 / 0.5618 GB, free: 2.543 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.752e-05/0.3224, allocations: 19.98 kB / 0.5618 GB, free: 2.523 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005435/0.323, allocations: 347.8 kB / 0.5621 GB, free: 2.141 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.316e-05/0.3231, allocations: 26.58 kB / 0.5621 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.244e-05/0.3231, allocations: 24.91 kB / 0.5622 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.3232, allocations: 0 / 0.5622 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.3232, allocations: 30.56 kB / 0.5622 GB, free: 2.039 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.3232, allocations: 0 / 0.5622 GB, free: 2.039 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003018/0.3235, allocations: 105.3 kB / 0.5623 GB, free: 1.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.3235, allocations: 51.41 kB / 0.5623 GB, free: 1.867 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.3246, allocations: 0.8738 MB / 0.5632 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.3246, allocations: 25.7 kB / 0.5632 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002234/0.3249, allocations: 224 kB / 0.5634 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.3249, allocations: 16 kB / 0.5635 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/0.3249, allocations: 13.72 kB / 0.5635 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000218/0.3251, allocations: 362.7 kB / 0.5638 GB, free: 336 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.491e-05/0.3252, allocations: 15.92 kB / 0.5638 GB, free: 320 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.486e-05/0.3252, allocations: 8 kB / 0.5638 GB, free: 312 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.693e-05/0.3253, allocations: 24.84 kB / 0.5639 GB, free: 284 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3253, allocations: 0 / 0.5639 GB, free: 284 kB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001656/0.3255, allocations: 93.44 kB / 0.5639 GB, free: 184 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.38e-05/0.3255, allocations: 18.95 kB / 0.564 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3255, allocations: 0 / 0.564 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.3255, allocations: 0 / 0.564 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.867e-05/0.3256, allocations: 4 kB / 0.564 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.3256, allocations: 0 / 0.564 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.684e-05/0.3257, allocations: 7.938 kB / 0.564 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.3257, allocations: 3.938 kB / 0.564 GB, free: 152 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 (2): * Single equations (assignments): 2 * 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.0002546/0.3259, allocations: 209.8 kB / 0.5642 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.164e-05/0.326, allocations: 43.7 kB / 0.5642 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002252/0.3262, allocations: 112.8 kB / 0.5643 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3262, allocations: 0 / 0.5643 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3262, allocations: 0 / 0.5643 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3262, allocations: 0 / 0.5643 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003366/0.3266, allocations: 256.6 kB / 0.5646 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3266, allocations: 0 / 0.5646 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.457e-05/0.3266, allocations: 4 kB / 0.5646 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.3266, allocations: 4 kB / 0.5646 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.3266, allocations: 0 / 0.5646 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.3266, allocations: 4 kB / 0.5646 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3266, allocations: 4.031 kB / 0.5646 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.3268, allocations: 191.2 kB / 0.5648 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.711e-05/0.3269, allocations: 39.67 kB / 0.5648 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.327, allocations: 3.984 kB / 0.5648 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.766e-05/0.327, allocations: 4 kB / 0.5648 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.34e-05/0.327, allocations: 3.938 kB / 0.5648 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.327, allocations: 0 / 0.5648 GB, free: 15.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007394/0.3278, allocations: 0.6628 MB / 0.5655 GB, free: 14.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3278, allocations: 0 / 0.5655 GB, free: 14.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.328, allocations: 27.97 kB / 0.5655 GB, free: 14.52 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 (2): * Single equations (assignments): 2 * 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.001802/0.3298, allocations: 0.9807 MB / 0.5665 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001429/0.33, allocations: 23.92 kB / 0.5665 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.33, allocations: 3.938 kB / 0.5665 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.374e-05/0.33, allocations: 15.98 kB / 0.5665 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000467/0.3305, allocations: 27.92 kB / 0.5665 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003908/0.3344, allocations: 3.152 MB / 0.5696 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.3347, allocations: 215.5 kB / 0.5698 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.266e-05/0.3347, allocations: 7.75 kB / 0.5698 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.3348, allocations: 111.4 kB / 0.5699 GB, free: 10 MB / 414.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3348, allocations: 112 / 0.5699 GB, free: 10 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03321/0.3681, allocations: 6.273 MB / 0.576 GB, free: 3.781 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.88, allocations: 0.9375 kB / 0.576 GB, free: 3.781 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_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_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable const.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.049703883938491]