Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001167/0.001167, allocations: 122.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00153/0.00153, allocations: 197.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.231/0.231, allocations: 46.11 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 79.86 kB / 480.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3898, allocations: 62.44 MB / 0.5305 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003708/0.3936, allocations: 2.021 MB / 0.5325 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002361/0.3959, allocations: 1.027 MB / 0.5335 GB, free: 11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001724/0.3961, allocations: 2.281 kB / 0.5335 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006513/0.3968, allocations: 257 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007216/0.3976, allocations: 264.6 kB / 0.534 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001415/0.399, allocations: 494.3 kB / 0.5345 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005593/0.3996, allocations: 329 kB / 0.5348 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002493/0.3998, allocations: 60.12 kB / 0.5349 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000216/0.4001, allocations: 144.9 kB / 0.535 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003182/0.4004, allocations: 209.8 kB / 0.5352 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.86e-05/0.4004, allocations: 14.66 kB / 0.5352 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002228/0.4007, allocations: 71.12 kB / 0.5353 GB, free: 9.949 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001567/0.4008, allocations: 88.28 kB / 0.5354 GB, free: 9.898 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.401, allocations: 129.8 kB / 0.5355 GB, free: 9.793 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005325/0.4015, allocations: 341.6 kB / 0.5358 GB, free: 9.566 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.4016, allocations: 1.062 kB / 0.5358 GB, free: 9.566 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4016, allocations: 0 / 0.5358 GB, free: 9.566 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.4016, allocations: 0 / 0.5358 GB, free: 9.566 MB / 398.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.001023/0.4026, allocations: 0.6936 MB / 0.5365 GB, free: 8.922 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.4027, allocations: 14.19 kB / 0.5365 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.902e-05/0.4027, allocations: 42.81 kB / 0.5365 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.522e-05/0.4028, allocations: 51.03 kB / 0.5366 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004443/0.4033, allocations: 336.2 kB / 0.5369 GB, free: 8.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.4033, allocations: 8.344 kB / 0.5369 GB, free: 8.516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.744e-05/0.4034, allocations: 11.97 kB / 0.5369 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/0.4037, allocations: 118.6 kB / 0.537 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.4037, allocations: 0 / 0.537 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.4037, allocations: 1.125 kB / 0.537 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.4037, allocations: 3.719 kB / 0.5371 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.4039, allocations: 78.36 kB / 0.5371 GB, free: 8.387 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008024/0.4047, allocations: 0.4911 MB / 0.5376 GB, free: 7.945 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.4049, allocations: 95.05 kB / 0.5377 GB, free: 7.887 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.093e-05/0.405, allocations: 34.28 kB / 0.5377 GB, free: 7.867 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.4051, allocations: 10.11 kB / 0.5377 GB, free: 7.859 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.4051, allocations: 39.55 kB / 0.5378 GB, free: 7.812 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.4051, allocations: 0 / 0.5378 GB, free: 7.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001073/0.4062, allocations: 396.1 kB / 0.5382 GB, free: 7.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.4063, allocations: 53.28 kB / 0.5382 GB, free: 7.527 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006697/0.4069, allocations: 0.5939 MB / 0.5388 GB, free: 7.219 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.407, allocations: 29.7 kB / 0.5388 GB, free: 7.184 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/0.4072, allocations: 212.7 kB / 0.539 GB, free: 6.992 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.384e-05/0.4072, allocations: 66.7 kB / 0.5391 GB, free: 6.934 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.561e-05/0.4073, allocations: 29.28 kB / 0.5391 GB, free: 6.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002749/0.4076, allocations: 358.8 kB / 0.5394 GB, free: 6.562 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.4077, allocations: 46.41 kB / 0.5395 GB, free: 6.543 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.4079, allocations: 58.25 kB / 0.5395 GB, free: 6.516 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002716/0.4081, allocations: 121.8 kB / 0.5397 GB, free: 6.453 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.4081, allocations: 0 / 0.5397 GB, free: 6.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000414/0.4086, allocations: 204 kB / 0.5399 GB, free: 6.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.4086, allocations: 5.5 kB / 0.5399 GB, free: 6.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.4086, allocations: 0 / 0.5399 GB, free: 6.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.4086, allocations: 1.438 kB / 0.5399 GB, free: 6.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.4088, allocations: 38.98 kB / 0.5399 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.4088, allocations: 4 kB / 0.5399 GB, free: 6.324 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.123e-05/0.4089, allocations: 13.92 kB / 0.5399 GB, free: 6.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.409, allocations: 4.312 kB / 0.5399 GB, free: 6.316 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.0002078/0.4092, allocations: 174.9 kB / 0.5401 GB, free: 6.172 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.817e-05/0.4093, allocations: 46.55 kB / 0.5401 GB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000582/0.4099, allocations: 247.2 kB / 0.5404 GB, free: 5.988 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.4099, allocations: 6.719 kB / 0.5404 GB, free: 5.984 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.4099, allocations: 0 / 0.5404 GB, free: 5.984 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.4099, allocations: 0 / 0.5404 GB, free: 5.984 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009888/0.4109, allocations: 0.6441 MB / 0.541 GB, free: 5.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.4109, allocations: 0 / 0.541 GB, free: 5.453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.411, allocations: 35.23 kB / 0.541 GB, free: 5.445 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/0.4111, allocations: 3.984 kB / 0.541 GB, free: 5.441 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.4111, allocations: 6.75 kB / 0.5411 GB, free: 5.438 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.4111, allocations: 9.031 kB / 0.5411 GB, free: 5.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.4111, allocations: 0 / 0.5411 GB, free: 5.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004328/0.4115, allocations: 294 kB / 0.5413 GB, free: 5.219 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.4117, allocations: 127.9 kB / 0.5415 GB, free: 5.086 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/0.4117, allocations: 1.531 kB / 0.5415 GB, free: 5.086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.4118, allocations: 12.03 kB / 0.5415 GB, free: 5.078 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.4119, allocations: 15.2 kB / 0.5415 GB, free: 5.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.4119, allocations: 3.062 kB / 0.5415 GB, free: 5.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006144/0.4125, allocations: 445.6 kB / 0.5419 GB, free: 4.844 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4125, allocations: 0 / 0.5419 GB, free: 4.844 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003586/0.4129, allocations: 44.19 kB / 0.542 GB, free: 4.836 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.002575/0.4155, allocations: 1.432 MB / 0.5434 GB, free: 3.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003605/0.4159, allocations: 136.7 kB / 0.5435 GB, free: 3.781 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4159, allocations: 1.281 kB / 0.5435 GB, free: 3.781 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.416, allocations: 71.81 kB / 0.5436 GB, free: 3.754 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006462/0.4167, allocations: 83.7 kB / 0.5436 GB, free: 3.711 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004289/0.421, allocations: 3.176 MB / 0.5467 GB, free: 1.023 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005029/0.4215, allocations: 0.8143 MB / 0.5475 GB, free: 188 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001488/0.4217, allocations: 50.23 kB / 0.5476 GB, free: 140 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001918/0.4219, allocations: 135.4 kB / 0.5477 GB, free: 4 kB / 398.1 MB Notification: Performance of SimCode: time 2.574e-06/0.4219, allocations: 0 / 0.5477 GB, free: 4 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02802/0.4499, allocations: 7.645 MB / 0.5552 GB, free: 8.438 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.048/8.497, allocations: 2.656 kB / 0.5552 GB, free: 8.438 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches