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.002462/0.002461, allocations: 181.1 kB / 13.66 MB, free: 1.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.178/2.178, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001107/0.001106, allocations: 94.62 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2796/0.2796, allocations: 43.5 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.107e-05/3.125e-05, allocations: 0 / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1235, allocations: 58.86 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.191/2.314, allocations: 0.6457 GB / 1.118 GB, free: 159 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003226/2.315, allocations: 83.59 kB / 1.119 GB, free: 159 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.3312/2.646, allocations: 111.3 MB / 1.227 GB, free: 87.11 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.913e-06/2.646, allocations: 0 / 1.227 GB, free: 87.11 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.505e-05/2.646, allocations: 4 kB / 1.227 GB, free: 87.11 MB / 0.5105 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.003782/2.65, allocations: 1.052 MB / 1.228 GB, free: 86.01 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/2.65, allocations: 8.031 kB / 1.228 GB, free: 86 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008229/2.651, allocations: 79.59 kB / 1.228 GB, free: 85.92 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003584/2.651, allocations: 250.7 kB / 1.229 GB, free: 85.64 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/2.651, allocations: 20.56 kB / 1.229 GB, free: 85.62 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.104e-05/2.651, allocations: 24 kB / 1.229 GB, free: 85.59 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/2.652, allocations: 493.5 kB / 1.229 GB, free: 85.07 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/2.652, allocations: 3.938 kB / 1.229 GB, free: 85.07 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.297e-05/2.652, allocations: 16 kB / 1.229 GB, free: 85.05 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/2.652, allocations: 12 kB / 1.229 GB, free: 85.04 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/2.654, allocations: 0.6852 MB / 1.23 GB, free: 84.36 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.014/2.668, allocations: 4.161 MB / 1.234 GB, free: 80 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008407/2.669, allocations: 235.3 kB / 1.234 GB, free: 79.76 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/2.669, allocations: 77.34 kB / 1.234 GB, free: 79.68 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1527/2.822, allocations: 43.16 MB / 1.276 GB, free: 32.68 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000719/2.822, allocations: 248.1 kB / 1.277 GB, free: 32.39 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=20): time 3.447e-06/2.823, allocations: 0 / 1.277 GB, free: 32.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=22): time 0.003575/2.826, allocations: 0.733 MB / 1.277 GB, free: 31.65 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.194e-05/2.826, allocations: 269 kB / 1.278 GB, free: 31.32 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/2.826, allocations: 181.7 kB / 1.278 GB, free: 31.13 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.373e-05/2.826, allocations: 29.7 kB / 1.278 GB, free: 31.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/2.827, allocations: 285.3 kB / 1.278 GB, free: 30.82 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.91e-05/2.827, allocations: 78.98 kB / 1.278 GB, free: 30.74 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.207e-05/2.827, allocations: 12.09 kB / 1.278 GB, free: 30.73 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.954e-05/2.827, allocations: 330.8 kB / 1.278 GB, free: 30.39 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/2.827, allocations: 61.12 kB / 1.278 GB, free: 30.34 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002823/2.827, allocations: 339.3 kB / 1.279 GB, free: 29.87 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002659/2.828, allocations: 115.8 kB / 1.279 GB, free: 29.75 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/2.828, allocations: 0 / 1.279 GB, free: 29.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009786/2.829, allocations: 435.2 kB / 1.279 GB, free: 29.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/2.829, allocations: 12 kB / 1.279 GB, free: 29.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/2.829, allocations: 12 kB / 1.279 GB, free: 29.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002958/2.832, allocations: 317.6 kB / 1.28 GB, free: 28.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005761/2.832, allocations: 95.83 kB / 1.28 GB, free: 28.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006352/2.833, allocations: 1.219 MB / 1.281 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005165/2.833, allocations: 28.22 kB / 1.281 GB, free: 27.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.02e-05/2.834, allocations: 39.91 kB / 1.281 GB, free: 27.55 MB / 0.5105 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 () * 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.000142/2.834, allocations: 140.7 kB / 1.281 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.427e-05/2.834, allocations: 27.72 kB / 1.281 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001411/2.835, allocations: 0.7943 MB / 1.282 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/2.835, allocations: 8 kB / 1.282 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/2.835, allocations: 4 kB / 1.282 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/2.835, allocations: 8.172 kB / 1.282 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006753/2.836, allocations: 0.5082 MB / 1.282 GB, free: 26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/2.836, allocations: 7.953 kB / 1.282 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002342/2.836, allocations: 31.92 kB / 1.282 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001806/2.838, allocations: 245.5 kB / 1.283 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.489e-05/2.838, allocations: 8 kB / 1.283 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005806/2.839, allocations: 1.266 MB / 1.284 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/2.839, allocations: 3.984 kB / 1.284 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007733/2.84, allocations: 0.5343 MB / 1.284 GB, free: 23.76 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002203/2.84, allocations: 220 kB / 1.285 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.632e-05/2.84, allocations: 8 kB / 1.285 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003913/2.84, allocations: 15.98 kB / 1.285 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/2.84, allocations: 15.92 kB / 1.285 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/2.84, allocations: 16 kB / 1.285 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004168/2.841, allocations: 289.6 kB / 1.285 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.81e-07/2.841, allocations: 0 / 1.285 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002028/2.843, allocations: 411.6 kB / 1.285 GB, free: 22.79 MB / 0.5105 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 () * 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.002647/2.845, allocations: 0.7183 MB / 1.286 GB, free: 22.06 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008542/2.846, allocations: 319.1 kB / 1.286 GB, free: 21.74 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/2.846, allocations: 0 / 1.286 GB, free: 21.74 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003248/2.847, allocations: 181.5 kB / 1.287 GB, free: 21.56 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000755/2.848, allocations: 79.09 kB / 1.287 GB, free: 21.48 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 4.913/7.76, allocations: 1.255 GB / 2.541 GB, free: 81.97 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/7.761, allocations: 0.8267 MB / 2.542 GB, free: 81.12 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/7.761, allocations: 35.42 kB / 2.542 GB, free: 81.09 MB / 0.5105 GB Notification: Performance of SimCode: time 1.072e-06/7.761, allocations: 0 / 2.542 GB, free: 81.09 MB / 0.5105 GB Notification: Performance of Templates: time 0.02402/7.785, allocations: 13.04 MB / 2.555 GB, free: 68.23 MB / 0.5105 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