Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16",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.001128/0.001127, 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.0009905/0.0009905, allocations: 183 kB / 18.72 MB, free: 4.332 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.351/1.351, 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.2023/0.2023, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 63.91 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3415, allocations: 60.82 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.002857/0.3444, allocations: 1.613 MB / 0.52 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006892/0.3451, allocations: 0.6818 MB / 0.5207 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.164e-05/0.3451, allocations: 1.094 kB / 0.5207 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002454/0.3454, allocations: 40.75 kB / 0.5207 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001719/0.3456, allocations: 38.83 kB / 0.5208 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.127e-06/0.3456, allocations: 5.094 kB / 0.5208 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.3458, allocations: 28.88 kB / 0.5208 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.944e-05/0.3458, allocations: 4.531 kB / 0.5208 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.909e-05/0.3458, allocations: 9.016 kB / 0.5208 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.904e-05/0.3459, allocations: 19.73 kB / 0.5208 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.217e-06/0.3459, allocations: 1.188 kB / 0.5208 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.436e-05/0.346, allocations: 11.05 kB / 0.5208 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.21e-05/0.346, allocations: 19.36 kB / 0.5208 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.99e-05/0.346, allocations: 16.16 kB / 0.5209 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.3462, allocations: 74.23 kB / 0.5209 GB, free: 1.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3462, allocations: 0.6562 kB / 0.5209 GB, free: 1.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3462, allocations: 0 / 0.5209 GB, free: 1.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.3462, allocations: 1.188 kB / 0.5209 GB, free: 1.57 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003012/0.3465, allocations: 359.7 kB / 0.5213 GB, free: 1.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.3466, allocations: 10.86 kB / 0.5213 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.955e-05/0.3466, allocations: 43.81 kB / 0.5213 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.662e-05/0.3466, allocations: 11.89 kB / 0.5213 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.991e-05/0.3467, allocations: 172.6 kB / 0.5215 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.3467, allocations: 6.375 kB / 0.5215 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.3468, allocations: 1.719 kB / 0.5215 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.3469, allocations: 121.1 kB / 0.5216 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3469, allocations: 9.375 kB / 0.5216 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.3469, allocations: 0 / 0.5216 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.09e-05/0.347, allocations: 23.7 kB / 0.5217 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.224e-05/0.3471, allocations: 43.19 kB / 0.5217 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004474/0.3475, allocations: 0.9007 MB / 0.5226 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.14e-05/0.3476, allocations: 170.1 kB / 0.5227 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.998e-05/0.3476, allocations: 85.83 kB / 0.5228 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.3477, allocations: 75.28 kB / 0.5229 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/0.3477, allocations: 111.6 kB / 0.523 GB, free: 15.46 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.3477, allocations: 0 / 0.523 GB, free: 15.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.449e-05/0.3478, allocations: 34.84 kB / 0.523 GB, free: 15.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/0.3479, allocations: 126.7 kB / 0.5232 GB, free: 15.29 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.3481, allocations: 190.3 kB / 0.5233 GB, free: 15.16 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.3481, allocations: 25.7 kB / 0.5234 GB, free: 15.12 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.925e-05/0.3482, allocations: 153.9 kB / 0.5235 GB, free: 14.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.051e-06/0.3482, allocations: 7.531 kB / 0.5235 GB, free: 14.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.458e-05/0.3483, allocations: 46.53 kB / 0.5236 GB, free: 14.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.3484, allocations: 321.5 kB / 0.5239 GB, free: 14.63 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.166e-05/0.3484, allocations: 36.06 kB / 0.5239 GB, free: 14.62 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.3486, allocations: 155.8 kB / 0.5241 GB, free: 14.44 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.3488, allocations: 207.6 kB / 0.5243 GB, free: 14.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.3488, allocations: 5.188 kB / 0.5243 GB, free: 14.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003046/0.3491, allocations: 195.5 kB / 0.5244 GB, free: 14.13 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.3491, allocations: 10.28 kB / 0.5245 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.3491, allocations: 4.438 kB / 0.5245 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.3492, allocations: 6.5 kB / 0.5245 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.3493, allocations: 41.2 kB / 0.5245 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.3493, allocations: 10.52 kB / 0.5245 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.663e-05/0.3494, allocations: 24.69 kB / 0.5245 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.3494, allocations: 9.469 kB / 0.5245 GB, free: 14.11 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001439/0.3496, allocations: 217.8 kB / 0.5248 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.702e-05/0.3496, allocations: 114.2 kB / 0.5249 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.99e-05/0.3497, allocations: 120.1 kB / 0.525 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.297e-05/0.3498, allocations: 186.3 kB / 0.5252 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-05/0.3499, allocations: 181.2 kB / 0.5253 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.627e-05/0.3499, allocations: 181.9 kB / 0.5255 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002437/0.3502, allocations: 428.5 kB / 0.5259 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.42e-05/0.3502, allocations: 106.6 kB / 0.526 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.989e-05/0.3503, allocations: 101.6 kB / 0.5261 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.351e-05/0.3503, allocations: 178.3 kB / 0.5263 GB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.919e-05/0.3504, allocations: 182 kB / 0.5264 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.604e-05/0.3505, allocations: 186 kB / 0.5266 GB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.708e-05/0.3506, allocations: 182.3 kB / 0.5268 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.3507, allocations: 309 kB / 0.5271 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.729e-05/0.3508, allocations: 193.6 kB / 0.5273 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.734e-05/0.3509, allocations: 182.2 kB / 0.5275 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.38e-05/0.351, allocations: 109.6 kB / 0.5276 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.508e-05/0.351, allocations: 178.1 kB / 0.5277 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.601e-05/0.3511, allocations: 106.6 kB / 0.5278 GB, free: 10.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001148/0.3512, allocations: 135.1 kB / 0.528 GB, free: 10.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3512, allocations: 1.125 kB / 0.528 GB, free: 10.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003012/0.3515, allocations: 12 kB / 0.528 GB, free: 10.5 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 (0): * Single equations (assignments): 0 * 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.000746/0.3523, allocations: 0.9182 MB / 0.5289 GB, free: 9.637 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001497/0.3524, allocations: 74.89 kB / 0.5289 GB, free: 9.613 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3524, allocations: 4.125 kB / 0.5289 GB, free: 9.609 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.254e-06/0.3524, allocations: 1.188 kB / 0.5289 GB, free: 9.609 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.3528, allocations: 459.3 kB / 0.5294 GB, free: 9.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.3544, allocations: 1.877 MB / 0.5312 GB, free: 7.383 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.3548, allocations: 0.7056 MB / 0.5319 GB, free: 6.676 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001962/0.355, allocations: 50.41 kB / 0.532 GB, free: 6.672 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.274e-05/0.355, allocations: 33.3 kB / 0.532 GB, free: 6.648 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.355, allocations: 0 / 0.532 GB, free: 6.648 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02448/0.3795, allocations: 2.097 MB / 0.534 GB, free: 6.004 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.737/8.117, allocations: 10.38 kB / 0.534 GB, free: 5.996 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches