Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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.IncompleteMedia.ReferenceAir_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001425/0.001425, allocations: 122.8 kB / 17.79 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.001808/0.001808, allocations: 197.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.4 MB / 246.9 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.2114/0.2114, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 75.86 kB / 481.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4155/0.4171, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01438/0.4316, allocations: 11.29 MB / 0.5421 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01265/0.4443, allocations: 11.78 MB / 0.5536 GB, free: 10.58 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001701/0.4445, allocations: 0 / 0.5536 GB, free: 10.58 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003116/0.4448, allocations: 67.5 kB / 0.5536 GB, free: 10.51 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01058/0.4554, allocations: 3.122 MB / 0.5567 GB, free: 7.379 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003839/0.4558, allocations: 153 kB / 0.5568 GB, free: 7.234 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005312/0.4611, allocations: 3.901 MB / 0.5606 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.607e-05/0.4612, allocations: 20.34 kB / 0.5606 GB, free: 3.312 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.4614, allocations: 135.5 kB / 0.5608 GB, free: 3.18 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009312/0.4707, allocations: 7.122 MB / 0.5677 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.294e-05/0.4708, allocations: 8 kB / 0.5677 GB, free: 12.04 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005884/0.4767, allocations: 2.139 MB / 0.5698 GB, free: 9.902 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.857e-05/0.4768, allocations: 43.77 kB / 0.5699 GB, free: 9.859 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001806/0.477, allocations: 135.3 kB / 0.57 GB, free: 9.727 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004564/0.4816, allocations: 1.54 MB / 0.5715 GB, free: 8.184 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.4816, allocations: 0 / 0.5715 GB, free: 8.184 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4816, allocations: 0 / 0.5715 GB, free: 8.184 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.4816, allocations: 0 / 0.5715 GB, free: 8.184 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.00208/0.4837, allocations: 0.9205 MB / 0.5724 GB, free: 7.215 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.4837, allocations: 8.031 kB / 0.5724 GB, free: 7.207 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005707/0.4843, allocations: 84.53 kB / 0.5725 GB, free: 7.125 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/0.4847, allocations: 251.9 kB / 0.5727 GB, free: 6.84 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.4847, allocations: 20.94 kB / 0.5727 GB, free: 6.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.774e-05/0.4848, allocations: 32.38 kB / 0.5728 GB, free: 6.789 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009509/0.4857, allocations: 485.6 kB / 0.5732 GB, free: 6.281 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.4857, allocations: 0 / 0.5732 GB, free: 6.281 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.573e-05/0.4858, allocations: 19.98 kB / 0.5733 GB, free: 6.262 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.4858, allocations: 8 kB / 0.5733 GB, free: 6.254 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.4868, allocations: 0.6773 MB / 0.5739 GB, free: 5.574 MB / 430.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.007044/0.4939, allocations: 4.296 MB / 0.5781 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005312/0.4944, allocations: 159.2 kB / 0.5783 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.4946, allocations: 69.45 kB / 0.5783 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0282/0.5228, allocations: 16.41 MB / 0.5944 GB, free: 14.04 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007269/0.5235, allocations: 318 kB / 0.5947 GB, free: 13.66 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 1.964e-06/0.5235, allocations: 0 / 0.5947 GB, free: 13.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.001397/0.5249, allocations: 442.5 kB / 0.5951 GB, free: 13.22 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000191/0.5252, allocations: 482.5 kB / 0.5956 GB, free: 12.64 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.5253, allocations: 182.1 kB / 0.5957 GB, free: 12.45 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.5254, allocations: 33.7 kB / 0.5958 GB, free: 12.41 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.815e-05/0.5255, allocations: 183.8 kB / 0.5959 GB, free: 12.23 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.493e-05/0.5255, allocations: 102.6 kB / 0.596 GB, free: 12.13 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.5257, allocations: 94.02 kB / 0.5961 GB, free: 12.03 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.5258, allocations: 334.8 kB / 0.5964 GB, free: 11.7 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.5259, allocations: 64.83 kB / 0.5965 GB, free: 11.63 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002624/0.5262, allocations: 306.8 kB / 0.5968 GB, free: 11.21 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004393/0.5266, allocations: 425 kB / 0.5972 GB, free: 10.68 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.5266, allocations: 4 kB / 0.5972 GB, free: 10.67 MB / 462.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006732/0.5273, allocations: 402 kB / 0.5976 GB, free: 10.27 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.5273, allocations: 10.34 kB / 0.5976 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.5274, allocations: 8 kB / 0.5976 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.5274, allocations: 16.03 kB / 0.5976 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003026/0.5277, allocations: 115.7 kB / 0.5977 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-05/0.5277, allocations: 12 kB / 0.5977 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.528, allocations: 55.41 kB / 0.5978 GB, free: 10.06 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.354e-05/0.528, allocations: 31.98 kB / 0.5978 GB, free: 10.03 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * Array equations: 0 * 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.0001286/0.5281, allocations: 153.7 kB / 0.598 GB, free: 9.871 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.568e-05/0.5282, allocations: 27.72 kB / 0.598 GB, free: 9.844 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009608/0.5292, allocations: 0.7767 MB / 0.5988 GB, free: 9.023 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.5292, allocations: 7.984 kB / 0.5988 GB, free: 9.016 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/0.5292, allocations: 4 kB / 0.5988 GB, free: 9.012 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.5292, allocations: 7.875 kB / 0.5988 GB, free: 9.004 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.5303, allocations: 1.221 MB / 0.6 GB, free: 7.645 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.5304, allocations: 0 / 0.6 GB, free: 7.645 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.5305, allocations: 39.92 kB / 0.6 GB, free: 7.605 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.5305, allocations: 3.938 kB / 0.6 GB, free: 7.602 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.5305, allocations: 12 kB / 0.6 GB, free: 7.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.483e-06/0.5305, allocations: 3.938 kB / 0.6 GB, free: 7.586 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.5305, allocations: 4 kB / 0.6 GB, free: 7.582 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004221/0.531, allocations: 375.6 kB / 0.6004 GB, free: 7.168 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.531, allocations: 100.8 kB / 0.6005 GB, free: 7.051 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.987e-05/0.5311, allocations: 43.38 kB / 0.6005 GB, free: 7.008 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002271/0.5313, allocations: 11.98 kB / 0.6005 GB, free: 6.996 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.901e-05/0.5314, allocations: 15.98 kB / 0.6006 GB, free: 6.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.5314, allocations: 8 kB / 0.6006 GB, free: 6.973 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002957/0.5317, allocations: 302.8 kB / 0.6009 GB, free: 6.676 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5317, allocations: 0 / 0.6009 GB, free: 6.676 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00129/0.533, allocations: 427.5 kB / 0.6013 GB, free: 6.258 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001204/0.5342, allocations: 0.6275 MB / 0.6019 GB, free: 5.621 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004185/0.5346, allocations: 234.6 kB / 0.6021 GB, free: 5.395 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.5347, allocations: 0 / 0.6021 GB, free: 5.395 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.5348, allocations: 92.34 kB / 0.6022 GB, free: 5.305 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007905/0.5356, allocations: 115.4 kB / 0.6023 GB, free: 5.195 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.681/2.217, allocations: 0.5789 GB / 1.181 GB, free: 222.1 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/2.217, allocations: 0.8087 MB / 1.182 GB, free: 221.4 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004652/2.217, allocations: 163.6 kB / 1.182 GB, free: 221.4 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.512e-05/2.217, allocations: 36.92 kB / 1.182 GB, free: 221.3 MB / 0.6075 GB Notification: Performance of SimCode: time 1.343e-06/2.217, allocations: 0 / 1.182 GB, free: 221.3 MB / 0.6075 GB Notification: Performance of Templates: time 0.018/2.235, allocations: 14.4 MB / 1.196 GB, free: 209.7 MB / 0.6075 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches