Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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: translateModel(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") translateModel(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008027/0.0008027, allocations: 93.08 kB / 18 MB, free: 5.602 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.0009049/0.000905, allocations: 177.4 kB / 18.91 MB, free: 4.738 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.384/1.384, allocations: 223.3 MB / 243 MB, free: 14.21 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.2183/0.2183, allocations: 44.24 MB / 338.3 MB, free: 2.402 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004138/0.0004139, allocations: 11.98 kB / 411 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09855/0.09899, allocations: 61.93 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03189/0.1309, allocations: 27.79 MB / 0.489 GB, free: 1.434 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003487/0.1344, allocations: 2.968 MB / 0.4919 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001691/0.1346, allocations: 0 / 0.4919 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002697/0.1349, allocations: 47.72 kB / 0.4919 GB, free: 14.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001859/0.1368, allocations: 0.653 MB / 0.4926 GB, free: 13.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003555/0.1372, allocations: 131.1 kB / 0.4927 GB, free: 13.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005933/0.1378, allocations: 442.1 kB / 0.4931 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.368e-05/0.1378, allocations: 13.67 kB / 0.4931 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2333/0.3712, allocations: 14.42 MB / 0.5072 GB, free: 22.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004108/0.3716, allocations: 155.1 kB / 0.5073 GB, free: 22.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.106e-05/0.3717, allocations: 6.812 kB / 0.5074 GB, free: 22.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007899/0.3796, allocations: 3.429 MB / 0.5107 GB, free: 21.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.3797, allocations: 48.38 kB / 0.5107 GB, free: 21.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002301/0.38, allocations: 131.8 kB / 0.5109 GB, free: 21.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008107/0.3808, allocations: 325.8 kB / 0.5112 GB, free: 21.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3808, allocations: 0 / 0.5112 GB, free: 21.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.3808, allocations: 1.062 kB / 0.5112 GB, free: 21.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.3808, allocations: 0 / 0.5112 GB, free: 21.5 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001012/0.3819, allocations: 0.5503 MB / 0.5117 GB, free: 21.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.3819, allocations: 9.719 kB / 0.5117 GB, free: 21.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.3821, allocations: 29.03 kB / 0.5118 GB, free: 21.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.3823, allocations: 222.8 kB / 0.512 GB, free: 20.9 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.3824, allocations: 125.3 kB / 0.5121 GB, free: 20.78 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.3824, allocations: 20.69 kB / 0.5121 GB, free: 20.78 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004625/0.3829, allocations: 333.8 kB / 0.5124 GB, free: 20.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.3829, allocations: 1.562 kB / 0.5124 GB, free: 20.67 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/0.383, allocations: 12.19 kB / 0.5124 GB, free: 20.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/0.383, allocations: 6.953 kB / 0.5125 GB, free: 20.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008389/0.3838, allocations: 0.7354 MB / 0.5132 GB, free: 20.67 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/0.385, allocations: 1.304 MB / 0.5144 GB, free: 19.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003105/0.3853, allocations: 158 kB / 0.5146 GB, free: 19.63 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.3854, allocations: 86.73 kB / 0.5147 GB, free: 19.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001866/0.3873, allocations: 2.82 MB / 0.5174 GB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.3873, allocations: 33.47 kB / 0.5175 GB, free: 16.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/0.3874, allocations: 0 / 0.5175 GB, free: 16.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002782/0.3876, allocations: 114.9 kB / 0.5176 GB, free: 16.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.497e-05/0.3877, allocations: 54.17 kB / 0.5176 GB, free: 16.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.3879, allocations: 231.7 kB / 0.5178 GB, free: 16.47 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.3879, allocations: 30.27 kB / 0.5179 GB, free: 16.44 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.858e-05/0.388, allocations: 215 kB / 0.5181 GB, free: 16.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.388, allocations: 48.7 kB / 0.5181 GB, free: 16.24 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.363e-05/0.3881, allocations: 40.48 kB / 0.5182 GB, free: 16.22 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.331e-05/0.3881, allocations: 327.1 kB / 0.5185 GB, free: 15.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.967e-05/0.3882, allocations: 47.66 kB / 0.5185 GB, free: 15.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.3884, allocations: 341.1 kB / 0.5188 GB, free: 15.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.3887, allocations: 444.8 kB / 0.5193 GB, free: 15.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.3887, allocations: 3.438 kB / 0.5193 GB, free: 15.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005135/0.3892, allocations: 380.6 kB / 0.5196 GB, free: 15.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.3893, allocations: 8.812 kB / 0.5196 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/0.3893, allocations: 15.17 kB / 0.5197 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.632e-05/0.3893, allocations: 18.75 kB / 0.5197 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002588/0.3896, allocations: 97.89 kB / 0.5198 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.141e-05/0.3896, allocations: 20.7 kB / 0.5198 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002656/0.3899, allocations: 62.73 kB / 0.5198 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.126e-05/0.3899, allocations: 29.62 kB / 0.5199 GB, free: 15.04 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (51): * Single equations (assignments): 50 * Array equations: 1 * 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.0001058/0.39, allocations: 145.9 kB / 0.52 GB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.49e-05/0.3901, allocations: 17.69 kB / 0.52 GB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002741/0.3904, allocations: 152.7 kB / 0.5202 GB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.3904, allocations: 4.5 kB / 0.5202 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.3904, allocations: 7.844 kB / 0.5202 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3904, allocations: 3.234 kB / 0.5202 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000372/0.3908, allocations: 407.3 kB / 0.5206 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3908, allocations: 1.094 kB / 0.5206 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.878e-05/0.3909, allocations: 12.16 kB / 0.5206 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.3909, allocations: 2.812 kB / 0.5206 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.086e-06/0.3909, allocations: 3.625 kB / 0.5206 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.3909, allocations: 6.25 kB / 0.5206 GB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.3909, allocations: 3.734 kB / 0.5206 GB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.3911, allocations: 204.7 kB / 0.5208 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.779e-05/0.3911, allocations: 106.8 kB / 0.5209 GB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.258e-05/0.3912, allocations: 3.719 kB / 0.5209 GB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.3913, allocations: 12.11 kB / 0.5209 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.029e-05/0.3914, allocations: 11.12 kB / 0.5209 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.3914, allocations: 3.484 kB / 0.5209 GB, free: 14.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001317/0.3915, allocations: 154.4 kB / 0.5211 GB, free: 14.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.3915, allocations: 0 / 0.5211 GB, free: 14.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005269/0.3921, allocations: 92.3 kB / 0.5212 GB, free: 14.16 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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): 8 * Array equations: 1 * 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.0002945/0.3924, allocations: 155.1 kB / 0.5213 GB, free: 14.06 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002809/0.3927, allocations: 174.8 kB / 0.5215 GB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.3927, allocations: 0 / 0.5215 GB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.353e-05/0.3927, allocations: 30.27 kB / 0.5215 GB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005106/0.3932, allocations: 48.67 kB / 0.5216 GB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.3943, allocations: 0.6748 MB / 0.5222 GB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001759/0.3945, allocations: 0.7279 MB / 0.5229 GB, free: 13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.261e-05/0.3946, allocations: 32.88 kB / 0.523 GB, free: 13 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3946, allocations: 3.469 kB / 0.523 GB, free: 13 MB / 382.1 MB Notification: Performance of Templates: time 0.005955/0.4005, allocations: 3.306 MB / 0.5262 GB, free: 12.66 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches