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.001332/0.001332, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001332/0.001332, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.501/1.501, allocations: 222.9 MB / 242.9 MB, free: 15.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.2143/0.2143, allocations: 44.18 MB / 337.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 58.19 kB / 409.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1069, allocations: 60.82 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03114/0.1381, allocations: 26.8 MB / 496.7 MB, free: 3.484 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003186/0.1413, allocations: 2.948 MB / 499.7 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.1415, allocations: 4 kB / 499.7 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002869/0.1418, allocations: 51.66 kB / 499.7 MB, free: 484 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001824/0.1436, allocations: 0.7267 MB / 0.4887 GB, free: 15.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003392/0.144, allocations: 138.4 kB / 0.4888 GB, free: 15.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004809/0.1445, allocations: 366.1 kB / 0.4892 GB, free: 15.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.579e-05/0.1445, allocations: 17.67 kB / 0.4892 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.258/0.4026, allocations: 15.48 MB / 0.5043 GB, free: 23.63 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004364/0.4031, allocations: 142.2 kB / 0.5045 GB, free: 23.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.27e-05/0.4031, allocations: 8.5 kB / 0.5045 GB, free: 23.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009707/0.4128, allocations: 3.455 MB / 0.5078 GB, free: 22.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.413, allocations: 39.31 kB / 0.5079 GB, free: 22.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000218/0.4133, allocations: 117.1 kB / 0.508 GB, free: 22.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.4144, allocations: 458.9 kB / 0.5084 GB, free: 22.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4144, allocations: 0 / 0.5084 GB, free: 22.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.327e-06/0.4144, allocations: 1.281 kB / 0.5084 GB, free: 22.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.4145, allocations: 0 / 0.5084 GB, free: 22.7 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.001233/0.4157, allocations: 0.6062 MB / 0.509 GB, free: 22.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.4157, allocations: 9.156 kB / 0.509 GB, free: 22.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001819/0.4159, allocations: 25.92 kB / 0.5091 GB, free: 22.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.4162, allocations: 221.3 kB / 0.5093 GB, free: 22.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/0.4163, allocations: 124 kB / 0.5094 GB, free: 21.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.4163, allocations: 21.81 kB / 0.5094 GB, free: 21.97 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005235/0.4169, allocations: 330.2 kB / 0.5097 GB, free: 21.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.4169, allocations: 7.156 kB / 0.5097 GB, free: 21.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.082e-05/0.4169, allocations: 9.406 kB / 0.5097 GB, free: 21.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.295e-05/0.4169, allocations: 8.328 kB / 0.5097 GB, free: 21.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009274/0.4179, allocations: 0.7331 MB / 0.5105 GB, free: 21.87 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.001296/0.4192, allocations: 1.31 MB / 0.5117 GB, free: 20.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003807/0.4196, allocations: 154.6 kB / 0.5119 GB, free: 20.83 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.4197, allocations: 89.78 kB / 0.512 GB, free: 20.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001966/0.4217, allocations: 2.81 MB / 0.5147 GB, free: 17.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.4218, allocations: 40.03 kB / 0.5148 GB, free: 17.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.753e-06/0.4218, allocations: 1.625 kB / 0.5148 GB, free: 17.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003022/0.4221, allocations: 119.3 kB / 0.5149 GB, free: 17.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.4221, allocations: 56.09 kB / 0.5149 GB, free: 17.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/0.4223, allocations: 216.8 kB / 0.5151 GB, free: 17.69 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.4223, allocations: 30.39 kB / 0.5152 GB, free: 17.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.882e-05/0.4224, allocations: 220.5 kB / 0.5154 GB, free: 17.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.4225, allocations: 45.42 kB / 0.5154 GB, free: 17.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.4226, allocations: 86.06 kB / 0.5155 GB, free: 17.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.366e-05/0.4227, allocations: 327.9 kB / 0.5158 GB, free: 17.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.712e-05/0.4228, allocations: 45.39 kB / 0.5159 GB, free: 17.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002168/0.423, allocations: 344.9 kB / 0.5162 GB, free: 16.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003691/0.4233, allocations: 445.6 kB / 0.5166 GB, free: 16.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.343e-06/0.4234, allocations: 3.312 kB / 0.5166 GB, free: 16.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000588/0.424, allocations: 390.8 kB / 0.517 GB, free: 16.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.424, allocations: 10 kB / 0.517 GB, free: 16.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.424, allocations: 16.28 kB / 0.517 GB, free: 16.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.8e-05/0.4241, allocations: 21.06 kB / 0.517 GB, free: 16.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/0.4243, allocations: 97.58 kB / 0.5171 GB, free: 16.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.531e-05/0.4244, allocations: 18.56 kB / 0.5171 GB, free: 16.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002439/0.4246, allocations: 56.56 kB / 0.5172 GB, free: 16.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-05/0.4247, allocations: 28.25 kB / 0.5172 GB, free: 16.25 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.000115/0.4248, allocations: 156.8 kB / 0.5174 GB, free: 16.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.361e-05/0.4248, allocations: 17.84 kB / 0.5174 GB, free: 16.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002795/0.4251, allocations: 142.7 kB / 0.5175 GB, free: 16.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.4251, allocations: 6.297 kB / 0.5175 GB, free: 16.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.4251, allocations: 0 / 0.5175 GB, free: 16.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.4252, allocations: 4.797 kB / 0.5175 GB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004069/0.4256, allocations: 409.5 kB / 0.5179 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.4256, allocations: 0 / 0.5179 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.799e-05/0.4256, allocations: 13.02 kB / 0.5179 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.4257, allocations: 1.5 kB / 0.5179 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.4257, allocations: 2.031 kB / 0.5179 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.4257, allocations: 4.75 kB / 0.5179 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.4257, allocations: 6.078 kB / 0.5179 GB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.4259, allocations: 202.8 kB / 0.5181 GB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.84e-05/0.4259, allocations: 102.6 kB / 0.5182 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.64e-05/0.426, allocations: 7.297 kB / 0.5182 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.4261, allocations: 5.578 kB / 0.5183 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.376e-05/0.4262, allocations: 9.016 kB / 0.5183 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.4262, allocations: 8.719 kB / 0.5183 GB, free: 15.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001104/0.4263, allocations: 154.5 kB / 0.5184 GB, free: 15.37 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4263, allocations: 0 / 0.5184 GB, free: 15.37 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005461/0.4269, allocations: 88.81 kB / 0.5185 GB, free: 15.37 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.0002943/0.4272, allocations: 173.8 kB / 0.5187 GB, free: 15.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000326/0.4275, allocations: 176.5 kB / 0.5188 GB, free: 15.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4275, allocations: 0.8125 kB / 0.5188 GB, free: 15.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.767e-05/0.4276, allocations: 24.97 kB / 0.5189 GB, free: 15.26 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000473/0.428, allocations: 50.02 kB / 0.5189 GB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.4291, allocations: 0.5502 MB / 0.5194 GB, free: 14.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.4293, allocations: 0.7267 MB / 0.5202 GB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.305e-05/0.4294, allocations: 35.84 kB / 0.5202 GB, free: 14.28 MB / 382.1 MB Notification: Performance of SimCode: time 3.7e-07/0.4294, allocations: 0 / 0.5202 GB, free: 14.28 MB / 382.1 MB Notification: Performance of Templates: time 0.006458/0.4359, allocations: 3.33 MB / 0.5234 GB, free: 13.92 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