Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20",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.001244/0.001244, allocations: 118.4 kB / 17.78 MB, free: 5.25 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.001194/0.001194, allocations: 183.8 kB / 18.71 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.368/1.368, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2213/0.2213, allocations: 44.17 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 67.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3264, allocations: 60.83 MB / 0.5184 GB, free: 3.172 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.00275/0.3292, allocations: 1.97 MB / 0.5204 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.3306, allocations: 0.9535 MB / 0.5213 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.602e-05/0.3307, allocations: 6.406 kB / 0.5213 GB, free: 1.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004957/0.3312, allocations: 258.6 kB / 0.5215 GB, free: 1.105 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003702/0.3316, allocations: 192.8 kB / 0.5217 GB, free: 1.039 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.3328, allocations: 0.6482 MB / 0.5224 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003431/0.3332, allocations: 308.5 kB / 0.5227 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.3333, allocations: 73.47 kB / 0.5227 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.3335, allocations: 139.1 kB / 0.5229 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002223/0.3337, allocations: 204.3 kB / 0.5231 GB, free: 472 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.342e-05/0.3337, allocations: 9.844 kB / 0.5231 GB, free: 472 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.3339, allocations: 64.36 kB / 0.5231 GB, free: 456 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.334, allocations: 97.81 kB / 0.5232 GB, free: 416 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.275e-05/0.3341, allocations: 126.3 kB / 0.5233 GB, free: 316 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003661/0.3344, allocations: 330.8 kB / 0.5237 GB, free: 168 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3345, allocations: 0.7969 kB / 0.5237 GB, free: 168 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3345, allocations: 0 / 0.5237 GB, free: 168 kB / 382.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.3345, allocations: 0 / 0.5237 GB, free: 168 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.0008464/0.3353, allocations: 0.664 MB / 0.5243 GB, free: 15.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.3354, allocations: 9.375 kB / 0.5243 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.571e-05/0.3354, allocations: 41.52 kB / 0.5244 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.107e-05/0.3355, allocations: 49.23 kB / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004033/0.3359, allocations: 333.8 kB / 0.5247 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.3359, allocations: 12.44 kB / 0.5247 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.354e-05/0.336, allocations: 16.78 kB / 0.5247 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.3362, allocations: 121.6 kB / 0.5249 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.3363, allocations: 4.844 kB / 0.5249 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.3363, allocations: 5.312 kB / 0.5249 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.3363, allocations: 2.75 kB / 0.5249 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001942/0.3365, allocations: 96.16 kB / 0.525 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007322/0.3372, allocations: 0.5083 MB / 0.5255 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.3374, allocations: 109.5 kB / 0.5256 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.303e-05/0.3375, allocations: 42.22 kB / 0.5256 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.3376, allocations: 7.031 kB / 0.5256 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.3376, allocations: 31.66 kB / 0.5256 GB, free: 14.64 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.3376, allocations: 4 kB / 0.5256 GB, free: 14.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001027/0.3386, allocations: 451.8 kB / 0.5261 GB, free: 14.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.3387, allocations: 53.5 kB / 0.5261 GB, free: 14.36 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006031/0.3393, allocations: 0.55 MB / 0.5267 GB, free: 14.15 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.3393, allocations: 31.08 kB / 0.5267 GB, free: 14.11 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.3395, allocations: 203.7 kB / 0.5269 GB, free: 13.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.643e-05/0.3396, allocations: 66.34 kB / 0.527 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-05/0.3396, allocations: 30.09 kB / 0.527 GB, free: 13.85 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.3398, allocations: 363.1 kB / 0.5273 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.34, allocations: 58.34 kB / 0.5274 GB, free: 13.47 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.3401, allocations: 68.7 kB / 0.5275 GB, free: 13.44 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003408/0.3404, allocations: 160.4 kB / 0.5276 GB, free: 13.36 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.3405, allocations: 4 kB / 0.5276 GB, free: 13.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003891/0.3409, allocations: 231.7 kB / 0.5278 GB, free: 13.23 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.3409, allocations: 5.156 kB / 0.5278 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.3409, allocations: 5.25 kB / 0.5278 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.3409, allocations: 0 / 0.5278 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.3411, allocations: 39.56 kB / 0.5279 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.3411, allocations: 1.25 kB / 0.5279 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.277e-05/0.3412, allocations: 5.25 kB / 0.5279 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.3412, allocations: 15.64 kB / 0.5279 GB, free: 13.2 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.0002632/0.3415, allocations: 174.5 kB / 0.5281 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-05/0.3415, allocations: 44.38 kB / 0.5281 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005476/0.3421, allocations: 280.8 kB / 0.5284 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.3421, allocations: 5.062 kB / 0.5284 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.3421, allocations: 1.188 kB / 0.5284 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3421, allocations: 3.984 kB / 0.5284 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009422/0.3431, allocations: 0.6782 MB / 0.529 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3431, allocations: 0 / 0.529 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.3432, allocations: 34.73 kB / 0.5291 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.3432, allocations: 0 / 0.5291 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.3432, allocations: 6.875 kB / 0.5291 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.3433, allocations: 5.016 kB / 0.5291 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3433, allocations: 0 / 0.5291 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004508/0.3437, allocations: 339.6 kB / 0.5294 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.909e-05/0.3438, allocations: 114.1 kB / 0.5295 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.3439, allocations: 5.156 kB / 0.5295 GB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.344, allocations: 8.609 kB / 0.5295 GB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.344, allocations: 14.73 kB / 0.5296 GB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.344, allocations: 4.5 kB / 0.5296 GB, free: 11.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004734/0.3445, allocations: 421 kB / 0.53 GB, free: 11.71 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3445, allocations: 4 kB / 0.53 GB, free: 11.71 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003174/0.3449, allocations: 47.81 kB / 0.53 GB, free: 11.7 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.003291/0.3482, allocations: 1.46 MB / 0.5314 GB, free: 10.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003601/0.3485, allocations: 162 kB / 0.5316 GB, free: 10.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.3485, allocations: 4 kB / 0.5316 GB, free: 10.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001943/0.3487, allocations: 92.83 kB / 0.5317 GB, free: 10.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005853/0.3493, allocations: 79.27 kB / 0.5318 GB, free: 10.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004271/0.3536, allocations: 3.212 MB / 0.5349 GB, free: 8.418 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005158/0.3542, allocations: 0.8191 MB / 0.5357 GB, free: 7.656 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002117/0.3544, allocations: 61.05 kB / 0.5357 GB, free: 7.633 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/0.3546, allocations: 121 kB / 0.5359 GB, free: 7.535 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3546, allocations: 1.375 kB / 0.5359 GB, free: 7.535 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03084/0.3854, allocations: 7.505 MB / 0.5432 GB, free: 2.605 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.426/8.811, allocations: 17 kB / 0.5432 GB, free: 2.59 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches