Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_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.001593/0.001593, allocations: 112.8 kB / 17.78 MB, free: 5.277 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.001826/0.001826, allocations: 180.9 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.437/1.437, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.2217/0.2217, allocations: 44.19 MB / 336.8 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 59.91 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3909, allocations: 60.82 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.003075/0.394, allocations: 1.97 MB / 0.5204 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.3955, allocations: 0.849 MB / 0.5212 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.3956, allocations: 3.281 kB / 0.5212 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005405/0.3961, allocations: 250.1 kB / 0.5214 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003819/0.3965, allocations: 192.2 kB / 0.5216 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.3976, allocations: 489.2 kB / 0.5221 GB, free: 1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004067/0.3981, allocations: 286.3 kB / 0.5224 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.3982, allocations: 69.5 kB / 0.5224 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/0.3984, allocations: 130.9 kB / 0.5225 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002502/0.3987, allocations: 196.7 kB / 0.5227 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.883e-05/0.3987, allocations: 9.156 kB / 0.5227 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001937/0.3989, allocations: 95.58 kB / 0.5228 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.399, allocations: 91.22 kB / 0.5229 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.498e-05/0.3991, allocations: 116 kB / 0.523 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004824/0.3996, allocations: 333.4 kB / 0.5233 GB, free: 456 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3996, allocations: 0 / 0.5233 GB, free: 456 kB / 382.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.3996, allocations: 0 / 0.5233 GB, free: 456 kB / 382.1 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.3996, allocations: 0 / 0.5233 GB, free: 456 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.0009173/0.4005, allocations: 0.6681 MB / 0.524 GB, free: 15.87 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.4006, allocations: 8.125 kB / 0.524 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.703e-05/0.4007, allocations: 53.58 kB / 0.5241 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.038e-05/0.4008, allocations: 41.69 kB / 0.5241 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004504/0.4012, allocations: 311.8 kB / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.4013, allocations: 13.31 kB / 0.5244 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.604e-05/0.4013, allocations: 11.89 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002755/0.4016, allocations: 115 kB / 0.5245 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.4016, allocations: 4.469 kB / 0.5245 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.4016, allocations: 5.844 kB / 0.5245 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.4017, allocations: 5.75 kB / 0.5245 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001902/0.4018, allocations: 71.3 kB / 0.5246 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008395/0.4027, allocations: 490.7 kB / 0.5251 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.4029, allocations: 103.2 kB / 0.5252 GB, free: 14.99 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.098e-05/0.403, allocations: 33.62 kB / 0.5252 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.697e-05/0.4031, allocations: 7.5 kB / 0.5252 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.496e-05/0.4031, allocations: 36.39 kB / 0.5253 GB, free: 14.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.4031, allocations: 0 / 0.5253 GB, free: 14.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001107/0.4042, allocations: 383.6 kB / 0.5256 GB, free: 14.74 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/0.4043, allocations: 55.44 kB / 0.5257 GB, free: 14.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008625/0.4052, allocations: 0.5499 MB / 0.5262 GB, free: 14.46 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.4052, allocations: 27.11 kB / 0.5262 GB, free: 14.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.4054, allocations: 206.5 kB / 0.5264 GB, free: 14.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.093e-05/0.4054, allocations: 58.8 kB / 0.5265 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.93e-05/0.4055, allocations: 33.45 kB / 0.5265 GB, free: 14.18 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.4057, allocations: 349.8 kB / 0.5269 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.4058, allocations: 50.8 kB / 0.5269 GB, free: 13.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.406, allocations: 50.84 kB / 0.5269 GB, free: 13.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002561/0.4062, allocations: 133.5 kB / 0.5271 GB, free: 13.76 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.4062, allocations: 0 / 0.5271 GB, free: 13.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003463/0.4066, allocations: 195.1 kB / 0.5273 GB, free: 13.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.4066, allocations: 5.5 kB / 0.5273 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.4066, allocations: 0 / 0.5273 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.4066, allocations: 1.375 kB / 0.5273 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.4068, allocations: 39.42 kB / 0.5273 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.4068, allocations: 0 / 0.5273 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.041e-05/0.4069, allocations: 13.44 kB / 0.5273 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.4069, allocations: 8.125 kB / 0.5273 GB, free: 13.64 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.0001732/0.4071, allocations: 170.9 kB / 0.5275 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.285e-05/0.4072, allocations: 41.62 kB / 0.5275 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004507/0.4076, allocations: 242.6 kB / 0.5278 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.4076, allocations: 5.344 kB / 0.5278 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.4077, allocations: 1.594 kB / 0.5278 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.4077, allocations: 0 / 0.5278 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009587/0.4086, allocations: 0.6269 MB / 0.5284 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4086, allocations: 0 / 0.5284 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.4088, allocations: 37.59 kB / 0.5284 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.4088, allocations: 1.5 kB / 0.5284 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.4088, allocations: 1.25 kB / 0.5284 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.4088, allocations: 10.38 kB / 0.5284 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.4088, allocations: 0 / 0.5284 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004827/0.4093, allocations: 295.6 kB / 0.5287 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.786e-05/0.4094, allocations: 118.3 kB / 0.5288 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.193e-05/0.4095, allocations: 9.531 kB / 0.5288 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.4096, allocations: 9.5 kB / 0.5288 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/0.4097, allocations: 18.3 kB / 0.5289 GB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.4097, allocations: 4.062 kB / 0.5289 GB, free: 12.42 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005371/0.4102, allocations: 409.3 kB / 0.5293 GB, free: 12.21 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4102, allocations: 0 / 0.5293 GB, free: 12.21 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003101/0.4105, allocations: 50.92 kB / 0.5293 GB, free: 12.2 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.002216/0.4128, allocations: 1.423 MB / 0.5307 GB, free: 11.24 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003372/0.4131, allocations: 130.1 kB / 0.5308 GB, free: 11.19 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4131, allocations: 0 / 0.5308 GB, free: 11.19 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.4133, allocations: 72.06 kB / 0.5309 GB, free: 11.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000588/0.4139, allocations: 93.27 kB / 0.531 GB, free: 11.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00361/0.4175, allocations: 3.038 MB / 0.5339 GB, free: 9.043 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000421/0.4179, allocations: 0.8046 MB / 0.5347 GB, free: 8.289 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001603/0.4181, allocations: 42.88 kB / 0.5348 GB, free: 8.273 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.4183, allocations: 121.7 kB / 0.5349 GB, free: 8.176 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4183, allocations: 0 / 0.5349 GB, free: 8.176 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02588/0.4442, allocations: 7.26 MB / 0.542 GB, free: 3.961 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.984/8.428, allocations: 21.59 kB / 0.542 GB, free: 3.949 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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_CombiTable2Ds_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches