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.001517/0.001517, allocations: 112.7 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.001704/0.001704, allocations: 180.1 kB / 18.71 MB, free: 4.363 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.397/1.397, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2175/0.2175, allocations: 44.19 MB / 336.8 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 67.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3926, allocations: 60.82 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003823/0.3964, allocations: 1.969 MB / 0.5204 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.3983, allocations: 0.9519 MB / 0.5213 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.3984, allocations: 2.969 kB / 0.5213 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005799/0.399, allocations: 258.7 kB / 0.5215 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003975/0.3994, allocations: 201.2 kB / 0.5217 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001581/0.401, allocations: 0.644 MB / 0.5224 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005454/0.4015, allocations: 307.8 kB / 0.5227 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002059/0.4018, allocations: 87.39 kB / 0.5227 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.402, allocations: 131.5 kB / 0.5229 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002539/0.4022, allocations: 205.2 kB / 0.5231 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.125e-05/0.4023, allocations: 9.375 kB / 0.5231 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000241/0.4025, allocations: 98.58 kB / 0.5232 GB, free: 0.543 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.4027, allocations: 96.86 kB / 0.5233 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.4028, allocations: 126.7 kB / 0.5234 GB, free: 416 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004762/0.4032, allocations: 340 kB / 0.5237 GB, free: 268 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4033, allocations: 0 / 0.5237 GB, free: 268 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.4033, allocations: 5.719 kB / 0.5237 GB, free: 264 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.4033, allocations: 0 / 0.5237 GB, free: 264 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.0008874/0.4042, allocations: 0.6776 MB / 0.5244 GB, free: 15.67 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.4042, allocations: 10.81 kB / 0.5244 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.871e-05/0.4043, allocations: 45.98 kB / 0.5244 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.173e-05/0.4044, allocations: 41.75 kB / 0.5245 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004119/0.4048, allocations: 322.7 kB / 0.5248 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.4048, allocations: 9.344 kB / 0.5248 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.721e-05/0.4049, allocations: 19.28 kB / 0.5248 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000304/0.4052, allocations: 129.4 kB / 0.5249 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.4052, allocations: 4.75 kB / 0.5249 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.4052, allocations: 5.375 kB / 0.5249 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.4052, allocations: 2.75 kB / 0.5249 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002336/0.4055, allocations: 92.67 kB / 0.525 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008107/0.4063, allocations: 0.5075 MB / 0.5255 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002425/0.4066, allocations: 113.9 kB / 0.5256 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.204e-05/0.4067, allocations: 38.06 kB / 0.5257 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.4067, allocations: 4.016 kB / 0.5257 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.4067, allocations: 39.88 kB / 0.5257 GB, free: 14.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.623e-06/0.4067, allocations: 0 / 0.5257 GB, free: 14.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001178/0.4079, allocations: 439.8 kB / 0.5261 GB, free: 14.53 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.408, allocations: 56.59 kB / 0.5262 GB, free: 14.46 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007562/0.4087, allocations: 0.5601 MB / 0.5267 GB, free: 14.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.4088, allocations: 25.7 kB / 0.5267 GB, free: 14.2 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.4089, allocations: 210.9 kB / 0.5269 GB, free: 14 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.714e-05/0.409, allocations: 62.34 kB / 0.527 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.428e-05/0.4091, allocations: 33.88 kB / 0.527 GB, free: 13.92 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.4092, allocations: 355.2 kB / 0.5274 GB, free: 13.58 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.4094, allocations: 70.33 kB / 0.5274 GB, free: 13.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.4095, allocations: 63.72 kB / 0.5275 GB, free: 13.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.4098, allocations: 165 kB / 0.5277 GB, free: 13.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.4098, allocations: 0 / 0.5277 GB, free: 13.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003822/0.4102, allocations: 221.3 kB / 0.5279 GB, free: 13.31 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.4102, allocations: 5.312 kB / 0.5279 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.4102, allocations: 3.984 kB / 0.5279 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.4103, allocations: 5.375 kB / 0.5279 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.4104, allocations: 38.48 kB / 0.5279 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.4104, allocations: 5.547 kB / 0.5279 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.288e-05/0.4105, allocations: 4.5 kB / 0.5279 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.4106, allocations: 8.422 kB / 0.5279 GB, free: 13.29 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.0001706/0.4107, allocations: 177.7 kB / 0.5281 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.776e-05/0.4108, allocations: 45.52 kB / 0.5282 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005236/0.4113, allocations: 287.6 kB / 0.5284 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.4114, allocations: 2 kB / 0.5284 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4114, allocations: 0 / 0.5284 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.4114, allocations: 4.891 kB / 0.5284 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000952/0.4123, allocations: 0.6767 MB / 0.5291 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.4124, allocations: 3.984 kB / 0.5291 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.4125, allocations: 34.17 kB / 0.5291 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.4125, allocations: 4.875 kB / 0.5291 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.4125, allocations: 10.17 kB / 0.5291 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.4125, allocations: 5.188 kB / 0.5292 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4125, allocations: 0 / 0.5292 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004322/0.413, allocations: 325.7 kB / 0.5295 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.356e-05/0.4131, allocations: 117.8 kB / 0.5296 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.91e-05/0.4131, allocations: 10.2 kB / 0.5296 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.4132, allocations: 12.53 kB / 0.5296 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/0.4133, allocations: 9.641 kB / 0.5296 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.4133, allocations: 8.531 kB / 0.5296 GB, free: 12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004595/0.4138, allocations: 413.4 kB / 0.53 GB, free: 11.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.4138, allocations: 0 / 0.53 GB, free: 11.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003339/0.4141, allocations: 48.84 kB / 0.5301 GB, free: 11.78 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.002324/0.4164, allocations: 1.463 MB / 0.5315 GB, free: 10.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003714/0.4168, allocations: 161.8 kB / 0.5316 GB, free: 10.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4168, allocations: 0 / 0.5316 GB, free: 10.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.417, allocations: 102.4 kB / 0.5317 GB, free: 10.69 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006161/0.4176, allocations: 75.77 kB / 0.5318 GB, free: 10.64 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003947/0.4216, allocations: 3.206 MB / 0.5349 GB, free: 8.496 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.422, allocations: 0.8188 MB / 0.5357 GB, free: 7.734 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001725/0.4222, allocations: 57.27 kB / 0.5358 GB, free: 7.715 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.4223, allocations: 125.3 kB / 0.5359 GB, free: 7.613 MB / 398.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4223, allocations: 0 / 0.5359 GB, free: 7.613 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02778/0.4501, allocations: 7.504 MB / 0.5432 GB, free: 2.637 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.048/8.498, allocations: 19.45 kB / 0.5433 GB, free: 2.621 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