Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,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_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,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_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001353/0.001353, allocations: 176.3 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.66/1.66, allocations: 205.4 MB / 223.6 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008322/0.0008322, allocations: 89.42 kB / 271.9 MB, free: 8.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3849/0.3849, allocations: 43.56 MB / 363.8 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004382/0.0004383, allocations: 19.98 kB / 432.6 MB, free: 5.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1498, allocations: 58.84 MB / 491.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.693/1.842, allocations: 0.6461 GB / 1.126 GB, free: 124.1 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/1.843, allocations: 82.77 kB / 1.126 GB, free: 124 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.188/2.031, allocations: 109.3 MB / 1.233 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.907e-06/2.031, allocations: 4 kB / 1.233 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.975e-05/2.031, allocations: 4 kB / 1.233 GB, free: 14.65 MB / 0.4948 GB 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.004629/2.036, allocations: 1.041 MB / 1.234 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.951e-05/2.036, allocations: 16.03 kB / 1.234 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007902/2.036, allocations: 80.58 kB / 1.234 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004092/2.037, allocations: 255.9 kB / 1.234 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.175e-05/2.037, allocations: 20.94 kB / 1.234 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.015e-05/2.037, allocations: 24.38 kB / 1.234 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/2.038, allocations: 482 kB / 1.235 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/2.038, allocations: 4.125 kB / 1.235 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.001e-05/2.038, allocations: 19.88 kB / 1.235 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/2.038, allocations: 8 kB / 1.235 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/2.039, allocations: 0.6773 MB / 1.235 GB, free: 11.92 MB / 0.4948 GB 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.008748/2.048, allocations: 4.128 MB / 1.239 GB, free: 7.598 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008328/2.049, allocations: 215.3 kB / 1.24 GB, free: 7.379 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/2.049, allocations: 73.38 kB / 1.24 GB, free: 7.305 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3622/2.411, allocations: 42.48 MB / 1.281 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005241/2.412, allocations: 240.3 kB / 1.281 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=20): time 4.078e-06/2.412, allocations: 0 / 1.281 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=22): time 0.002441/2.414, allocations: 0.7336 MB / 1.282 GB, free: 103 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.105e-05/2.414, allocations: 265.8 kB / 1.282 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/2.415, allocations: 211.4 kB / 1.283 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/2.415, allocations: 34.11 kB / 1.283 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.537e-05/2.415, allocations: 204.1 kB / 1.283 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.408e-05/2.415, allocations: 82.92 kB / 1.283 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.762e-05/2.415, allocations: 7.562 kB / 1.283 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.008e-05/2.415, allocations: 332.7 kB / 1.283 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/2.415, allocations: 65.08 kB / 1.283 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002075/2.415, allocations: 343.5 kB / 1.284 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000378/2.416, allocations: 466.9 kB / 1.284 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/2.416, allocations: 3.25 kB / 1.284 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006996/2.416, allocations: 440.6 kB / 1.284 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/2.416, allocations: 9.438 kB / 1.284 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/2.416, allocations: 9.812 kB / 1.284 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00176/2.418, allocations: 300.3 kB / 1.285 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/2.418, allocations: 106.1 kB / 1.285 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005232/2.419, allocations: 1.219 MB / 1.286 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002682/2.419, allocations: 25.92 kB / 1.286 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.842e-05/2.419, allocations: 32.84 kB / 1.286 GB, free: 100.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001868/2.42, allocations: 158.3 kB / 1.286 GB, free: 99.98 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.874e-05/2.42, allocations: 26.89 kB / 1.286 GB, free: 99.97 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009985/2.421, allocations: 0.7927 MB / 1.287 GB, free: 99.84 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/2.421, allocations: 4.906 kB / 1.287 GB, free: 99.84 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/2.421, allocations: 13.25 kB / 1.287 GB, free: 99.84 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/2.421, allocations: 3.156 kB / 1.287 GB, free: 99.84 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004806/2.421, allocations: 0.5018 MB / 1.288 GB, free: 99.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/2.421, allocations: 3.812 kB / 1.288 GB, free: 99.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/2.421, allocations: 36.45 kB / 1.288 GB, free: 99.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001076/2.422, allocations: 237.4 kB / 1.288 GB, free: 99.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/2.422, allocations: 7.125 kB / 1.288 GB, free: 99.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004253/2.423, allocations: 1.266 MB / 1.289 GB, free: 98.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/2.423, allocations: 0 / 1.289 GB, free: 98.42 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004823/2.423, allocations: 461 kB / 1.29 GB, free: 98.24 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/2.423, allocations: 218.3 kB / 1.29 GB, free: 98.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.364e-05/2.424, allocations: 11.09 kB / 1.29 GB, free: 98.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/2.424, allocations: 20.42 kB / 1.29 GB, free: 98.11 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/2.424, allocations: 11.05 kB / 1.29 GB, free: 98.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/2.424, allocations: 13.95 kB / 1.29 GB, free: 98.11 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002788/2.424, allocations: 296.3 kB / 1.29 GB, free: 98.02 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/2.424, allocations: 0 / 1.29 GB, free: 98.02 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00167/2.426, allocations: 415.4 kB / 1.29 GB, free: 98.02 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001724/2.427, allocations: 0.7131 MB / 1.291 GB, free: 97.88 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000557/2.428, allocations: 328 kB / 1.291 GB, free: 97.83 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/2.428, allocations: 1.562 kB / 1.291 GB, free: 97.83 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002372/2.428, allocations: 189 kB / 1.292 GB, free: 97.79 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006111/2.429, allocations: 76.28 kB / 1.292 GB, free: 97.79 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.697/5.126, allocations: 1.187 GB / 2.478 GB, free: 70.57 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001905/5.126, allocations: 0.8228 MB / 2.479 GB, free: 69.73 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.548e-05/5.126, allocations: 39.42 kB / 2.479 GB, free: 69.7 MB / 0.4948 GB Notification: Performance of SimCode: time 7.12e-07/5.126, allocations: 0 / 2.479 GB, free: 69.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.01348/5.14, allocations: 12.82 MB / 2.492 GB, free: 57.02 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference: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 Variables in the result:MM,Pr,T,a,beta,beta2,cp,cp2,cv,cv2,d,d2,eps,eps_h_is,err_T,err_d,err_h_is,err_u,eta,f,g,h,h2,h_is,kappa,kappa2,lambda,p,s,s_is,time,u