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.00149/0.00149, allocations: 113.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.001588/0.001588, allocations: 179.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.415/1.415, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2212/0.2212, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 63.91 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3728, allocations: 60.83 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.003099/0.376, allocations: 1.966 MB / 0.5204 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.3773, allocations: 0.8486 MB / 0.5212 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.254e-05/0.3774, allocations: 2.281 kB / 0.5212 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004809/0.3779, allocations: 250.1 kB / 0.5214 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003608/0.3783, allocations: 194.2 kB / 0.5216 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.3794, allocations: 489.4 kB / 0.5221 GB, free: 1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003769/0.3797, allocations: 284.5 kB / 0.5223 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.3799, allocations: 60.75 kB / 0.5224 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.3801, allocations: 134.5 kB / 0.5225 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002281/0.3803, allocations: 192.1 kB / 0.5227 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.285e-05/0.3803, allocations: 13.45 kB / 0.5227 GB, free: 0.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000186/0.3805, allocations: 96.8 kB / 0.5228 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.3806, allocations: 90.98 kB / 0.5229 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.675e-05/0.3807, allocations: 115.3 kB / 0.523 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004331/0.3812, allocations: 337.2 kB / 0.5233 GB, free: 456 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.3812, allocations: 0 / 0.5233 GB, free: 456 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3812, allocations: 0 / 0.5233 GB, free: 456 kB / 382.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.3812, 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.0007468/0.3819, allocations: 0.6673 MB / 0.524 GB, free: 15.87 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.382, allocations: 10.41 kB / 0.524 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.693e-05/0.382, allocations: 40.86 kB / 0.524 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.284e-05/0.3821, allocations: 41.16 kB / 0.5241 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003783/0.3825, allocations: 320.2 kB / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.3825, allocations: 13.41 kB / 0.5244 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.3826, allocations: 11.41 kB / 0.5244 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.3828, allocations: 110.9 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.3828, allocations: 3.953 kB / 0.5245 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.3829, allocations: 5.281 kB / 0.5245 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-06/0.3829, allocations: 2.531 kB / 0.5245 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.383, allocations: 79.11 kB / 0.5246 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006701/0.3837, allocations: 490.6 kB / 0.5251 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.3839, allocations: 96.27 kB / 0.5252 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.8e-05/0.384, allocations: 45.61 kB / 0.5252 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.384, allocations: 2.5 kB / 0.5252 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.3841, allocations: 40.66 kB / 0.5252 GB, free: 14.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.3841, allocations: 0 / 0.5252 GB, free: 14.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009154/0.385, allocations: 383.7 kB / 0.5256 GB, free: 14.74 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.3851, allocations: 58.16 kB / 0.5257 GB, free: 14.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006214/0.3857, allocations: 0.544 MB / 0.5262 GB, free: 14.46 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.3857, allocations: 29.7 kB / 0.5262 GB, free: 14.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.3859, allocations: 207.4 kB / 0.5264 GB, free: 14.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.833e-05/0.386, allocations: 59.17 kB / 0.5265 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.308e-05/0.386, allocations: 36.27 kB / 0.5265 GB, free: 14.18 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.3862, allocations: 351.3 kB / 0.5269 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.3863, allocations: 45.33 kB / 0.5269 GB, free: 13.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.3864, allocations: 55.81 kB / 0.5269 GB, free: 13.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002425/0.3867, allocations: 127.5 kB / 0.5271 GB, free: 13.76 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3867, allocations: 5.219 kB / 0.5271 GB, free: 13.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000346/0.387, allocations: 193.8 kB / 0.5273 GB, free: 13.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.3871, allocations: 4.438 kB / 0.5273 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3871, allocations: 1.281 kB / 0.5273 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.3871, allocations: 4 kB / 0.5273 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.3872, allocations: 36.08 kB / 0.5273 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.3873, allocations: 0 / 0.5273 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.568e-05/0.3873, allocations: 14.09 kB / 0.5273 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.3874, allocations: 4.156 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.0001709/0.3875, allocations: 177.5 kB / 0.5275 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.64e-05/0.3876, allocations: 37.45 kB / 0.5275 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004498/0.3881, allocations: 243.5 kB / 0.5278 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/0.3881, allocations: 5.578 kB / 0.5278 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.3881, allocations: 0 / 0.5278 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3881, allocations: 5.625 kB / 0.5278 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00084/0.389, allocations: 0.626 MB / 0.5284 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.389, allocations: 0 / 0.5284 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.3891, allocations: 30.05 kB / 0.5284 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.3891, allocations: 5.469 kB / 0.5284 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.3891, allocations: 9.703 kB / 0.5284 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.3891, allocations: 5.625 kB / 0.5284 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3891, allocations: 0 / 0.5284 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003885/0.3895, allocations: 295.5 kB / 0.5287 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.78e-05/0.3896, allocations: 114.9 kB / 0.5288 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.246e-05/0.3897, allocations: 5.281 kB / 0.5288 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.3898, allocations: 21.23 kB / 0.5288 GB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.321e-05/0.3898, allocations: 9.078 kB / 0.5289 GB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.3898, allocations: 8.781 kB / 0.5289 GB, free: 12.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004352/0.3903, allocations: 409.3 kB / 0.5293 GB, free: 12.21 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3903, allocations: 0 / 0.5293 GB, free: 12.21 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003057/0.3906, allocations: 51.45 kB / 0.5293 GB, free: 12.19 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.003182/0.3938, allocations: 1.423 MB / 0.5307 GB, free: 11.24 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000347/0.3941, allocations: 129.1 kB / 0.5308 GB, free: 11.19 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3942, allocations: 0 / 0.5308 GB, free: 11.19 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.3943, allocations: 76.12 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.0006011/0.3949, allocations: 81.2 kB / 0.531 GB, free: 11.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003922/0.3989, allocations: 3.034 MB / 0.5339 GB, free: 9.055 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004605/0.3993, allocations: 0.8038 MB / 0.5347 GB, free: 8.301 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001586/0.3995, allocations: 43.25 kB / 0.5348 GB, free: 8.285 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.3997, allocations: 125.8 kB / 0.5349 GB, free: 8.184 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3997, allocations: 0 / 0.5349 GB, free: 8.184 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02896/0.4286, allocations: 7.263 MB / 0.542 GB, free: 3.973 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.199/8.628, allocations: 16.94 kB / 0.542 GB, free: 3.957 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