Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001024/0.001024, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 225.6 MB / 234.8 MB, free: 3.223 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008676/0.0008678, allocations: 100.7 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2118/0.2118, allocations: 45.15 MB / 383.8 MB, free: 240 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.86e-05/1.865e-05, allocations: 4 kB / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1357, allocations: 63.24 MB / 0.5044 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.572/1.708, allocations: 0.5456 GB / 1.05 GB, free: 98.66 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003582/1.709, allocations: 75.83 kB / 1.05 GB, free: 98.62 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.179/1.888, allocations: 105.9 MB / 1.153 GB, free: 0.6094 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.383e-06/1.888, allocations: 4 kB / 1.153 GB, free: 0.6055 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.77e-05/1.888, allocations: 0 / 1.153 GB, free: 0.6055 MB / 0.5261 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.3606/2.248, allocations: 1.015 MB / 1.154 GB, free: 154.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.059e-05/2.248, allocations: 13.59 kB / 1.154 GB, free: 154.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006784/2.249, allocations: 77.77 kB / 1.154 GB, free: 154.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003288/2.249, allocations: 252.7 kB / 1.155 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/2.249, allocations: 9.031 kB / 1.155 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.835e-05/2.25, allocations: 16.98 kB / 1.155 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009204/2.25, allocations: 0.5851 MB / 1.155 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005056/2.251, allocations: 351.3 kB / 1.156 GB, free: 154 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/2.251, allocations: 2.438 kB / 1.156 GB, free: 154 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.289e-05/2.251, allocations: 5.125 kB / 1.156 GB, free: 154 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/2.251, allocations: 6.562 kB / 1.156 GB, free: 154 MB / 0.5261 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.04753/2.299, allocations: 27.75 MB / 1.183 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/2.299, allocations: 74.52 kB / 1.183 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.11e-05/2.299, allocations: 29.98 kB / 1.183 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01391/2.313, allocations: 6.447 MB / 1.189 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002028/2.313, allocations: 91.62 kB / 1.189 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 2.685e-06/2.313, allocations: 0 / 1.189 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14): time 0.001704/2.315, allocations: 422.6 kB / 1.19 GB, free: 137.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.975e-05/2.315, allocations: 51.41 kB / 1.19 GB, free: 137.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/2.315, allocations: 196.7 kB / 1.19 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/2.315, allocations: 25.7 kB / 1.19 GB, free: 137.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.755e-05/2.315, allocations: 237.6 kB / 1.19 GB, free: 137.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/2.315, allocations: 48.38 kB / 1.19 GB, free: 137.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.126e-05/2.315, allocations: 0 / 1.19 GB, free: 137.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.686e-05/2.315, allocations: 334.3 kB / 1.191 GB, free: 136.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.852e-05/2.315, allocations: 51.14 kB / 1.191 GB, free: 136.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/2.315, allocations: 328.5 kB / 1.191 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000846/2.316, allocations: 189.3 kB / 1.191 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/2.316, allocations: 7.531 kB / 1.191 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001138/2.317, allocations: 465.9 kB / 1.191 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/2.317, allocations: 14.89 kB / 1.192 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/2.317, allocations: 10.69 kB / 1.192 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001328/2.318, allocations: 47.39 kB / 1.192 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002603/2.318, allocations: 102.4 kB / 1.192 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006702/2.318, allocations: 1.259 MB / 1.193 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002571/2.319, allocations: 14.48 kB / 1.193 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-05/2.319, allocations: 31.55 kB / 1.193 GB, free: 135.3 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: $DER.medium.d:DUMMY_DER(fixed = false ) "Density of medium" type: Real $DER.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real 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.0001669/2.319, allocations: 130.7 kB / 1.193 GB, free: 135.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.418e-05/2.319, allocations: 22.36 kB / 1.193 GB, free: 135.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006272/2.32, allocations: 390.4 kB / 1.193 GB, free: 135.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/2.32, allocations: 2.688 kB / 1.193 GB, free: 135.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/2.32, allocations: 3.344 kB / 1.193 GB, free: 135.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/2.32, allocations: 7.125 kB / 1.193 GB, free: 135.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002852/2.32, allocations: 323.4 kB / 1.194 GB, free: 135 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/2.32, allocations: 0 / 1.194 GB, free: 135 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.907e-05/2.32, allocations: 19.92 kB / 1.194 GB, free: 135 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.753e-05/2.32, allocations: 53.45 kB / 1.194 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/2.32, allocations: 3.969 kB / 1.194 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005045/2.321, allocations: 1.296 MB / 1.195 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/2.321, allocations: 3.891 kB / 1.195 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004475/2.321, allocations: 323 kB / 1.195 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.098e-05/2.321, allocations: 128.9 kB / 1.196 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.805e-05/2.321, allocations: 2.812 kB / 1.196 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/2.321, allocations: 14.62 kB / 1.196 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.051e-05/2.321, allocations: 7.375 kB / 1.196 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/2.321, allocations: 9.891 kB / 1.196 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001033/2.322, allocations: 158.4 kB / 1.196 GB, free: 133.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/2.322, allocations: 0 / 1.196 GB, free: 133.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001479/2.323, allocations: 383.7 kB / 1.196 GB, free: 133.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 10 * 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.001602/2.325, allocations: 0.7132 MB / 1.197 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004523/2.325, allocations: 285.9 kB / 1.197 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/2.325, allocations: 0 / 1.197 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/2.325, allocations: 150.8 kB / 1.197 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/2.326, allocations: 34.94 kB / 1.197 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1044/2.43, allocations: 74.33 MB / 1.27 GB, free: 90.54 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/2.43, allocations: 0.7569 MB / 1.271 GB, free: 89.76 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004413/2.431, allocations: 202.9 kB / 1.271 GB, free: 89.57 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.62e-05/2.431, allocations: 31.42 kB / 1.271 GB, free: 89.54 MB / 0.5261 GB Notification: Performance of SimCode: time 1.362e-06/2.431, allocations: 0 / 1.271 GB, free: 89.54 MB / 0.5261 GB Notification: Performance of Templates: time 0.01671/2.447, allocations: 10.24 MB / 1.281 GB, free: 79.43 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.csv","../files/ModelicaTest_trunk_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.preferredMediumStates,medium.standardOrderComponents,p,s,s_is,state.T,state.d,state.h,state.p,time,u