Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.001722/0.001722, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.002471/0.002471, allocations: 215.1 kB / 23.74 MB, free: 4.656 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.48/1.48, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.234/0.234, allocations: 46.93 MB / 360.9 MB, free: 4.234 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+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.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 63.91 kB / 0.4962 GB, free: 7.859 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.3997, allocations: 66.04 MB / 0.5607 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003462/0.4032, allocations: 1.664 MB / 0.5623 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.4044, allocations: 0.5699 MB / 0.5629 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.877e-05/0.4044, allocations: 3.938 kB / 0.5629 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006439/0.4051, allocations: 455.1 kB / 0.5633 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005263/0.4056, allocations: 299.3 kB / 0.5636 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003721/0.406, allocations: 127 kB / 0.5637 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002515/0.4062, allocations: 167.6 kB / 0.5639 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.4064, allocations: 17.81 kB / 0.5639 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.4065, allocations: 115.6 kB / 0.564 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002879/0.4068, allocations: 247.5 kB / 0.5642 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.4068, allocations: 4 kB / 0.5642 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.955e-05/0.4069, allocations: 39.97 kB / 0.5643 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.407, allocations: 79.7 kB / 0.5643 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.592e-05/0.4071, allocations: 103 kB / 0.5644 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003397/0.4074, allocations: 270.5 kB / 0.5647 GB, free: 328 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.587e-05/0.4074, allocations: 0 / 0.5647 GB, free: 328 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4074, allocations: 0 / 0.5647 GB, free: 328 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.4075, allocations: 0 / 0.5647 GB, free: 328 kB / 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.0007887/0.4082, allocations: 0.5893 MB / 0.5653 GB, free: 15.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.4083, allocations: 8.031 kB / 0.5653 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.926e-05/0.4083, allocations: 34.75 kB / 0.5653 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.13e-05/0.4084, allocations: 44.61 kB / 0.5654 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.4087, allocations: 246.8 kB / 0.5656 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.4087, allocations: 4.375 kB / 0.5656 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.4087, allocations: 4.375 kB / 0.5656 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.4089, allocations: 53.56 kB / 0.5656 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.4089, allocations: 4 kB / 0.5656 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.4089, allocations: 4 kB / 0.5657 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.4089, allocations: 7.984 kB / 0.5657 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.883e-05/0.409, allocations: 19.98 kB / 0.5657 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004957/0.4095, allocations: 363.7 kB / 0.566 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002271/0.4097, allocations: 46.5 kB / 0.5661 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.418e-05/0.4098, allocations: 20.94 kB / 0.5661 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.4098, allocations: 0 / 0.5661 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.4098, allocations: 30.56 kB / 0.5661 GB, free: 14.72 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.4098, allocations: 0 / 0.5661 GB, free: 14.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006496/0.4105, allocations: 236.9 kB / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.4105, allocations: 55.41 kB / 0.5664 GB, free: 14.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009384/0.4115, allocations: 0.8737 MB / 0.5673 GB, free: 13.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.4115, allocations: 29.7 kB / 0.5673 GB, free: 13.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.4117, allocations: 224.1 kB / 0.5675 GB, free: 13.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.4117, allocations: 15.83 kB / 0.5675 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.046e-05/0.4117, allocations: 17.72 kB / 0.5675 GB, free: 13.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.4119, allocations: 370.7 kB / 0.5679 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.356e-05/0.412, allocations: 19.92 kB / 0.5679 GB, free: 12.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.837e-05/0.4121, allocations: 19.98 kB / 0.5679 GB, free: 12.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.4122, allocations: 52.97 kB / 0.568 GB, free: 12.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.4122, allocations: 0 / 0.568 GB, free: 12.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002247/0.4124, allocations: 125.3 kB / 0.5681 GB, free: 12.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.4125, allocations: 4 kB / 0.5681 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.4125, allocations: 0 / 0.5681 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.4125, allocations: 4 kB / 0.5681 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.839e-05/0.4125, allocations: 15.98 kB / 0.5681 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.4125, allocations: 0 / 0.5681 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.405e-05/0.4126, allocations: 11.94 kB / 0.5681 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.4126, allocations: 0 / 0.5681 GB, free: 12.61 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 (5): * Single equations (assignments): 5 * 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.0002157/0.4128, allocations: 213.7 kB / 0.5683 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.14e-05/0.4129, allocations: 43.72 kB / 0.5684 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003031/0.4132, allocations: 137.3 kB / 0.5685 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4132, allocations: 0 / 0.5685 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.4132, allocations: 3.984 kB / 0.5685 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.4132, allocations: 3.938 kB / 0.5685 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005859/0.4138, allocations: 429.5 kB / 0.5689 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.4138, allocations: 0 / 0.5689 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.676e-05/0.4139, allocations: 15.98 kB / 0.5689 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4139, allocations: 4 kB / 0.5689 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.4139, allocations: 3.938 kB / 0.5689 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4139, allocations: 0 / 0.5689 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.4139, allocations: 192 / 0.5689 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002841/0.4142, allocations: 223.2 kB / 0.5692 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.443e-05/0.4142, allocations: 35.66 kB / 0.5692 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.4142, allocations: 7.938 kB / 0.5692 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.732e-05/0.4143, allocations: 11.98 kB / 0.5692 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.4144, allocations: 4 kB / 0.5692 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.4144, allocations: 0 / 0.5692 GB, free: 11.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006938/0.4151, allocations: 0.6589 MB / 0.5699 GB, free: 10.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4151, allocations: 0 / 0.5699 GB, free: 10.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.4153, allocations: 27.94 kB / 0.5699 GB, free: 10.72 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 (5): * Single equations (assignments): 5 * 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.001933/0.4173, allocations: 1.058 MB / 0.5709 GB, free: 9.793 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002077/0.4175, allocations: 47.91 kB / 0.571 GB, free: 9.746 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.4175, allocations: 0 / 0.571 GB, free: 9.746 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.09e-05/0.4175, allocations: 23.98 kB / 0.571 GB, free: 9.723 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.418, allocations: 30.3 kB / 0.571 GB, free: 9.691 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003809/0.4218, allocations: 3.24 MB / 0.5742 GB, free: 6.359 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004853/0.4223, allocations: 0.8259 MB / 0.575 GB, free: 5.508 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.058e-05/0.4223, allocations: 15.97 kB / 0.575 GB, free: 5.492 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.4224, allocations: 103.4 kB / 0.5751 GB, free: 5.395 MB / 414.1 MB Notification: Performance of SimCode: time 5.42e-07/0.4224, allocations: 0 / 0.5751 GB, free: 5.395 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03459/0.457, allocations: 6.222 MB / 0.5812 GB, free: 15.25 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.99, allocations: 7.578 kB / 0.5812 GB, free: 15.24 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_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_ModelicaTest_Tables_CombiTable2Ds_Test4.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.215193716001522]