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.00149/0.00149, allocations: 107.6 kB / 17.21 MB, free: 6.289 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.001678/0.001678, allocations: 194 kB / 18.12 MB, free: 5.383 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.433/1.433, allocations: 222.9 MB / 241.8 MB, free: 13.8 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.2412/0.2412, allocations: 44.18 MB / 336.1 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 72.64 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1534, allocations: 60.82 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.0363/0.1898, allocations: 28.54 MB / 497.1 MB, free: 2.203 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003534/0.1934, allocations: 3.022 MB / 0.4884 GB, free: 15.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.37e-05/0.1935, allocations: 0 / 0.4884 GB, free: 15.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003186/0.1938, allocations: 47.73 kB / 0.4884 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001989/0.1959, allocations: 0.6492 MB / 0.489 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.1962, allocations: 128.1 kB / 0.4892 GB, free: 14.35 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000501/0.1967, allocations: 442.1 kB / 0.4896 GB, free: 13.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.13e-05/0.1968, allocations: 17.66 kB / 0.4896 GB, free: 13.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3039/0.5007, allocations: 14.43 MB / 0.5037 GB, free: 23.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004095/0.5011, allocations: 152.4 kB / 0.5038 GB, free: 23.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.861e-05/0.5012, allocations: 5.625 kB / 0.5038 GB, free: 23.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008732/0.5099, allocations: 3.436 MB / 0.5072 GB, free: 22.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.94e-05/0.5101, allocations: 44.62 kB / 0.5072 GB, free: 22.92 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.5102, allocations: 99.83 kB / 0.5073 GB, free: 22.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009374/0.5112, allocations: 477.1 kB / 0.5078 GB, free: 22.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.5112, allocations: 1.656 kB / 0.5078 GB, free: 22.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.5112, allocations: 1.125 kB / 0.5078 GB, free: 22.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.5112, allocations: 0 / 0.5078 GB, free: 22.91 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.001177/0.5124, allocations: 0.6011 MB / 0.5084 GB, free: 22.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.5124, allocations: 8.688 kB / 0.5084 GB, free: 22.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001683/0.5126, allocations: 29.8 kB / 0.5084 GB, free: 22.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.5129, allocations: 229.6 kB / 0.5086 GB, free: 22.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.647e-05/0.513, allocations: 120.3 kB / 0.5087 GB, free: 22.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.513, allocations: 22.44 kB / 0.5088 GB, free: 22.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005316/0.5135, allocations: 333.4 kB / 0.5091 GB, free: 22.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.5136, allocations: 1.469 kB / 0.5091 GB, free: 22.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.887e-05/0.5136, allocations: 9.719 kB / 0.5091 GB, free: 22.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.36e-05/0.5136, allocations: 7.062 kB / 0.5091 GB, free: 22.08 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009583/0.5146, allocations: 0.7374 MB / 0.5098 GB, free: 22.08 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.001256/0.5159, allocations: 1.301 MB / 0.5111 GB, free: 21.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000348/0.5162, allocations: 162 kB / 0.5112 GB, free: 21.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.5164, allocations: 91.81 kB / 0.5113 GB, free: 21.03 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001951/0.5183, allocations: 2.812 MB / 0.5141 GB, free: 18.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.5184, allocations: 32.03 kB / 0.5141 GB, free: 18.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.5184, allocations: 4 kB / 0.5141 GB, free: 18.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003187/0.5187, allocations: 124.5 kB / 0.5142 GB, free: 18.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.5187, allocations: 56.16 kB / 0.5143 GB, free: 18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/0.519, allocations: 213.5 kB / 0.5145 GB, free: 17.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.5191, allocations: 31.02 kB / 0.5145 GB, free: 17.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.5192, allocations: 220.9 kB / 0.5147 GB, free: 17.69 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.624e-05/0.5192, allocations: 46.19 kB / 0.5148 GB, free: 17.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.5193, allocations: 83.28 kB / 0.5149 GB, free: 17.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.196e-05/0.5194, allocations: 333.5 kB / 0.5152 GB, free: 17.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.5195, allocations: 49.7 kB / 0.5152 GB, free: 17.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/0.5198, allocations: 339.8 kB / 0.5155 GB, free: 16.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003504/0.5202, allocations: 445.6 kB / 0.516 GB, free: 16.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/0.5202, allocations: 3.406 kB / 0.516 GB, free: 16.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005363/0.5207, allocations: 381.1 kB / 0.5163 GB, free: 16.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.5208, allocations: 10.45 kB / 0.5163 GB, free: 16.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.5208, allocations: 9.531 kB / 0.5164 GB, free: 16.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.278e-05/0.5208, allocations: 18.97 kB / 0.5164 GB, free: 16.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002444/0.5211, allocations: 97.28 kB / 0.5165 GB, free: 16.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.219e-05/0.5211, allocations: 26.91 kB / 0.5165 GB, free: 16.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.5213, allocations: 53.2 kB / 0.5165 GB, free: 16.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.012e-05/0.5214, allocations: 29.03 kB / 0.5166 GB, free: 16.45 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.0001097/0.5215, allocations: 151.7 kB / 0.5167 GB, free: 16.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.052e-05/0.5216, allocations: 16.91 kB / 0.5167 GB, free: 16.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002804/0.5219, allocations: 148.5 kB / 0.5169 GB, free: 16.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.5219, allocations: 5.219 kB / 0.5169 GB, free: 16.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5219, allocations: 0.7969 kB / 0.5169 GB, free: 16.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.5219, allocations: 0 / 0.5169 GB, free: 16.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003991/0.5223, allocations: 415.3 kB / 0.5173 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5223, allocations: 1.844 kB / 0.5173 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.729e-05/0.5224, allocations: 15.59 kB / 0.5173 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.5224, allocations: 2.219 kB / 0.5173 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.5224, allocations: 7.109 kB / 0.5173 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.5224, allocations: 3.094 kB / 0.5173 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5224, allocations: 1.438 kB / 0.5173 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.5226, allocations: 204.7 kB / 0.5175 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.917e-05/0.5227, allocations: 99.19 kB / 0.5176 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.5227, allocations: 5.938 kB / 0.5176 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.5229, allocations: 7.344 kB / 0.5176 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.455e-05/0.5229, allocations: 13.61 kB / 0.5176 GB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.5229, allocations: 8.359 kB / 0.5176 GB, free: 15.65 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001107/0.523, allocations: 155.4 kB / 0.5178 GB, free: 15.58 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.523, allocations: 0 / 0.5178 GB, free: 15.58 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005268/0.5236, allocations: 100.4 kB / 0.5179 GB, free: 15.57 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.0003537/0.5239, allocations: 157 kB / 0.518 GB, free: 15.47 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000315/0.5242, allocations: 169.2 kB / 0.5182 GB, free: 15.47 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.5243, allocations: 0 / 0.5182 GB, free: 15.47 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.253e-05/0.5243, allocations: 25.34 kB / 0.5182 GB, free: 15.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004565/0.5248, allocations: 55.92 kB / 0.5183 GB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.5258, allocations: 0.5918 MB / 0.5188 GB, free: 15.17 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.526, allocations: 0.7237 MB / 0.5195 GB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002614/0.5263, allocations: 57.47 kB / 0.5196 GB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.66e-05/0.5264, allocations: 25.22 kB / 0.5196 GB, free: 14.45 MB / 382.1 MB Notification: Performance of SimCode: time 3.5e-07/0.5264, allocations: 0 / 0.5196 GB, free: 14.45 MB / 382.1 MB Notification: Performance of Templates: time 0.007283/0.5337, allocations: 3.038 MB / 0.5226 GB, free: 14.14 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins/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