Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001122/0.001122, allocations: 103.9 kB / 16.41 MB, free: 6.449 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.001083/0.001083, allocations: 188.1 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.751/1.751, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2403/0.2403, allocations: 43.53 MB / 314.1 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 60.47 kB / 441.8 MB, free: 5.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.144, allocations: 57.79 MB / 499.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03172/0.1758, allocations: 26.81 MB / 0.5141 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003327/0.1792, allocations: 2.959 MB / 0.517 GB, free: 13.87 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.1793, allocations: 4 kB / 0.517 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003124/0.1797, allocations: 51.66 kB / 0.517 GB, free: 13.81 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002083/0.1818, allocations: 0.7227 MB / 0.5178 GB, free: 13.09 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000371/0.1822, allocations: 131.7 kB / 0.5179 GB, free: 12.96 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005674/0.1828, allocations: 374.1 kB / 0.5182 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.739e-05/0.1828, allocations: 17.61 kB / 0.5183 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3427/0.5255, allocations: 15.47 MB / 0.5334 GB, free: 13.17 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003857/0.526, allocations: 151.6 kB / 0.5335 GB, free: 13.17 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.366e-05/0.526, allocations: 7.594 kB / 0.5335 GB, free: 13.17 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008566/0.5346, allocations: 3.442 MB / 0.5369 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.5347, allocations: 45.56 kB / 0.5369 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.5349, allocations: 102 kB / 0.537 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009176/0.5358, allocations: 473.2 kB / 0.5375 GB, free: 12.18 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.5358, allocations: 3.828 kB / 0.5375 GB, free: 12.18 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.5358, allocations: 0 / 0.5375 GB, free: 12.18 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.5358, allocations: 0 / 0.5375 GB, free: 12.18 MB / 414.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.001027/0.5369, allocations: 0.6082 MB / 0.5381 GB, free: 11.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.5369, allocations: 12.67 kB / 0.5381 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.5371, allocations: 25.7 kB / 0.5381 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.5373, allocations: 228.2 kB / 0.5383 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.726e-05/0.5374, allocations: 128.4 kB / 0.5384 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.5374, allocations: 19.94 kB / 0.5385 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004736/0.5379, allocations: 330.2 kB / 0.5388 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.5379, allocations: 0 / 0.5388 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.919e-05/0.538, allocations: 11.88 kB / 0.5388 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.008e-05/0.538, allocations: 10.25 kB / 0.5388 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009292/0.5389, allocations: 0.7361 MB / 0.5395 GB, free: 11.29 MB / 414.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.001228/0.5402, allocations: 1.306 MB / 0.5408 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003621/0.5405, allocations: 165.8 kB / 0.5409 GB, free: 10.24 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.5407, allocations: 95.53 kB / 0.541 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001779/0.5425, allocations: 2.805 MB / 0.5438 GB, free: 7.348 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.429e-05/0.5425, allocations: 31.47 kB / 0.5438 GB, free: 7.309 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.5425, allocations: 0 / 0.5438 GB, free: 7.309 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002747/0.5428, allocations: 125.7 kB / 0.5439 GB, free: 7.262 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.21e-05/0.5428, allocations: 53.78 kB / 0.544 GB, free: 7.199 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.543, allocations: 222.9 kB / 0.5442 GB, free: 7.086 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.543, allocations: 29.03 kB / 0.5442 GB, free: 7.055 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.839e-05/0.5431, allocations: 223.9 kB / 0.5444 GB, free: 6.867 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.5432, allocations: 45.44 kB / 0.5445 GB, free: 6.844 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.703e-05/0.5433, allocations: 86.92 kB / 0.5446 GB, free: 6.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.391e-05/0.5433, allocations: 326.9 kB / 0.5449 GB, free: 6.508 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.188e-05/0.5434, allocations: 49.83 kB / 0.5449 GB, free: 6.508 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/0.5436, allocations: 348.4 kB / 0.5452 GB, free: 6.113 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003013/0.5439, allocations: 444.8 kB / 0.5457 GB, free: 5.715 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.5439, allocations: 3.625 kB / 0.5457 GB, free: 5.715 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005249/0.5445, allocations: 379.9 kB / 0.546 GB, free: 5.668 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.5445, allocations: 12.34 kB / 0.546 GB, free: 5.668 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.5445, allocations: 16.16 kB / 0.5461 GB, free: 5.668 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.048e-05/0.5446, allocations: 22.53 kB / 0.5461 GB, free: 5.664 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/0.5448, allocations: 98.92 kB / 0.5462 GB, free: 5.664 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.348e-05/0.5449, allocations: 19.06 kB / 0.5462 GB, free: 5.664 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.5451, allocations: 50.75 kB / 0.5462 GB, free: 5.637 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.491e-05/0.5451, allocations: 29.12 kB / 0.5463 GB, free: 5.637 MB / 414.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.438e-05/0.5452, allocations: 158.3 kB / 0.5464 GB, free: 5.512 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.728e-05/0.5453, allocations: 22.39 kB / 0.5464 GB, free: 5.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002547/0.5455, allocations: 141.8 kB / 0.5466 GB, free: 5.441 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.5456, allocations: 10 kB / 0.5466 GB, free: 5.434 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.5456, allocations: 0.9688 kB / 0.5466 GB, free: 5.434 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.5456, allocations: 0.6094 kB / 0.5466 GB, free: 5.434 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003979/0.546, allocations: 415.2 kB / 0.547 GB, free: 5.105 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.546, allocations: 1.344 kB / 0.547 GB, free: 5.105 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.342e-05/0.5461, allocations: 12.41 kB / 0.547 GB, free: 5.105 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.5461, allocations: 1.5 kB / 0.547 GB, free: 5.105 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.5461, allocations: 6.703 kB / 0.547 GB, free: 5.102 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.5461, allocations: 6.047 kB / 0.547 GB, free: 5.102 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.5461, allocations: 1.469 kB / 0.547 GB, free: 5.102 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.5463, allocations: 207.3 kB / 0.5472 GB, free: 4.934 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.878e-05/0.5464, allocations: 94.8 kB / 0.5473 GB, free: 4.832 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.492e-05/0.5464, allocations: 12.11 kB / 0.5473 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.5466, allocations: 10.62 kB / 0.5473 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-05/0.5466, allocations: 5.859 kB / 0.5473 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.5466, allocations: 4.844 kB / 0.5473 GB, free: 4.824 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001588/0.5468, allocations: 157.9 kB / 0.5475 GB, free: 4.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5468, allocations: 0.5312 kB / 0.5475 GB, free: 4.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005724/0.5474, allocations: 95.38 kB / 0.5476 GB, free: 4.742 MB / 414.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.0002995/0.5477, allocations: 166.3 kB / 0.5477 GB, free: 4.641 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004122/0.5481, allocations: 168 kB / 0.5479 GB, free: 4.641 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5481, allocations: 4.125 kB / 0.5479 GB, free: 4.637 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.155e-05/0.5482, allocations: 22.81 kB / 0.5479 GB, free: 4.637 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/0.5486, allocations: 52.5 kB / 0.548 GB, free: 4.629 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008757/0.5495, allocations: 0.5288 MB / 0.5485 GB, free: 4.395 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/0.5497, allocations: 0.7269 MB / 0.5492 GB, free: 3.695 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000173/0.5498, allocations: 55.89 kB / 0.5492 GB, free: 3.672 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.159e-05/0.5499, allocations: 28.19 kB / 0.5493 GB, free: 3.664 MB / 414.1 MB Notification: Performance of SimCode: time 1.182e-06/0.5499, allocations: 0 / 0.5493 GB, free: 3.664 MB / 414.1 MB Notification: Performance of Templates: time 0.007253/0.5571, allocations: 3.147 MB / 0.5523 GB, free: 3.34 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches