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.001122/0.001122, allocations: 111.6 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001254/0.001255, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2068/0.2068, allocations: 46.1 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 79.88 kB / 482 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3356, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03302/0.3687, allocations: 26.92 MB / 0.558 GB, free: 6.703 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003449/0.3722, allocations: 2.959 MB / 0.5609 GB, free: 3.734 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.3724, allocations: 0 / 0.5609 GB, free: 3.734 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003001/0.3727, allocations: 47.67 kB / 0.5609 GB, free: 3.688 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001811/0.3745, allocations: 0.7305 MB / 0.5616 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003449/0.3749, allocations: 142.2 kB / 0.5618 GB, free: 2.82 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005518/0.3754, allocations: 382 kB / 0.5621 GB, free: 2.445 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.667e-05/0.3755, allocations: 9.688 kB / 0.5621 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03786/0.4134, allocations: 15.49 MB / 0.5773 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003675/0.4138, allocations: 147.5 kB / 0.5774 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.546e-05/0.4138, allocations: 8 kB / 0.5774 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007453/0.4213, allocations: 3.44 MB / 0.5808 GB, free: 15.19 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.411e-05/0.4214, allocations: 43.77 kB / 0.5808 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001641/0.4216, allocations: 107.5 kB / 0.5809 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001145/0.4227, allocations: 474.8 kB / 0.5814 GB, free: 14.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4228, allocations: 4 kB / 0.5814 GB, free: 14.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4228, allocations: 0 / 0.5814 GB, free: 14.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.4228, allocations: 0 / 0.5814 GB, free: 14.57 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.001314/0.4241, allocations: 0.5952 MB / 0.582 GB, free: 13.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/0.4242, allocations: 12.03 kB / 0.582 GB, free: 13.92 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002112/0.4244, allocations: 28.66 kB / 0.582 GB, free: 13.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/0.4248, allocations: 228 kB / 0.5822 GB, free: 13.63 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000142/0.4249, allocations: 123.9 kB / 0.5823 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.425, allocations: 24.12 kB / 0.5824 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005793/0.4256, allocations: 327.6 kB / 0.5827 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.4256, allocations: 4 kB / 0.5827 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.144e-05/0.4256, allocations: 12 kB / 0.5827 GB, free: 13.1 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.127e-05/0.4257, allocations: 4 kB / 0.5827 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007882/0.4265, allocations: 0.7429 MB / 0.5834 GB, free: 12.35 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.001345/0.4278, allocations: 1.3 MB / 0.5847 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003486/0.4282, allocations: 163.8 kB / 0.5848 GB, free: 10.76 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.4283, allocations: 81.48 kB / 0.5849 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002425/0.4307, allocations: 2.813 MB / 0.5877 GB, free: 7.336 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.276e-05/0.4308, allocations: 42.55 kB / 0.5877 GB, free: 7.285 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.784e-06/0.4308, allocations: 4 kB / 0.5877 GB, free: 7.281 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002834/0.4311, allocations: 109.4 kB / 0.5878 GB, free: 7.168 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.4311, allocations: 51.41 kB / 0.5879 GB, free: 7.105 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.4313, allocations: 220.1 kB / 0.5881 GB, free: 6.879 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.4314, allocations: 25.7 kB / 0.5881 GB, free: 6.848 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.4315, allocations: 222.6 kB / 0.5883 GB, free: 6.625 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.4316, allocations: 47.42 kB / 0.5884 GB, free: 6.578 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.295e-05/0.4317, allocations: 82.03 kB / 0.5884 GB, free: 6.492 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.4318, allocations: 330.8 kB / 0.5888 GB, free: 6.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.066e-05/0.4319, allocations: 52.72 kB / 0.5888 GB, free: 6.109 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002597/0.4322, allocations: 347.2 kB / 0.5891 GB, free: 5.621 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004125/0.4326, allocations: 440.6 kB / 0.5896 GB, free: 5.043 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.4326, allocations: 4 kB / 0.5896 GB, free: 5.039 MB / 446.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000573/0.4332, allocations: 385 kB / 0.5899 GB, free: 4.656 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.4332, allocations: 15.94 kB / 0.5899 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.4332, allocations: 8 kB / 0.5899 GB, free: 4.633 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.569e-05/0.4332, allocations: 20.72 kB / 0.59 GB, free: 4.613 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/0.4335, allocations: 99.77 kB / 0.5901 GB, free: 4.516 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.077e-05/0.4335, allocations: 23.94 kB / 0.5901 GB, free: 4.492 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.4338, allocations: 43.53 kB / 0.5901 GB, free: 4.449 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/0.4338, allocations: 31.98 kB / 0.5902 GB, free: 4.418 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.0001261/0.4339, allocations: 149.6 kB / 0.5903 GB, free: 4.262 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.373e-05/0.434, allocations: 23.81 kB / 0.5903 GB, free: 4.238 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002602/0.4343, allocations: 144.8 kB / 0.5905 GB, free: 4.086 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.4343, allocations: 7.938 kB / 0.5905 GB, free: 4.078 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4343, allocations: 0 / 0.5905 GB, free: 4.078 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.436e-05/0.4344, allocations: 100.8 kB / 0.5906 GB, free: 3.961 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.4344, allocations: 4 kB / 0.5906 GB, free: 3.957 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.4345, allocations: 0 / 0.5906 GB, free: 3.957 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.058e-05/0.4346, allocations: 15.98 kB / 0.5906 GB, free: 3.941 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001521/0.4347, allocations: 148.9 kB / 0.5907 GB, free: 3.789 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001896/0.4349, allocations: 258.5 kB / 0.591 GB, free: 3.52 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.66e-05/0.435, allocations: 20.27 kB / 0.591 GB, free: 3.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001263/0.4351, allocations: 156.5 kB / 0.5911 GB, free: 3.352 MB / 446.1 MB Notification: Performance of Backend: time 4.01e-07/0.4351, allocations: 3.938 kB / 0.5911 GB, free: 3.348 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000966/0.4361, allocations: 446.8 kB / 0.5916 GB, free: 2.91 MB / 446.1 MB Notification: Performance of SimCode: time 0.0008279/0.4369, allocations: 0.8654 MB / 0.5924 GB, free: 1.992 MB / 446.1 MB Notification: Performance of Templates: time 0.01008/0.447, allocations: 5.275 MB / 0.5976 GB, free: 12.72 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/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