Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008292/0.0008295, allocations: 95.09 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001056/0.001056, allocations: 207 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.7 MB / 247.5 MB, free: 11.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1881/0.1881, allocations: 46.19 MB / 345.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002695/0.0002695, allocations: 8 kB / 420.2 MB, free: 19.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1114, allocations: 63.56 MB / 483.7 MB, free: 4.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03411/0.1455, allocations: 27.92 MB / 0.4997 GB, free: 8.184 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003424/0.149, allocations: 2.975 MB / 0.5026 GB, free: 5.199 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002147/0.1493, allocations: 8 kB / 0.5026 GB, free: 5.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003234/0.1496, allocations: 43.73 kB / 0.5026 GB, free: 5.148 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002033/0.1517, allocations: 0.6452 MB / 0.5032 GB, free: 4.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003715/0.152, allocations: 131.6 kB / 0.5034 GB, free: 4.375 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007054/0.1528, allocations: 446 kB / 0.5038 GB, free: 3.938 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.459e-05/0.1528, allocations: 13.69 kB / 0.5038 GB, free: 3.922 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2591/0.412, allocations: 14.45 MB / 0.5179 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003864/0.4124, allocations: 153.7 kB / 0.5181 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.507e-05/0.4125, allocations: 7.281 kB / 0.5181 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007961/0.4204, allocations: 3.422 MB / 0.5214 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.4206, allocations: 46.69 kB / 0.5215 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002169/0.4208, allocations: 133.6 kB / 0.5216 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008102/0.4217, allocations: 320.4 kB / 0.5219 GB, free: 9.996 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4217, allocations: 3.219 kB / 0.5219 GB, free: 9.996 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4217, allocations: 0 / 0.5219 GB, free: 9.996 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.4217, allocations: 0 / 0.5219 GB, free: 9.996 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.001189/0.4229, allocations: 0.5563 MB / 0.5224 GB, free: 9.613 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.4229, allocations: 9.594 kB / 0.5224 GB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001896/0.4231, allocations: 23.81 kB / 0.5225 GB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.4234, allocations: 229.3 kB / 0.5227 GB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.4235, allocations: 124.8 kB / 0.5228 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.68e-05/0.4236, allocations: 18.56 kB / 0.5228 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004934/0.4241, allocations: 329.7 kB / 0.5231 GB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.4241, allocations: 2.922 kB / 0.5231 GB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.213e-05/0.4241, allocations: 10.95 kB / 0.5231 GB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.567e-05/0.4242, allocations: 6.844 kB / 0.5232 GB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008613/0.425, allocations: 0.7384 MB / 0.5239 GB, free: 9.172 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.001114/0.4261, allocations: 1.304 MB / 0.5251 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003294/0.4265, allocations: 162.5 kB / 0.5253 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.4266, allocations: 86.83 kB / 0.5254 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001736/0.4284, allocations: 2.812 MB / 0.5281 GB, free: 5.246 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.4284, allocations: 34.89 kB / 0.5282 GB, free: 5.207 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.994e-06/0.4284, allocations: 7.594 kB / 0.5282 GB, free: 5.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002576/0.4287, allocations: 122 kB / 0.5283 GB, free: 5.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.252e-05/0.4287, allocations: 56.72 kB / 0.5283 GB, free: 5.098 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.4289, allocations: 214 kB / 0.5285 GB, free: 4.988 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.4289, allocations: 26.77 kB / 0.5286 GB, free: 4.957 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.024e-05/0.429, allocations: 221.3 kB / 0.5288 GB, free: 4.781 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.429, allocations: 48.72 kB / 0.5288 GB, free: 4.754 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/0.4291, allocations: 38.8 kB / 0.5289 GB, free: 4.738 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.791e-05/0.4291, allocations: 329.5 kB / 0.5292 GB, free: 4.426 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.975e-05/0.4292, allocations: 46.38 kB / 0.5292 GB, free: 4.422 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.4294, allocations: 342.2 kB / 0.5295 GB, free: 4.039 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000327/0.4297, allocations: 443.5 kB / 0.53 GB, free: 3.641 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.148e-06/0.4297, allocations: 3.031 kB / 0.53 GB, free: 3.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005168/0.4302, allocations: 383.6 kB / 0.5303 GB, free: 3.594 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.4303, allocations: 10.25 kB / 0.5304 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.4303, allocations: 14.31 kB / 0.5304 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/0.4303, allocations: 17.69 kB / 0.5304 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.4306, allocations: 97.02 kB / 0.5305 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.824e-05/0.4306, allocations: 20.91 kB / 0.5305 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002622/0.4308, allocations: 61.61 kB / 0.5306 GB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.813e-05/0.4309, allocations: 28.22 kB / 0.5306 GB, free: 3.559 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 9.648e-05/0.431, allocations: 148.1 kB / 0.5307 GB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.529e-05/0.431, allocations: 17.81 kB / 0.5307 GB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002477/0.4313, allocations: 144.7 kB / 0.5309 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.4313, allocations: 8.953 kB / 0.5309 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.4313, allocations: 5.422 kB / 0.5309 GB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4313, allocations: 1.219 kB / 0.5309 GB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003557/0.4317, allocations: 410 kB / 0.5313 GB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.4317, allocations: 3.938 kB / 0.5313 GB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.688e-05/0.4318, allocations: 16 kB / 0.5313 GB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.4318, allocations: 1.438 kB / 0.5313 GB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.4318, allocations: 1.375 kB / 0.5313 GB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.4318, allocations: 9.031 kB / 0.5313 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4318, allocations: 1.688 kB / 0.5313 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.432, allocations: 211.1 kB / 0.5315 GB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.473e-05/0.432, allocations: 103.3 kB / 0.5316 GB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.255e-05/0.4321, allocations: 5.922 kB / 0.5316 GB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.4322, allocations: 8.328 kB / 0.5316 GB, free: 2.754 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.721e-05/0.4323, allocations: 7.703 kB / 0.5316 GB, free: 2.754 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.4323, allocations: 8.656 kB / 0.5316 GB, free: 2.754 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001006/0.4324, allocations: 151.3 kB / 0.5318 GB, free: 2.672 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4324, allocations: 0 / 0.5318 GB, free: 2.672 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005144/0.4329, allocations: 93.19 kB / 0.5319 GB, free: 2.668 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.0002602/0.4332, allocations: 163.9 kB / 0.532 GB, free: 2.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002691/0.4334, allocations: 167.9 kB / 0.5322 GB, free: 2.566 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4335, allocations: 256 / 0.5322 GB, free: 2.566 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.726e-05/0.4335, allocations: 30.7 kB / 0.5322 GB, free: 2.562 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/0.434, allocations: 47.19 kB / 0.5323 GB, free: 2.559 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008442/0.4348, allocations: 0.6693 MB / 0.5329 GB, free: 2.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.435, allocations: 0.7273 MB / 0.5336 GB, free: 1.527 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.97e-05/0.435, allocations: 35.91 kB / 0.5337 GB, free: 1.52 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.435, allocations: 0 / 0.5337 GB, free: 1.52 MB / 382.1 MB Notification: Performance of Templates: time 0.005626/0.4407, allocations: 3.317 MB / 0.5369 GB, free: 0.6523 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches