Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.001894/0.001894, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002088/0.002088, allocations: 211.4 kB / 23.73 MB, free: 4.41 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.514/1.514, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2224/0.2224, allocations: 44.94 MB / 358.8 MB, free: 6.055 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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2",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.002168/0.002168, allocations: 67.89 kB / 0.4931 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3878/0.39, allocations: 65.47 MB / 0.557 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003318/0.3933, allocations: 1.654 MB / 0.5586 GB, free: 5.859 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.3943, allocations: 0.5387 MB / 0.5591 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.42e-05/0.3944, allocations: 0 / 0.5591 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005727/0.395, allocations: 463.1 kB / 0.5596 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005178/0.3955, allocations: 291.3 kB / 0.5599 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003606/0.3958, allocations: 131.4 kB / 0.56 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002651/0.3961, allocations: 171.6 kB / 0.5601 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.969e-05/0.3962, allocations: 17.81 kB / 0.5602 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.3963, allocations: 123.6 kB / 0.5603 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002843/0.3966, allocations: 247.5 kB / 0.5605 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.3967, allocations: 4 kB / 0.5605 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.3968, allocations: 47.98 kB / 0.5606 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.3969, allocations: 83.69 kB / 0.5606 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.245e-05/0.397, allocations: 79.16 kB / 0.5607 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000352/0.3973, allocations: 286.4 kB / 0.561 GB, free: 3.414 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.3973, allocations: 0 / 0.561 GB, free: 3.414 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3973, allocations: 3.938 kB / 0.561 GB, free: 3.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.3973, allocations: 0 / 0.561 GB, free: 3.41 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007531/0.3981, allocations: 0.597 MB / 0.5616 GB, free: 2.781 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.3981, allocations: 8.031 kB / 0.5616 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.004e-05/0.3981, allocations: 38.73 kB / 0.5616 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.365e-05/0.3982, allocations: 44.66 kB / 0.5617 GB, free: 2.684 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000285/0.3985, allocations: 246.8 kB / 0.5619 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.3985, allocations: 12.31 kB / 0.5619 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.3985, allocations: 4.375 kB / 0.5619 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.3987, allocations: 61.61 kB / 0.562 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.3987, allocations: 0 / 0.562 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.3987, allocations: 0 / 0.562 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.3987, allocations: 11.98 kB / 0.562 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.185e-05/0.3988, allocations: 23.98 kB / 0.562 GB, free: 2.301 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000506/0.3993, allocations: 367.7 kB / 0.5624 GB, free: 1.898 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.3994, allocations: 42.56 kB / 0.5624 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.921e-05/0.3995, allocations: 12.94 kB / 0.5624 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.3995, allocations: 8.031 kB / 0.5624 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.3995, allocations: 34.56 kB / 0.5625 GB, free: 1.781 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.3995, allocations: 0 / 0.5625 GB, free: 1.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009779/0.4005, allocations: 316.5 kB / 0.5628 GB, free: 1.465 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.4005, allocations: 55.34 kB / 0.5628 GB, free: 1.398 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009188/0.4015, allocations: 0.8699 MB / 0.5637 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.4015, allocations: 29.7 kB / 0.5637 GB, free: 492 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.4017, allocations: 228.1 kB / 0.5639 GB, free: 260 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.199e-05/0.4017, allocations: 27.75 kB / 0.5639 GB, free: 232 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.212e-05/0.4017, allocations: 25.7 kB / 0.564 GB, free: 200 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.4019, allocations: 362.8 kB / 0.5643 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.129e-05/0.402, allocations: 23.98 kB / 0.5643 GB, free: 15.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.118e-05/0.4021, allocations: 27.92 kB / 0.5643 GB, free: 15.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.4022, allocations: 64.77 kB / 0.5644 GB, free: 15.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.4022, allocations: 0 / 0.5644 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002556/0.4025, allocations: 137.4 kB / 0.5645 GB, free: 15.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.4025, allocations: 8 kB / 0.5645 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.4025, allocations: 3.938 kB / 0.5646 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.4025, allocations: 3.984 kB / 0.5646 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.783e-05/0.4026, allocations: 19.94 kB / 0.5646 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.4026, allocations: 0 / 0.5646 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.809e-05/0.4027, allocations: 7.984 kB / 0.5646 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.4027, allocations: 4 kB / 0.5646 GB, free: 15.53 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 (8): * Single equations (assignments): 8 * 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.0002081/0.4029, allocations: 217.7 kB / 0.5648 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.419e-05/0.403, allocations: 47.67 kB / 0.5648 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003391/0.4033, allocations: 161.9 kB / 0.565 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.4033, allocations: 3.938 kB / 0.565 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.4033, allocations: 0 / 0.565 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.4033, allocations: 4 kB / 0.565 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006889/0.404, allocations: 474.3 kB / 0.5655 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.404, allocations: 32 / 0.5655 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.254e-05/0.4041, allocations: 23.98 kB / 0.5655 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.4041, allocations: 4 kB / 0.5655 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.4041, allocations: 3.938 kB / 0.5655 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4041, allocations: 0 / 0.5655 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4041, allocations: 0 / 0.5655 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003158/0.4044, allocations: 248 kB / 0.5657 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.405e-05/0.4045, allocations: 31.72 kB / 0.5658 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.284e-05/0.4045, allocations: 11.98 kB / 0.5658 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.776e-05/0.4046, allocations: 8 kB / 0.5658 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.4047, allocations: 4.406 kB / 0.5658 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.4047, allocations: 4 kB / 0.5658 GB, free: 14.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007204/0.4054, allocations: 0.6589 MB / 0.5664 GB, free: 13.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4054, allocations: 0 / 0.5664 GB, free: 13.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002765/0.4057, allocations: 31.94 kB / 0.5665 GB, free: 13.52 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.002405/0.4081, allocations: 1.17 MB / 0.5676 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002221/0.4083, allocations: 71.88 kB / 0.5677 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4083, allocations: 0 / 0.5677 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.4084, allocations: 27.98 kB / 0.5677 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.4088, allocations: 45.92 kB / 0.5677 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004178/0.413, allocations: 3.329 MB / 0.571 GB, free: 8.977 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.4132, allocations: 228.1 kB / 0.5712 GB, free: 8.738 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.087e-05/0.4133, allocations: 16.42 kB / 0.5712 GB, free: 8.723 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.4134, allocations: 111.4 kB / 0.5713 GB, free: 8.613 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4134, allocations: 0 / 0.5713 GB, free: 8.613 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03458/0.448, allocations: 6.899 MB / 0.5781 GB, free: 1.754 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.89, allocations: 8.984 kB / 0.5781 GB, free: 1.746 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_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_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.Test2_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.108777108136564]