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.001242/0.001242, allocations: 118.8 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001427/0.001427, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.541/1.541, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.259/0.259, allocations: 46.1 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 71.88 kB / 481.3 MB, free: 3.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4273/0.4287, allocations: 62.44 MB / 0.531 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03585/0.4646, allocations: 26.92 MB / 0.5573 GB, free: 6.832 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00401/0.4687, allocations: 2.955 MB / 0.5602 GB, free: 3.867 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002749/0.469, allocations: 0 / 0.5602 GB, free: 3.867 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004593/0.4695, allocations: 55.59 kB / 0.5603 GB, free: 3.812 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003336/0.4729, allocations: 0.7188 MB / 0.561 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000583/0.4735, allocations: 133.8 kB / 0.5611 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001087/0.4746, allocations: 386.2 kB / 0.5615 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.4747, allocations: 17.62 kB / 0.5615 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04629/0.521, allocations: 15.5 MB / 0.5766 GB, free: 2.945 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004757/0.5215, allocations: 143.5 kB / 0.5767 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.857e-05/0.5216, allocations: 8 kB / 0.5768 GB, free: 2.797 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00995/0.5316, allocations: 3.444 MB / 0.5801 GB, free: 15.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.5317, allocations: 43.75 kB / 0.5802 GB, free: 15.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002434/0.532, allocations: 111.5 kB / 0.5803 GB, free: 15.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001764/0.5338, allocations: 470.5 kB / 0.5807 GB, free: 14.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5338, allocations: 0 / 0.5807 GB, free: 14.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.5338, allocations: 0 / 0.5807 GB, free: 14.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.5338, allocations: 0 / 0.5807 GB, free: 14.7 MB / 446.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.001802/0.5356, allocations: 0.61 MB / 0.5813 GB, free: 14.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.5357, allocations: 8.031 kB / 0.5813 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002658/0.536, allocations: 28.8 kB / 0.5813 GB, free: 14.01 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005755/0.5366, allocations: 224.1 kB / 0.5816 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002803/0.5369, allocations: 123.9 kB / 0.5817 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.117e-05/0.5369, allocations: 28.12 kB / 0.5817 GB, free: 13.58 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008683/0.5378, allocations: 331.6 kB / 0.582 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.5378, allocations: 0 / 0.582 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.05e-05/0.5379, allocations: 16 kB / 0.582 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.142e-05/0.5379, allocations: 4 kB / 0.582 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.5393, allocations: 0.7352 MB / 0.5828 GB, free: 12.48 MB / 446.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.002219/0.5416, allocations: 1.3 MB / 0.584 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005299/0.5421, allocations: 167.7 kB / 0.5842 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.5423, allocations: 89.48 kB / 0.5843 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00411/0.5465, allocations: 2.813 MB / 0.587 GB, free: 7.449 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.594e-05/0.5465, allocations: 34.56 kB / 0.5871 GB, free: 7.406 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 6.412e-06/0.5466, allocations: 3.984 kB / 0.5871 GB, free: 7.402 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005613/0.5471, allocations: 117.4 kB / 0.5872 GB, free: 7.281 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.49e-05/0.5472, allocations: 51.41 kB / 0.5872 GB, free: 7.219 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003694/0.5476, allocations: 224.2 kB / 0.5874 GB, free: 6.988 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.023e-05/0.5477, allocations: 29.7 kB / 0.5875 GB, free: 6.953 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002844/0.548, allocations: 227.3 kB / 0.5877 GB, free: 6.727 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.364e-05/0.5481, allocations: 43.69 kB / 0.5877 GB, free: 6.684 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002128/0.5483, allocations: 86.03 kB / 0.5878 GB, free: 6.594 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002315/0.5485, allocations: 326.8 kB / 0.5881 GB, free: 6.266 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.5487, allocations: 48.83 kB / 0.5882 GB, free: 6.219 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004767/0.5492, allocations: 351.2 kB / 0.5885 GB, free: 5.727 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007252/0.55, allocations: 440.6 kB / 0.5889 GB, free: 5.148 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.467e-06/0.55, allocations: 7.938 kB / 0.5889 GB, free: 5.141 MB / 446.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009604/0.5509, allocations: 377.6 kB / 0.5893 GB, free: 4.766 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.032e-05/0.551, allocations: 12 kB / 0.5893 GB, free: 4.754 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.5e-05/0.551, allocations: 8 kB / 0.5893 GB, free: 4.746 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.737e-05/0.5511, allocations: 27.86 kB / 0.5893 GB, free: 4.719 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003672/0.5515, allocations: 91.84 kB / 0.5894 GB, free: 4.629 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.339e-05/0.5515, allocations: 23.92 kB / 0.5894 GB, free: 4.605 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004306/0.552, allocations: 51.62 kB / 0.5895 GB, free: 4.555 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.508e-05/0.552, allocations: 28 kB / 0.5895 GB, free: 4.527 MB / 446.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.0001887/0.5522, allocations: 157.8 kB / 0.5897 GB, free: 4.363 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.376e-05/0.5523, allocations: 23.84 kB / 0.5897 GB, free: 4.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004576/0.5528, allocations: 144.9 kB / 0.5898 GB, free: 4.188 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/0.5528, allocations: 7.938 kB / 0.5898 GB, free: 4.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.5528, allocations: 0 / 0.5898 GB, free: 4.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.5529, allocations: 0 / 0.5898 GB, free: 4.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007865/0.5536, allocations: 416.9 kB / 0.5902 GB, free: 3.707 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.5537, allocations: 0 / 0.5902 GB, free: 3.707 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.334e-05/0.5538, allocations: 12 kB / 0.5902 GB, free: 3.695 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/0.5538, allocations: 4.094 kB / 0.5902 GB, free: 3.691 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.5538, allocations: 4 kB / 0.5902 GB, free: 3.688 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.5538, allocations: 3.938 kB / 0.5903 GB, free: 3.684 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5538, allocations: 0 / 0.5903 GB, free: 3.684 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/0.5541, allocations: 209.8 kB / 0.5905 GB, free: 3.453 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.5543, allocations: 101 kB / 0.5905 GB, free: 3.336 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.674e-05/0.5544, allocations: 16 kB / 0.5906 GB, free: 3.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000248/0.5546, allocations: 4 kB / 0.5906 GB, free: 3.316 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.101e-05/0.5547, allocations: 7.984 kB / 0.5906 GB, free: 3.309 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.5547, allocations: 0 / 0.5906 GB, free: 3.309 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002007/0.5549, allocations: 160.5 kB / 0.5907 GB, free: 3.156 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5549, allocations: 0 / 0.5907 GB, free: 3.156 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008415/0.5558, allocations: 91.89 kB / 0.5908 GB, free: 3.066 MB / 446.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.0005281/0.5563, allocations: 167 kB / 0.591 GB, free: 2.895 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005183/0.5568, allocations: 178.4 kB / 0.5911 GB, free: 2.723 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.5569, allocations: 8 kB / 0.5912 GB, free: 2.715 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.784e-05/0.557, allocations: 19.94 kB / 0.5912 GB, free: 2.695 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008102/0.5578, allocations: 36.41 kB / 0.5912 GB, free: 2.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.5596, allocations: 0.5421 MB / 0.5917 GB, free: 2.082 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007308/0.5604, allocations: 0.7245 MB / 0.5924 GB, free: 1.332 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002875/0.5607, allocations: 58.89 kB / 0.5925 GB, free: 1.273 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.341e-05/0.5608, allocations: 27.44 kB / 0.5925 GB, free: 1.246 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.5608, allocations: 0 / 0.5925 GB, free: 1.246 MB / 446.1 MB Notification: Performance of Templates: time 0.009268/0.57, allocations: 3.143 MB / 0.5956 GB, free: 14.12 MB / 462.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/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_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches