Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",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.001433/0.001433, allocations: 112.8 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.001581/0.001581, 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.479/1.479, 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.2232/0.2232, allocations: 44.19 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 59.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3745, allocations: 60.83 MB / 0.5185 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.002618/0.3772, allocations: 1.66 MB / 0.5201 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006969/0.3779, allocations: 448.2 kB / 0.5205 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.942e-05/0.378, allocations: 1.219 kB / 0.5205 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001845/0.3782, allocations: 23.66 kB / 0.5205 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001726/0.3783, allocations: 44.42 kB / 0.5206 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003319/0.3787, allocations: 142.2 kB / 0.5207 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.3788, allocations: 83.47 kB / 0.5208 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.792e-05/0.3789, allocations: 14.59 kB / 0.5208 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.213e-05/0.379, allocations: 33.11 kB / 0.5208 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.886e-05/0.3791, allocations: 39.09 kB / 0.5209 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.3791, allocations: 5.812 kB / 0.5209 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.3792, allocations: 61.72 kB / 0.5209 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.872e-05/0.3793, allocations: 21.84 kB / 0.521 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.981e-05/0.3793, allocations: 34.45 kB / 0.521 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.3796, allocations: 126.2 kB / 0.5211 GB, free: 1.527 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.3796, allocations: 0 / 0.5211 GB, free: 1.527 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.3796, allocations: 0 / 0.5211 GB, free: 1.527 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.391e-06/0.3796, allocations: 1.156 kB / 0.5211 GB, free: 1.527 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005209/0.3801, allocations: 421.9 kB / 0.5215 GB, free: 1.125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.3802, allocations: 13.81 kB / 0.5215 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.503e-05/0.3802, allocations: 33.53 kB / 0.5216 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.356e-05/0.3802, allocations: 10.14 kB / 0.5216 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.3804, allocations: 201.5 kB / 0.5218 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.3804, allocations: 5.562 kB / 0.5218 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.3804, allocations: 3.188 kB / 0.5218 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.3807, allocations: 93.06 kB / 0.5219 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.3807, allocations: 5.094 kB / 0.5219 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.3807, allocations: 0 / 0.5219 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.3807, allocations: 1.5 kB / 0.5219 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003068/0.381, allocations: 65.52 kB / 0.5219 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003611/0.3814, allocations: 311.7 kB / 0.5222 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/0.3817, allocations: 72.97 kB / 0.5223 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.3818, allocations: 41.98 kB / 0.5223 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.3819, allocations: 1.094 kB / 0.5223 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.665e-05/0.3819, allocations: 44.3 kB / 0.5224 GB, free: 388 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.3819, allocations: 0 / 0.5224 GB, free: 388 kB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.001626/0.3835, allocations: 375.8 kB / 0.5227 GB, free: 284 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.3836, allocations: 79.91 kB / 0.5228 GB, free: 188 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.3837, allocations: 157.6 kB / 0.523 GB, free: 64 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.3838, allocations: 30.77 kB / 0.523 GB, free: 28 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.062e-05/0.3839, allocations: 102.1 kB / 0.5231 GB, free: 15.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.3839, allocations: 29.86 kB / 0.5231 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.827e-05/0.384, allocations: 23.02 kB / 0.5231 GB, free: 15.89 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3841, allocations: 320.9 kB / 0.5234 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003063/0.3844, allocations: 78.58 kB / 0.5235 GB, free: 15.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000303/0.3847, allocations: 88.12 kB / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005556/0.3853, allocations: 147.6 kB / 0.5237 GB, free: 15.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.3853, allocations: 0 / 0.5237 GB, free: 15.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006584/0.386, allocations: 193.7 kB / 0.5239 GB, free: 15.42 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.386, allocations: 5.219 kB / 0.5239 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.386, allocations: 0 / 0.5239 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.386, allocations: 4.594 kB / 0.5239 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.3862, allocations: 38.02 kB / 0.524 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3863, allocations: 1.5 kB / 0.524 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.3864, allocations: 26.92 kB / 0.524 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.3864, allocations: 3.141 kB / 0.524 GB, free: 15.41 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 (10): * Single equations (assignments): 10 * 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.0001125/0.3866, allocations: 124 kB / 0.5241 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.436e-05/0.3866, allocations: 12.89 kB / 0.5241 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00069/0.3873, allocations: 209.2 kB / 0.5243 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.3873, allocations: 5.156 kB / 0.5243 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.3873, allocations: 5.766 kB / 0.5243 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3873, allocations: 0.8906 kB / 0.5243 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.3884, allocations: 0.4931 MB / 0.5248 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3884, allocations: 0 / 0.5248 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.3886, allocations: 38.98 kB / 0.5249 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.3886, allocations: 1.812 kB / 0.5249 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.3886, allocations: 0 / 0.5249 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.3886, allocations: 0.7969 kB / 0.5249 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3886, allocations: 5.906 kB / 0.5249 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006928/0.3893, allocations: 293.9 kB / 0.5252 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.374e-05/0.3894, allocations: 85.77 kB / 0.5252 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.3894, allocations: 2.25 kB / 0.5252 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.3896, allocations: 27.11 kB / 0.5253 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.609e-05/0.3897, allocations: 11.41 kB / 0.5253 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.637e-06/0.3897, allocations: 2.625 kB / 0.5253 GB, free: 14.53 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001138/0.3898, allocations: 119.3 kB / 0.5254 GB, free: 14.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3898, allocations: 0 / 0.5254 GB, free: 14.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002912/0.3901, allocations: 40.06 kB / 0.5254 GB, free: 14.43 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 (9): * Single equations (assignments): 9 * 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.002513/0.3927, allocations: 1.16 MB / 0.5266 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007039/0.3934, allocations: 157.8 kB / 0.5267 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3934, allocations: 0 / 0.5267 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000326/0.3937, allocations: 82.72 kB / 0.5268 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.3941, allocations: 21.12 kB / 0.5268 GB, free: 13.56 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003057/0.3972, allocations: 1.803 MB / 0.5286 GB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.3975, allocations: 0.702 MB / 0.5293 GB, free: 11.43 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001192/0.3977, allocations: 12.8 kB / 0.5293 GB, free: 11.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.639e-05/0.3978, allocations: 39.61 kB / 0.5293 GB, free: 11.4 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3978, allocations: 4 kB / 0.5293 GB, free: 11.39 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02497/0.4228, allocations: 3.792 MB / 0.533 GB, free: 9.297 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.927/8.35, allocations: 17.05 kB / 0.533 GB, free: 9.285 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_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_Test18_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches