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.001645/0.001645, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.908/1.908, allocations: 205.4 MB / 222.5 MB, free: 9.145 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.001285/0.001285, allocations: 99.22 kB / 270.9 MB, free: 8.398 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.5178/0.5178, allocations: 43.55 MB / 362.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004702/0.0004701, allocations: 12 kB / 431.4 MB, free: 6.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.128, allocations: 58.86 MB / 490.2 MB, free: 11.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.232/2.36, allocations: 0.6458 GB / 1.125 GB, free: 111.9 MB / 0.4949 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/2.36, allocations: 82.2 kB / 1.125 GB, free: 111.9 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 0.3157/2.676, allocations: 111.5 MB / 1.234 GB, free: 5.891 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.783e-06/2.676, allocations: 0 / 1.234 GB, free: 5.891 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 1.567e-05/2.676, allocations: 4 kB / 1.234 GB, free: 5.887 MB / 0.4949 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.003658/2.68, allocations: 1.053 MB / 1.235 GB, free: 4.785 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/2.68, allocations: 8.031 kB / 1.235 GB, free: 4.777 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007731/2.68, allocations: 83.09 kB / 1.235 GB, free: 4.699 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/2.681, allocations: 250.6 kB / 1.235 GB, free: 4.414 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/2.681, allocations: 20.56 kB / 1.235 GB, free: 4.395 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.142e-05/2.681, allocations: 24 kB / 1.235 GB, free: 4.371 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/2.682, allocations: 477.5 kB / 1.235 GB, free: 3.871 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/2.682, allocations: 0 / 1.235 GB, free: 3.871 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.023e-05/2.682, allocations: 12 kB / 1.235 GB, free: 3.859 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/2.682, allocations: 9.031 kB / 1.235 GB, free: 3.852 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/2.684, allocations: 0.6773 MB / 1.236 GB, free: 3.172 MB / 0.4949 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.3541/3.038, allocations: 4.148 MB / 1.24 GB, free: 119 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009604/3.039, allocations: 211.1 kB / 1.24 GB, free: 119 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1476/3.186, allocations: 42.52 MB / 1.282 GB, free: 98.65 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00069/3.187, allocations: 236.5 kB / 1.282 GB, free: 98.53 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=20): time 3.386e-06/3.187, allocations: 0 / 1.282 GB, free: 98.53 MB / 0.4949 GB Notification: Performance of matching and sorting (n=22): time 0.00353/3.191, allocations: 0.7253 MB / 1.283 GB, free: 98.32 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.643e-05/3.191, allocations: 263.1 kB / 1.283 GB, free: 98.01 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/3.191, allocations: 200.9 kB / 1.283 GB, free: 97.9 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/3.191, allocations: 29.27 kB / 1.283 GB, free: 97.87 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/3.191, allocations: 278.3 kB / 1.283 GB, free: 97.66 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 7.155e-05/3.191, allocations: 81.67 kB / 1.284 GB, free: 97.62 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.523e-05/3.191, allocations: 8.844 kB / 1.284 GB, free: 97.62 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 7.112e-05/3.191, allocations: 324.5 kB / 1.284 GB, free: 97.3 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/3.191, allocations: 67.59 kB / 1.284 GB, free: 97.3 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002973/3.192, allocations: 343.5 kB / 1.284 GB, free: 96.95 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/3.192, allocations: 116 kB / 1.284 GB, free: 96.94 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/3.192, allocations: 4 kB / 1.284 GB, free: 96.94 MB / 0.4949 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000991/3.193, allocations: 436 kB / 1.285 GB, free: 96.88 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/3.193, allocations: 10.56 kB / 1.285 GB, free: 96.88 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/3.193, allocations: 15.44 kB / 1.285 GB, free: 96.88 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003/3.196, allocations: 293.3 kB / 1.285 GB, free: 96.86 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005304/3.197, allocations: 99.06 kB / 1.285 GB, free: 96.86 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006408/3.197, allocations: 1.229 MB / 1.286 GB, free: 95.68 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004094/3.198, allocations: 20.84 kB / 1.286 GB, free: 95.68 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.353e-05/3.198, allocations: 30.73 kB / 1.286 GB, free: 95.68 MB / 0.4949 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.0002143/3.198, allocations: 162.4 kB / 1.287 GB, free: 95.56 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.363e-05/3.198, allocations: 27.03 kB / 1.287 GB, free: 95.55 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001392/3.2, allocations: 0.8051 MB / 1.287 GB, free: 95.41 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/3.2, allocations: 9.641 kB / 1.287 GB, free: 95.41 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/3.2, allocations: 6.656 kB / 1.287 GB, free: 95.41 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/3.2, allocations: 2.781 kB / 1.287 GB, free: 95.41 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006352/3.2, allocations: 0.5037 MB / 1.288 GB, free: 95.2 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/3.2, allocations: 3.953 kB / 1.288 GB, free: 95.19 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/3.201, allocations: 31.56 kB / 1.288 GB, free: 95.19 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001816/3.202, allocations: 240.8 kB / 1.288 GB, free: 95.17 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/3.202, allocations: 5.25 kB / 1.288 GB, free: 95.17 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000587/3.203, allocations: 1.263 MB / 1.289 GB, free: 94 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/3.203, allocations: 6.984 kB / 1.289 GB, free: 94 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007663/3.204, allocations: 0.5486 MB / 1.29 GB, free: 93.67 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002176/3.204, allocations: 219.6 kB / 1.29 GB, free: 93.55 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.029e-05/3.204, allocations: 12.19 kB / 1.29 GB, free: 93.55 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003291/3.204, allocations: 6.875 kB / 1.29 GB, free: 93.55 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.344e-05/3.205, allocations: 22.14 kB / 1.29 GB, free: 93.55 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/3.205, allocations: 9.938 kB / 1.29 GB, free: 93.55 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0004436/3.205, allocations: 295.9 kB / 1.291 GB, free: 93.46 MB / 0.4949 GB Notification: Performance of sort global known variables: time 3.81e-07/3.205, allocations: 4 kB / 1.291 GB, free: 93.45 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.002055/3.207, allocations: 407 kB / 1.291 GB, free: 93.45 MB / 0.4949 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.002696/3.21, allocations: 0.7095 MB / 1.292 GB, free: 93.32 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0009355/3.211, allocations: 324.4 kB / 1.292 GB, free: 93.3 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/3.211, allocations: 5.562 kB / 1.292 GB, free: 93.29 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0003641/3.211, allocations: 181 kB / 1.292 GB, free: 93.27 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007821/3.212, allocations: 79.95 kB / 1.292 GB, free: 93.27 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 5.115/8.327, allocations: 1.255 GB / 2.548 GB, free: 110 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/8.327, allocations: 0.8357 MB / 2.548 GB, free: 109.3 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/8.327, allocations: 34.06 kB / 2.548 GB, free: 109.3 MB / 0.4949 GB Notification: Performance of SimCode: time 9.02e-07/8.327, allocations: 0 / 2.548 GB, free: 109.3 MB / 0.4949 GB Notification: Performance of Templates: time 0.02494/8.352, allocations: 13.06 MB / 2.561 GB, free: 108.7 MB / 0.4949 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,medium.MM,medium.R,medium.T,medium.T_degC,medium.X[1],medium.d,der(medium.T),der(medium.d),medium.h,medium.p,medium.p_bar,medium.preferredMediumStates,medium.standardOrderComponents,medium.state.T,medium.state.d,medium.state.h,medium.state.p,medium.u,p,s,s_is,state.T,state.d,state.h,state.p,state2.T,state2.d,state2.h,state2.p,state3.T,state3.d,state3.h,state3.p,state4.T,state4.d,state4.h,state4.p,state5.T,state5.d,state5.h,state5.p,state_h_is.T,state_h_is.d,state_h_is.h,state_h_is.p,time,u