Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21",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.001489/0.001489, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.00154/0.00154, allocations: 183.8 kB / 18.72 MB, free: 4.336 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.385/1.385, 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.2211/0.2211, allocations: 44.18 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 63.91 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.376, allocations: 60.83 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003892/0.3799, allocations: 1.978 MB / 0.5204 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001978/0.3818, allocations: 0.9565 MB / 0.5213 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.382, allocations: 3.5 kB / 0.5213 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007281/0.3827, allocations: 260.6 kB / 0.5216 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004246/0.3831, allocations: 192.7 kB / 0.5217 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.3846, allocations: 0.6493 MB / 0.5224 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000462/0.3851, allocations: 306.3 kB / 0.5227 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000197/0.3853, allocations: 63.06 kB / 0.5227 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.3854, allocations: 134.9 kB / 0.5229 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000304/0.3857, allocations: 200.8 kB / 0.523 GB, free: 0.582 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.463e-05/0.3858, allocations: 9.812 kB / 0.5231 GB, free: 0.582 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002196/0.386, allocations: 97.86 kB / 0.5231 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001454/0.3861, allocations: 100.1 kB / 0.5232 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.327e-05/0.3862, allocations: 125.1 kB / 0.5234 GB, free: 428 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004737/0.3867, allocations: 343.8 kB / 0.5237 GB, free: 276 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3867, allocations: 0.7188 kB / 0.5237 GB, free: 276 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3867, allocations: 0 / 0.5237 GB, free: 276 kB / 382.1 MB Notification: Performance of Transformations before backend: time 8.325e-06/0.3867, allocations: 0 / 0.5237 GB, free: 276 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.0009233/0.3877, allocations: 0.6833 MB / 0.5244 GB, free: 15.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.3877, allocations: 9.031 kB / 0.5244 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.651e-05/0.3878, allocations: 45.14 kB / 0.5244 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.515e-05/0.3878, allocations: 47.03 kB / 0.5245 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004524/0.3883, allocations: 324.1 kB / 0.5248 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.3883, allocations: 12.12 kB / 0.5248 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.103e-05/0.3884, allocations: 17.88 kB / 0.5248 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000307/0.3887, allocations: 131.7 kB / 0.5249 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.3887, allocations: 2.391 kB / 0.5249 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.3887, allocations: 4 kB / 0.5249 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.3887, allocations: 7.875 kB / 0.5249 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002196/0.3889, allocations: 90.2 kB / 0.525 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008404/0.3898, allocations: 0.5119 MB / 0.5255 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.39, allocations: 110.8 kB / 0.5256 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.748e-05/0.3901, allocations: 40.73 kB / 0.5257 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.274e-05/0.3901, allocations: 3.406 kB / 0.5257 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.3902, allocations: 36.48 kB / 0.5257 GB, free: 14.72 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.3902, allocations: 0 / 0.5257 GB, free: 14.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001102/0.3913, allocations: 446.6 kB / 0.5261 GB, free: 14.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.3913, allocations: 52.78 kB / 0.5262 GB, free: 14.46 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006921/0.392, allocations: 0.5575 MB / 0.5267 GB, free: 14.21 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.392, allocations: 29.7 kB / 0.5267 GB, free: 14.17 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.3922, allocations: 203.1 kB / 0.5269 GB, free: 13.99 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.042e-05/0.3923, allocations: 58.95 kB / 0.527 GB, free: 13.94 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.579e-05/0.3923, allocations: 37.48 kB / 0.527 GB, free: 13.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.3925, allocations: 351.4 kB / 0.5274 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.3927, allocations: 66.3 kB / 0.5274 GB, free: 13.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.3928, allocations: 68.27 kB / 0.5275 GB, free: 13.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003009/0.3931, allocations: 162.8 kB / 0.5277 GB, free: 13.42 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.3931, allocations: 0 / 0.5277 GB, free: 13.42 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000424/0.3935, allocations: 234.3 kB / 0.5279 GB, free: 13.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.3935, allocations: 5.812 kB / 0.5279 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.3936, allocations: 0 / 0.5279 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.3936, allocations: 1.562 kB / 0.5279 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.3937, allocations: 34.48 kB / 0.5279 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3937, allocations: 0 / 0.5279 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.556e-05/0.3938, allocations: 10.67 kB / 0.5279 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.3938, allocations: 8.375 kB / 0.5279 GB, free: 13.27 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.0002059/0.394, allocations: 180.6 kB / 0.5281 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.795e-05/0.3941, allocations: 42.25 kB / 0.5281 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005853/0.3947, allocations: 285.6 kB / 0.5284 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.3947, allocations: 2.562 kB / 0.5284 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3947, allocations: 0 / 0.5284 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3947, allocations: 0 / 0.5284 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.3957, allocations: 0.6806 MB / 0.5291 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.3958, allocations: 7.922 kB / 0.5291 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.3959, allocations: 29.58 kB / 0.5291 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3959, allocations: 1.062 kB / 0.5291 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.3959, allocations: 6.156 kB / 0.5291 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.3959, allocations: 5.156 kB / 0.5291 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3959, allocations: 1.438 kB / 0.5291 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000501/0.3964, allocations: 339.5 kB / 0.5295 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.3965, allocations: 121.3 kB / 0.5296 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/0.3965, allocations: 5.281 kB / 0.5296 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.3966, allocations: 9.625 kB / 0.5296 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.377e-05/0.3967, allocations: 13.77 kB / 0.5296 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.3967, allocations: 8.641 kB / 0.5296 GB, free: 11.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004872/0.3972, allocations: 412.2 kB / 0.53 GB, free: 11.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3972, allocations: 1.719 kB / 0.53 GB, free: 11.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003263/0.3975, allocations: 55.48 kB / 0.5301 GB, free: 11.75 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.003398/0.4009, allocations: 1.454 MB / 0.5315 GB, free: 10.79 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003834/0.4013, allocations: 164.2 kB / 0.5316 GB, free: 10.71 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4013, allocations: 1.031 kB / 0.5316 GB, free: 10.71 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.4015, allocations: 83.61 kB / 0.5317 GB, free: 10.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006229/0.4021, allocations: 80.23 kB / 0.5318 GB, free: 10.63 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004523/0.4066, allocations: 3.208 MB / 0.5349 GB, free: 8.484 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005911/0.4072, allocations: 0.8156 MB / 0.5357 GB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000211/0.4074, allocations: 56.14 kB / 0.5358 GB, free: 7.707 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/0.4076, allocations: 134.1 kB / 0.5359 GB, free: 7.598 MB / 398.1 MB Notification: Performance of SimCode: time 1.302e-06/0.4076, allocations: 3.938 kB / 0.5359 GB, free: 7.594 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03322/0.4408, allocations: 7.513 MB / 0.5432 GB, free: 2.648 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.414/8.855, allocations: 14.16 kB / 0.5433 GB, free: 2.637 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_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_CombiTable2Dv_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches