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.0008947/0.0008949, allocations: 95.27 kB / 17.35 MB, free: 6.344 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.0008478/0.0008479, allocations: 173.6 kB / 18.25 MB, free: 5.504 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.63/1.63, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2113/0.2113, allocations: 44.25 MB / 337.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003926/0.0003926, allocations: 10.03 kB / 410.3 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1456, allocations: 61.92 MB / 472.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01303/0.1586, allocations: 10.96 MB / 483.2 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01424/0.1729, allocations: 11.84 MB / 495.1 MB, free: 6.457 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004516/0.1735, allocations: 4 kB / 495.1 MB, free: 6.453 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005345/0.174, allocations: 59.69 kB / 495.1 MB, free: 6.395 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01415/0.1882, allocations: 2.637 MB / 497.8 MB, free: 3.746 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005139/0.1887, allocations: 153.5 kB / 497.9 MB, free: 3.602 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006466/0.1952, allocations: 4.145 MB / 0.4903 GB, free: 15.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.809e-05/0.1953, allocations: 16.41 kB / 0.4903 GB, free: 15.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002042/0.1955, allocations: 139.5 kB / 0.4904 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01076/0.2063, allocations: 7.563 MB / 0.4978 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.203e-05/0.2064, allocations: 8 kB / 0.4978 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008313/0.2147, allocations: 2.107 MB / 0.4999 GB, free: 5.605 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001841/0.2149, allocations: 51.75 kB / 0.4999 GB, free: 5.555 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003667/0.2153, allocations: 153.1 kB / 0.5001 GB, free: 5.398 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005666/0.221, allocations: 1.52 MB / 0.5016 GB, free: 3.875 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.221, allocations: 0 / 0.5016 GB, free: 3.875 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.221, allocations: 0 / 0.5016 GB, free: 3.875 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.2211, allocations: 0 / 0.5016 GB, free: 3.875 MB / 382.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.002242/0.2233, allocations: 0.8697 MB / 0.5024 GB, free: 2.957 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.2234, allocations: 8.031 kB / 0.5024 GB, free: 2.949 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006003/0.224, allocations: 80.58 kB / 0.5025 GB, free: 2.871 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.2243, allocations: 248 kB / 0.5027 GB, free: 2.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.2243, allocations: 20.94 kB / 0.5028 GB, free: 2.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.165e-05/0.2243, allocations: 24.38 kB / 0.5028 GB, free: 2.547 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009784/0.2253, allocations: 485.6 kB / 0.5033 GB, free: 2.035 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.2254, allocations: 4 kB / 0.5033 GB, free: 2.031 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.57e-05/0.2254, allocations: 19.94 kB / 0.5033 GB, free: 2.012 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.2254, allocations: 4 kB / 0.5033 GB, free: 2.008 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001288/0.2267, allocations: 0.6813 MB / 0.5039 GB, free: 1.328 MB / 382.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.3309/0.5576, allocations: 4.279 MB / 0.5081 GB, free: 47.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006578/0.5583, allocations: 167.3 kB / 0.5083 GB, free: 47.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.5584, allocations: 60.52 kB / 0.5083 GB, free: 47.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0314/0.5898, allocations: 16.38 MB / 0.5243 GB, free: 36.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007636/0.5906, allocations: 318.8 kB / 0.5246 GB, free: 36.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.354e-06/0.5906, allocations: 0 / 0.5246 GB, free: 36.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001475/0.5921, allocations: 434.8 kB / 0.5251 GB, free: 35.87 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001901/0.5923, allocations: 483.6 kB / 0.5255 GB, free: 35.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.5926, allocations: 187.7 kB / 0.5257 GB, free: 35.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.5926, allocations: 31.98 kB / 0.5257 GB, free: 35.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.5927, allocations: 185.7 kB / 0.5259 GB, free: 34.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.297e-05/0.5928, allocations: 98.22 kB / 0.526 GB, free: 34.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.427e-05/0.5929, allocations: 45.45 kB / 0.526 GB, free: 34.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.593, allocations: 327 kB / 0.5264 GB, free: 34.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.5931, allocations: 67.47 kB / 0.5264 GB, free: 34.47 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003254/0.5935, allocations: 310.8 kB / 0.5267 GB, free: 34.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005609/0.594, allocations: 420.2 kB / 0.5271 GB, free: 33.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/0.5941, allocations: 2.469 kB / 0.5271 GB, free: 33.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000841/0.5949, allocations: 402 kB / 0.5275 GB, free: 33.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.062e-05/0.595, allocations: 9.125 kB / 0.5275 GB, free: 33.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.31e-05/0.595, allocations: 8.125 kB / 0.5275 GB, free: 33.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.329e-05/0.595, allocations: 11.66 kB / 0.5275 GB, free: 33.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003979/0.5954, allocations: 111.9 kB / 0.5276 GB, free: 33.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.317e-05/0.5955, allocations: 15.84 kB / 0.5277 GB, free: 33.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003007/0.5958, allocations: 43.44 kB / 0.5277 GB, free: 33.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.857e-05/0.5959, allocations: 37.05 kB / 0.5277 GB, free: 33.39 MB / 382.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.000185/0.5961, allocations: 163.4 kB / 0.5279 GB, free: 33.24 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.583e-05/0.5961, allocations: 26.44 kB / 0.5279 GB, free: 33.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001347/0.5975, allocations: 0.7808 MB / 0.5287 GB, free: 32.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/0.5975, allocations: 8.734 kB / 0.5287 GB, free: 32.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/0.5976, allocations: 2.219 kB / 0.5287 GB, free: 32.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.5976, allocations: 1.938 kB / 0.5287 GB, free: 32.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.5988, allocations: 1.228 MB / 0.5299 GB, free: 31.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.5989, allocations: 3.25 kB / 0.5299 GB, free: 31.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.599, allocations: 32.02 kB / 0.5299 GB, free: 31.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.335e-06/0.599, allocations: 3.469 kB / 0.5299 GB, free: 31.6 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.599, allocations: 11.5 kB / 0.5299 GB, free: 31.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-06/0.5991, allocations: 5.109 kB / 0.5299 GB, free: 31.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/0.5991, allocations: 10.72 kB / 0.5299 GB, free: 31.58 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004364/0.5995, allocations: 381.9 kB / 0.5303 GB, free: 31.26 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.5997, allocations: 212.8 kB / 0.5305 GB, free: 31.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.356e-05/0.5997, allocations: 12.11 kB / 0.5305 GB, free: 31.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/0.6, allocations: 12.25 kB / 0.5305 GB, free: 31.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.6, allocations: 20.16 kB / 0.5306 GB, free: 31.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/0.6, allocations: 16.12 kB / 0.5306 GB, free: 31.03 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003262/0.6004, allocations: 292.9 kB / 0.5308 GB, free: 30.85 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6004, allocations: 0 / 0.5308 GB, free: 30.85 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001609/0.602, allocations: 420.6 kB / 0.5313 GB, free: 30.78 MB / 382.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.001532/0.6035, allocations: 0.6222 MB / 0.5319 GB, free: 30.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004689/0.604, allocations: 238.3 kB / 0.5321 GB, free: 30.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.604, allocations: 0 / 0.5321 GB, free: 30.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.6042, allocations: 89.22 kB / 0.5322 GB, free: 30.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.6052, allocations: 107.7 kB / 0.5323 GB, free: 30.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.63/2.235, allocations: 0.577 GB / 1.109 GB, free: 177 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/2.236, allocations: 0.8161 MB / 1.11 GB, free: 176.3 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.0004802/2.236, allocations: 169.3 kB / 1.11 GB, free: 176.2 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.105e-05/2.236, allocations: 34.56 kB / 1.11 GB, free: 176.2 MB / 0.5138 GB Notification: Performance of SimCode: time 9.12e-07/2.236, allocations: 0 / 1.11 GB, free: 176.2 MB / 0.5138 GB Notification: Performance of Templates: time 0.01846/2.255, allocations: 14.04 MB / 1.124 GB, free: 164.3 MB / 0.5138 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