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.001079/0.001079, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001168/0.001169, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.379/1.379, allocations: 222.9 MB / 243 MB, free: 15.08 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.2243/0.2243, allocations: 44.17 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 60.91 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1388, allocations: 60.84 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03413/0.173, allocations: 26.78 MB / 497.5 MB, free: 2.766 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003474/0.1765, allocations: 2.959 MB / 0.4887 GB, free: 15.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.1766, allocations: 0 / 0.4887 GB, free: 15.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003264/0.177, allocations: 47.67 kB / 0.4888 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002121/0.1791, allocations: 0.7266 MB / 0.4895 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003454/0.1795, allocations: 135 kB / 0.4896 GB, free: 14.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005726/0.1801, allocations: 374.1 kB / 0.49 GB, free: 14.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.751e-05/0.1802, allocations: 17.67 kB / 0.49 GB, free: 14.51 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3304/0.5105, allocations: 15.47 MB / 0.5051 GB, free: 23.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006184/0.5112, allocations: 144.7 kB / 0.5052 GB, free: 23.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.348e-05/0.5113, allocations: 8.438 kB / 0.5052 GB, free: 23.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01455/0.5258, allocations: 3.441 MB / 0.5086 GB, free: 22.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001742/0.5261, allocations: 50.3 kB / 0.5086 GB, free: 22.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002482/0.5264, allocations: 105.2 kB / 0.5087 GB, free: 22.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.5278, allocations: 467.7 kB / 0.5092 GB, free: 22.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.5278, allocations: 1.188 kB / 0.5092 GB, free: 22.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5278, allocations: 7.656 kB / 0.5092 GB, free: 22.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.5279, allocations: 0 / 0.5092 GB, free: 22.65 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.00153/0.5294, allocations: 0.6006 MB / 0.5098 GB, free: 22.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.5295, allocations: 10.47 kB / 0.5098 GB, free: 22.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002427/0.5297, allocations: 29.42 kB / 0.5098 GB, free: 22.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003505/0.5301, allocations: 230.2 kB / 0.51 GB, free: 22.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/0.5302, allocations: 120.3 kB / 0.5101 GB, free: 21.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.984e-05/0.5303, allocations: 21.62 kB / 0.5102 GB, free: 21.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007195/0.531, allocations: 331.7 kB / 0.5105 GB, free: 21.81 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.5311, allocations: 0 / 0.5105 GB, free: 21.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.05e-05/0.5311, allocations: 11.19 kB / 0.5105 GB, free: 21.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.185e-05/0.5311, allocations: 7.594 kB / 0.5105 GB, free: 21.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001482/0.5326, allocations: 0.7385 MB / 0.5112 GB, free: 21.81 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.001826/0.5345, allocations: 1.3 MB / 0.5125 GB, free: 20.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005039/0.535, allocations: 163.7 kB / 0.5126 GB, free: 20.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/0.5352, allocations: 88.86 kB / 0.5127 GB, free: 20.76 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0029/0.5381, allocations: 2.812 MB / 0.5155 GB, free: 17.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.5382, allocations: 33.34 kB / 0.5155 GB, free: 17.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 2.364e-06/0.5382, allocations: 0 / 0.5155 GB, free: 17.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004265/0.5386, allocations: 129.2 kB / 0.5156 GB, free: 17.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.5387, allocations: 52.53 kB / 0.5157 GB, free: 17.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000268/0.5389, allocations: 227.8 kB / 0.5159 GB, free: 17.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.539, allocations: 27.17 kB / 0.5159 GB, free: 17.58 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.5391, allocations: 215.5 kB / 0.5161 GB, free: 17.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.141e-05/0.5392, allocations: 46.66 kB / 0.5162 GB, free: 17.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.5393, allocations: 86.12 kB / 0.5163 GB, free: 17.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.249e-05/0.5394, allocations: 327 kB / 0.5166 GB, free: 17.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.5395, allocations: 49.2 kB / 0.5166 GB, free: 17.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003085/0.5399, allocations: 346.5 kB / 0.5169 GB, free: 16.65 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004895/0.5404, allocations: 447 kB / 0.5174 GB, free: 16.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.789e-06/0.5404, allocations: 2.844 kB / 0.5174 GB, free: 16.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008796/0.5413, allocations: 382.2 kB / 0.5177 GB, free: 16.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.97e-05/0.5413, allocations: 10.67 kB / 0.5178 GB, free: 16.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.78e-05/0.5414, allocations: 13.62 kB / 0.5178 GB, free: 16.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.634e-05/0.5414, allocations: 20.36 kB / 0.5178 GB, free: 16.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004281/0.5419, allocations: 97.48 kB / 0.5179 GB, free: 16.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.652e-05/0.5419, allocations: 19.88 kB / 0.5179 GB, free: 16.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000422/0.5423, allocations: 59.61 kB / 0.518 GB, free: 16.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-05/0.5424, allocations: 31.3 kB / 0.518 GB, free: 16.17 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.0001394/0.5426, allocations: 146.5 kB / 0.5181 GB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.759e-05/0.5426, allocations: 18.41 kB / 0.5181 GB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003856/0.543, allocations: 149.7 kB / 0.5183 GB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.849e-05/0.5431, allocations: 5.922 kB / 0.5183 GB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.5431, allocations: 0 / 0.5183 GB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.5431, allocations: 0.6562 kB / 0.5183 GB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006482/0.5438, allocations: 407 kB / 0.5187 GB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.5438, allocations: 2.484 kB / 0.5187 GB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.762e-05/0.5439, allocations: 20.58 kB / 0.5187 GB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.942e-06/0.5439, allocations: 1.344 kB / 0.5187 GB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.5439, allocations: 7.344 kB / 0.5187 GB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.5439, allocations: 1.781 kB / 0.5187 GB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5439, allocations: 1.375 kB / 0.5187 GB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.5442, allocations: 207 kB / 0.5189 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.63e-05/0.5443, allocations: 106.9 kB / 0.519 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.736e-05/0.5443, allocations: 2.453 kB / 0.519 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.5446, allocations: 5.719 kB / 0.519 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/0.5446, allocations: 10.14 kB / 0.519 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.5446, allocations: 7.656 kB / 0.519 GB, free: 15.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001824/0.5448, allocations: 152.9 kB / 0.5192 GB, free: 15.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5448, allocations: 6.734 kB / 0.5192 GB, free: 15.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009146/0.5458, allocations: 91.23 kB / 0.5193 GB, free: 15.29 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.0003956/0.5462, allocations: 156.7 kB / 0.5194 GB, free: 15.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005549/0.5467, allocations: 169.5 kB / 0.5196 GB, free: 15.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.5468, allocations: 0.5625 kB / 0.5196 GB, free: 15.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.26e-05/0.5469, allocations: 26.8 kB / 0.5196 GB, free: 15.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006851/0.5476, allocations: 48.52 kB / 0.5197 GB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.5491, allocations: 0.5275 MB / 0.5202 GB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.5494, allocations: 0.7297 MB / 0.5209 GB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002754/0.5497, allocations: 56.12 kB / 0.5209 GB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.826e-05/0.5498, allocations: 28.55 kB / 0.521 GB, free: 14.23 MB / 382.1 MB Notification: Performance of SimCode: time 8.42e-07/0.5498, allocations: 0 / 0.521 GB, free: 14.23 MB / 382.1 MB Notification: Performance of Templates: time 0.01111/0.5609, allocations: 3.101 MB / 0.524 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 -s cvode -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