Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001764/0.001764, allocations: 187.8 kB / 18.71 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2231/0.2231, allocations: 44.17 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 67.91 kB / 470.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4297/0.4309, allocations: 60.82 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01368/0.4446, allocations: 11.24 MB / 0.5299 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01301/0.4577, allocations: 11.78 MB / 0.5414 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002282/0.4579, allocations: 0 / 0.5414 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004044/0.4585, allocations: 65.91 kB / 0.5415 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01276/0.4712, allocations: 3.113 MB / 0.5445 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000472/0.4717, allocations: 155.5 kB / 0.5447 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007871/0.4796, allocations: 3.904 MB / 0.5485 GB, free: 13.56 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.4798, allocations: 14.16 kB / 0.5485 GB, free: 13.56 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006581/0.4805, allocations: 140.6 kB / 0.5486 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01064/0.4911, allocations: 7.125 MB / 0.5556 GB, free: 6.434 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001612/0.4913, allocations: 12 kB / 0.5556 GB, free: 6.422 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008236/0.4996, allocations: 2.131 MB / 0.5577 GB, free: 4.289 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001793/0.4998, allocations: 47.77 kB / 0.5577 GB, free: 4.242 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004208/0.5003, allocations: 127.4 kB / 0.5579 GB, free: 4.117 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01036/0.5106, allocations: 1.536 MB / 0.5594 GB, free: 2.578 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.25e-05/0.5107, allocations: 4 kB / 0.5594 GB, free: 2.574 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5107, allocations: 0 / 0.5594 GB, free: 2.574 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.685e-05/0.5107, allocations: 0 / 0.5594 GB, free: 2.574 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003212/0.5139, allocations: 0.9244 MB / 0.5603 GB, free: 1.602 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.047e-05/0.514, allocations: 8.031 kB / 0.5603 GB, free: 1.594 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006747/0.5147, allocations: 76.59 kB / 0.5603 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004418/0.5152, allocations: 248 kB / 0.5606 GB, free: 1.238 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/0.5152, allocations: 24.94 kB / 0.5606 GB, free: 1.215 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.342e-05/0.5153, allocations: 24.38 kB / 0.5606 GB, free: 1.191 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.5164, allocations: 485.6 kB / 0.5611 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.5164, allocations: 4 kB / 0.5611 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.287e-05/0.5165, allocations: 15.98 kB / 0.5611 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.5165, allocations: 8 kB / 0.5611 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.5177, allocations: 0.6851 MB / 0.5618 GB, free: 15.97 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.008059/0.5258, allocations: 4.299 MB / 0.566 GB, free: 11.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006317/0.5265, allocations: 167.1 kB / 0.5661 GB, free: 11.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.5266, allocations: 61.47 kB / 0.5662 GB, free: 11.01 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02884/0.5554, allocations: 16.41 MB / 0.5822 GB, free: 8.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009976/0.5565, allocations: 322 kB / 0.5825 GB, free: 8.051 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 4.338e-06/0.5566, allocations: 3.938 kB / 0.5825 GB, free: 8.047 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.001628/0.5582, allocations: 438.7 kB / 0.583 GB, free: 7.613 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002539/0.5585, allocations: 482.5 kB / 0.5834 GB, free: 7.031 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/0.5587, allocations: 183.5 kB / 0.5836 GB, free: 6.844 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.936e-05/0.5588, allocations: 29.7 kB / 0.5836 GB, free: 6.809 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.5589, allocations: 191.5 kB / 0.5838 GB, free: 6.617 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.288e-05/0.559, allocations: 98.58 kB / 0.5839 GB, free: 6.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.5591, allocations: 94.06 kB / 0.584 GB, free: 6.422 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.5593, allocations: 334.8 kB / 0.5843 GB, free: 6.086 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.5594, allocations: 64.83 kB / 0.5844 GB, free: 6.023 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000294/0.5597, allocations: 306.8 kB / 0.5847 GB, free: 5.602 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005326/0.5603, allocations: 429.4 kB / 0.5851 GB, free: 5.062 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.5603, allocations: 0 / 0.5851 GB, free: 5.062 MB / 446.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007428/0.561, allocations: 400.6 kB / 0.5855 GB, free: 4.664 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.561, allocations: 12 kB / 0.5855 GB, free: 4.652 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.5611, allocations: 8.906 kB / 0.5855 GB, free: 4.645 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.842e-05/0.5611, allocations: 12 kB / 0.5855 GB, free: 4.633 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003143/0.5614, allocations: 111.8 kB / 0.5856 GB, free: 4.523 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.13e-05/0.5615, allocations: 19.92 kB / 0.5856 GB, free: 4.504 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002764/0.5617, allocations: 51.47 kB / 0.5857 GB, free: 4.453 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.439e-05/0.5618, allocations: 28 kB / 0.5857 GB, free: 4.426 MB / 446.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.0001756/0.562, allocations: 149.6 kB / 0.5858 GB, free: 4.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.5621, allocations: 35.8 kB / 0.5859 GB, free: 4.234 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.5631, allocations: 0.7777 MB / 0.5866 GB, free: 3.414 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.5632, allocations: 4 kB / 0.5866 GB, free: 3.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.5632, allocations: 0 / 0.5866 GB, free: 3.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.5632, allocations: 11.92 kB / 0.5866 GB, free: 3.398 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.5645, allocations: 1.218 MB / 0.5878 GB, free: 2.043 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.5645, allocations: 4 kB / 0.5878 GB, free: 2.039 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.5647, allocations: 35.97 kB / 0.5879 GB, free: 2.004 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.144e-05/0.5647, allocations: 7.938 kB / 0.5879 GB, free: 1.996 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.5647, allocations: 4 kB / 0.5879 GB, free: 1.992 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.5647, allocations: 7.938 kB / 0.5879 GB, free: 1.984 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.5647, allocations: 7.984 kB / 0.5879 GB, free: 1.977 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000518/0.5653, allocations: 380.4 kB / 0.5883 GB, free: 1.559 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.496e-05/0.5653, allocations: 100.9 kB / 0.5883 GB, free: 1.441 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.822e-05/0.5654, allocations: 51.45 kB / 0.5884 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002475/0.5657, allocations: 11.94 kB / 0.5884 GB, free: 1.379 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.5657, allocations: 23.91 kB / 0.5884 GB, free: 1.355 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/0.5658, allocations: 12 kB / 0.5884 GB, free: 1.344 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003357/0.5661, allocations: 290.9 kB / 0.5887 GB, free: 1.059 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5661, allocations: 4 kB / 0.5887 GB, free: 1.055 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001711/0.5678, allocations: 427.5 kB / 0.5891 GB, free: 0.6367 MB / 446.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.00209/0.5699, allocations: 0.6155 MB / 0.5897 GB, free: 12 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005159/0.5705, allocations: 243.9 kB / 0.59 GB, free: 15.77 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.5705, allocations: 0 / 0.59 GB, free: 15.77 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.5706, allocations: 81.61 kB / 0.59 GB, free: 15.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007856/0.5714, allocations: 114.6 kB / 0.5902 GB, free: 15.59 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.88/2.452, allocations: 0.579 GB / 1.169 GB, free: 214.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/2.452, allocations: 0.8128 MB / 1.17 GB, free: 213.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004608/2.452, allocations: 159.4 kB / 1.17 GB, free: 213.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.39e-05/2.452, allocations: 40.7 kB / 1.17 GB, free: 213.7 MB / 0.5919 GB Notification: Performance of SimCode: time 8.81e-07/2.452, allocations: 2.062 kB / 1.17 GB, free: 213.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.02247/2.475, allocations: 14.4 MB / 1.184 GB, free: 205.2 MB / 0.5919 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches