Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.001846/0.001846, 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.002171/0.002171, allocations: 209.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.527/1.527, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.224/0.224, allocations: 44.94 MB / 358.8 MB, free: 6.148 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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31",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.002411/0.002411, allocations: 63.91 kB / 0.493 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3147, allocations: 65.48 MB / 0.557 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.003287/0.3179, allocations: 1.653 MB / 0.5586 GB, free: 5.883 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002153/0.3201, allocations: 1.24 MB / 0.5598 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.453e-05/0.3202, allocations: 0 / 0.5598 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002267/0.3204, allocations: 23.84 kB / 0.5598 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003985/0.3208, allocations: 91.56 kB / 0.5599 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003801/0.3212, allocations: 131.4 kB / 0.56 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001793/0.3213, allocations: 71.78 kB / 0.5601 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.3215, allocations: 13.81 kB / 0.5601 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.801e-05/0.3215, allocations: 31.84 kB / 0.5602 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.3217, allocations: 39.84 kB / 0.5602 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.3217, allocations: 4 kB / 0.5602 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001994/0.3219, allocations: 87.89 kB / 0.5603 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.368e-05/0.322, allocations: 23.91 kB / 0.5603 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.32e-05/0.322, allocations: 23.86 kB / 0.5603 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003293/0.3224, allocations: 147.5 kB / 0.5605 GB, free: 3.965 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3224, allocations: 0 / 0.5605 GB, free: 3.965 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3224, allocations: 0 / 0.5605 GB, free: 3.965 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.3224, allocations: 4 kB / 0.5605 GB, free: 3.961 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.0006488/0.323, allocations: 353.5 kB / 0.5608 GB, free: 3.586 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3231, allocations: 12.03 kB / 0.5608 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.93e-05/0.3231, allocations: 30.75 kB / 0.5609 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.313e-05/0.3232, allocations: 8.891 kB / 0.5609 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.3234, allocations: 138.4 kB / 0.561 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.3234, allocations: 384 / 0.561 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.3235, allocations: 8.328 kB / 0.561 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.3237, allocations: 101 kB / 0.5611 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.3237, allocations: 0 / 0.5611 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.3237, allocations: 4 kB / 0.5611 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.3237, allocations: 0 / 0.5611 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.3238, allocations: 47.88 kB / 0.5611 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003738/0.3242, allocations: 251.9 kB / 0.5614 GB, free: 2.902 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.3244, allocations: 42.56 kB / 0.5614 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.835e-05/0.3244, allocations: 20.94 kB / 0.5614 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.3244, allocations: 7.938 kB / 0.5615 GB, free: 2.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.3245, allocations: 34.56 kB / 0.5615 GB, free: 2.777 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.3245, allocations: 0 / 0.5615 GB, free: 2.777 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.000788/0.3253, allocations: 217.2 kB / 0.5617 GB, free: 2.559 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.392e-05/0.3253, allocations: 81.11 kB / 0.5618 GB, free: 2.461 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.3255, allocations: 157 kB / 0.5619 GB, free: 2.297 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.3256, allocations: 29.7 kB / 0.562 GB, free: 2.262 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.051e-05/0.3256, allocations: 100.1 kB / 0.562 GB, free: 2.16 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.684e-05/0.3257, allocations: 27.73 kB / 0.5621 GB, free: 2.133 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/0.3257, allocations: 21.8 kB / 0.5621 GB, free: 2.105 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.3259, allocations: 322.8 kB / 0.5624 GB, free: 1.781 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.326, allocations: 31.95 kB / 0.5624 GB, free: 1.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.3261, allocations: 79.45 kB / 0.5625 GB, free: 1.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.3263, allocations: 76.84 kB / 0.5626 GB, free: 1.582 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.3263, allocations: 3.938 kB / 0.5626 GB, free: 1.578 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002948/0.3266, allocations: 109.5 kB / 0.5627 GB, free: 1.465 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.3267, allocations: 4 kB / 0.5627 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.3267, allocations: 0 / 0.5627 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.3267, allocations: 4 kB / 0.5627 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.3268, allocations: 19.97 kB / 0.5627 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.3268, allocations: 4 kB / 0.5627 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.598e-05/0.3269, allocations: 19.92 kB / 0.5627 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.3269, allocations: 4 kB / 0.5627 GB, free: 1.41 MB / 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 (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.0001114/0.327, allocations: 113.8 kB / 0.5629 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.701e-05/0.3271, allocations: 7.953 kB / 0.5629 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003607/0.3275, allocations: 126.3 kB / 0.563 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.3275, allocations: 8 kB / 0.563 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.3275, allocations: 0 / 0.563 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.3275, allocations: 11.92 kB / 0.563 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005557/0.328, allocations: 345.6 kB / 0.5633 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.328, allocations: 7.938 kB / 0.5633 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.445e-05/0.3281, allocations: 15.98 kB / 0.5634 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3281, allocations: 0 / 0.5634 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.3281, allocations: 7.938 kB / 0.5634 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.3281, allocations: 4 kB / 0.5634 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3281, allocations: 0 / 0.5634 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003412/0.3285, allocations: 215.8 kB / 0.5636 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.358e-05/0.3285, allocations: 11.95 kB / 0.5636 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.3285, allocations: 3.938 kB / 0.5636 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.973e-05/0.3286, allocations: 11.98 kB / 0.5636 GB, free: 460 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.3287, allocations: 3.984 kB / 0.5636 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.3287, allocations: 12 kB / 0.5636 GB, free: 444 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000121/0.3288, allocations: 123.1 kB / 0.5637 GB, free: 320 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3288, allocations: 0 / 0.5637 GB, free: 320 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003116/0.3291, allocations: 47.8 kB / 0.5638 GB, free: 272 kB / 398.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.002488/0.3316, allocations: 1.168 MB / 0.5649 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003095/0.3319, allocations: 79.88 kB / 0.565 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.3319, allocations: 4 kB / 0.565 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.332, allocations: 35.97 kB / 0.565 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.3324, allocations: 16.3 kB / 0.565 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.3345, allocations: 1.593 MB / 0.5666 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.977e-05/0.3346, allocations: 83.86 kB / 0.5667 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.489e-05/0.3347, allocations: 16.66 kB / 0.5667 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.37e-05/0.3348, allocations: 35.36 kB / 0.5667 GB, free: 13.34 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3348, allocations: 0 / 0.5667 GB, free: 13.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03237/0.3672, allocations: 4.131 MB / 0.5708 GB, free: 9.234 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.75, allocations: 7.938 kB / 0.5708 GB, free: 9.227 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_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_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.963697363156825]