Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 112.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 184.8 kB / 18.71 MB, free: 4.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 242.4 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2136/0.2136, allocations: 44.2 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 67.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4144, allocations: 60.82 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003489/0.4179, allocations: 1.95 MB / 0.5203 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.4195, allocations: 0.8571 MB / 0.5212 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.4196, allocations: 2.406 kB / 0.5212 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006362/0.4203, allocations: 250.5 kB / 0.5214 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004504/0.4208, allocations: 192.8 kB / 0.5216 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.4219, allocations: 488.5 kB / 0.5221 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004368/0.4224, allocations: 282.3 kB / 0.5223 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001973/0.4226, allocations: 68.8 kB / 0.5224 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001665/0.4228, allocations: 130.6 kB / 0.5225 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002858/0.4231, allocations: 192.8 kB / 0.5227 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.385e-05/0.4231, allocations: 9.469 kB / 0.5227 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.4233, allocations: 75.38 kB / 0.5228 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.4234, allocations: 85.84 kB / 0.5229 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.763e-05/0.4235, allocations: 120.2 kB / 0.523 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004429/0.4239, allocations: 311.2 kB / 0.5233 GB, free: 484 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.424, allocations: 0.9844 kB / 0.5233 GB, free: 484 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.424, allocations: 0 / 0.5233 GB, free: 484 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.424, allocations: 5.469 kB / 0.5233 GB, free: 480 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008416/0.4248, allocations: 0.6557 MB / 0.5239 GB, free: 15.9 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.4249, allocations: 10.69 kB / 0.5239 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.793e-05/0.4249, allocations: 44.8 kB / 0.524 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.759e-05/0.425, allocations: 42.91 kB / 0.524 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/0.4254, allocations: 318.8 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.4254, allocations: 5.375 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.593e-05/0.4255, allocations: 11.14 kB / 0.5244 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/0.4257, allocations: 114.6 kB / 0.5245 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.4258, allocations: 12.62 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.4258, allocations: 5.812 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.4258, allocations: 2.031 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.426, allocations: 71.36 kB / 0.5245 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007395/0.4267, allocations: 490.6 kB / 0.525 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.4269, allocations: 100.5 kB / 0.5251 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.823e-05/0.427, allocations: 37.45 kB / 0.5251 GB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.4271, allocations: 2.391 kB / 0.5252 GB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.4271, allocations: 40.95 kB / 0.5252 GB, free: 14.96 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 2.655e-06/0.4271, allocations: 3.984 kB / 0.5252 GB, free: 14.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.000961/0.4281, allocations: 387.5 kB / 0.5256 GB, free: 14.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.4281, allocations: 54.16 kB / 0.5256 GB, free: 14.71 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006409/0.4288, allocations: 0.5435 MB / 0.5261 GB, free: 14.49 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.4288, allocations: 29.7 kB / 0.5262 GB, free: 14.46 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.429, allocations: 204.2 kB / 0.5264 GB, free: 14.29 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.957e-05/0.4291, allocations: 63.02 kB / 0.5264 GB, free: 14.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.706e-05/0.4291, allocations: 31.17 kB / 0.5265 GB, free: 14.21 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.4293, allocations: 351.4 kB / 0.5268 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.4294, allocations: 54.36 kB / 0.5268 GB, free: 13.86 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.4296, allocations: 53.34 kB / 0.5269 GB, free: 13.85 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002653/0.4298, allocations: 125.8 kB / 0.527 GB, free: 13.79 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.4298, allocations: 1.344 kB / 0.527 GB, free: 13.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003913/0.4302, allocations: 197 kB / 0.5272 GB, free: 13.69 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.4303, allocations: 5.125 kB / 0.5272 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4303, allocations: 4 kB / 0.5272 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.4303, allocations: 0 / 0.5272 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.4305, allocations: 39.38 kB / 0.5273 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.4305, allocations: 1.094 kB / 0.5273 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.976e-05/0.4306, allocations: 12.42 kB / 0.5273 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.4306, allocations: 9.297 kB / 0.5273 GB, free: 13.66 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 (17): * Single equations (assignments): 17 * 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.0001997/0.4308, allocations: 173.8 kB / 0.5274 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.498e-05/0.4309, allocations: 36.67 kB / 0.5275 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004708/0.4314, allocations: 241.8 kB / 0.5277 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.4314, allocations: 1.375 kB / 0.5277 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4314, allocations: 0 / 0.5277 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.4314, allocations: 9.578 kB / 0.5277 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009377/0.4324, allocations: 0.6243 MB / 0.5283 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.4324, allocations: 1.531 kB / 0.5283 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.4325, allocations: 33.33 kB / 0.5284 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.4325, allocations: 1.281 kB / 0.5284 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.4326, allocations: 6.531 kB / 0.5284 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.4326, allocations: 3.938 kB / 0.5284 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4326, allocations: 1.625 kB / 0.5284 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004282/0.433, allocations: 296.2 kB / 0.5287 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.5e-05/0.4331, allocations: 122 kB / 0.5288 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.838e-05/0.4332, allocations: 1.312 kB / 0.5288 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.4333, allocations: 16.11 kB / 0.5288 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/0.4333, allocations: 10.92 kB / 0.5288 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.4334, allocations: 3.375 kB / 0.5288 GB, free: 12.45 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004869/0.4339, allocations: 409.5 kB / 0.5292 GB, free: 12.24 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4339, allocations: 1.625 kB / 0.5292 GB, free: 12.24 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003309/0.4342, allocations: 53.62 kB / 0.5292 GB, free: 12.22 MB / 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 (17): * Single equations (assignments): 17 * 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.002309/0.4365, allocations: 1.425 MB / 0.5306 GB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003374/0.4369, allocations: 131.9 kB / 0.5308 GB, free: 11.21 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4369, allocations: 4 kB / 0.5308 GB, free: 11.21 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.4371, allocations: 76.88 kB / 0.5308 GB, free: 11.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006207/0.4377, allocations: 68.05 kB / 0.5309 GB, free: 11.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004904/0.4426, allocations: 3.035 MB / 0.5339 GB, free: 9.078 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004967/0.4431, allocations: 0.8041 MB / 0.5347 GB, free: 8.324 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001806/0.4433, allocations: 55.58 kB / 0.5347 GB, free: 8.297 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001855/0.4435, allocations: 120.3 kB / 0.5348 GB, free: 8.199 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4435, allocations: 0.9062 kB / 0.5348 GB, free: 8.199 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03556/0.4791, allocations: 7.268 MB / 0.5419 GB, free: 4.008 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.976/8.455, allocations: 15.69 kB / 0.5419 GB, free: 3.996 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches