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.00152/0.00152, allocations: 201.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 226.5 MB / 245.4 MB, free: 6.543 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008612/0.0008617, allocations: 101 kB / 297.5 MB, free: 6.723 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4219/0.4219, allocations: 44.82 MB / 394.3 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003626, allocations: 8 kB / 467.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4797/0.4801, allocations: 62.97 MB / 0.5184 GB, free: 37.58 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.375/1.855, allocations: 0.5463 GB / 1.065 GB, free: 59.41 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/1.855, allocations: 89.64 kB / 1.065 GB, free: 59.33 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.5615/2.417, allocations: 106.4 MB / 1.169 GB, free: 173.6 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.967e-06/2.417, allocations: 3.938 kB / 1.169 GB, free: 173.6 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.478e-05/2.417, allocations: 3.969 kB / 1.169 GB, free: 173.6 MB / 0.5417 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.004522/2.422, allocations: 1.016 MB / 1.17 GB, free: 172.9 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.106e-05/2.422, allocations: 11.53 kB / 1.17 GB, free: 172.9 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007488/2.422, allocations: 81.39 kB / 1.17 GB, free: 172.8 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004031/2.423, allocations: 247.6 kB / 1.17 GB, free: 172.6 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.453e-05/2.423, allocations: 20.72 kB / 1.17 GB, free: 172.6 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.75e-05/2.423, allocations: 27.94 kB / 1.17 GB, free: 172.6 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/2.424, allocations: 483.6 kB / 1.171 GB, free: 172.4 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/2.424, allocations: 192 / 1.171 GB, free: 172.4 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.521e-05/2.424, allocations: 15.84 kB / 1.171 GB, free: 172.4 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/2.424, allocations: 7.719 kB / 1.171 GB, free: 172.4 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/2.425, allocations: 0.6757 MB / 1.171 GB, free: 172.2 MB / 0.5417 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.008223/2.433, allocations: 4.118 MB / 1.175 GB, free: 170.2 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006502/2.434, allocations: 225.9 kB / 1.175 GB, free: 170.1 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/2.434, allocations: 70.42 kB / 1.176 GB, free: 170.1 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08164/2.516, allocations: 42.49 MB / 1.217 GB, free: 130.8 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006076/2.517, allocations: 242.9 kB / 1.217 GB, free: 130.5 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=20): time 3.757e-06/2.517, allocations: 0 / 1.217 GB, free: 130.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=22): time 0.002596/2.519, allocations: 0.7299 MB / 1.218 GB, free: 129.8 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/2.519, allocations: 270 kB / 1.218 GB, free: 129.5 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/2.52, allocations: 206.9 kB / 1.218 GB, free: 129.2 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/2.52, allocations: 29.7 kB / 1.218 GB, free: 129.2 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.79e-05/2.52, allocations: 207.3 kB / 1.219 GB, free: 129 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.478e-05/2.52, allocations: 86.83 kB / 1.219 GB, free: 128.9 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.352e-05/2.52, allocations: 4 kB / 1.219 GB, free: 128.9 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.243e-05/2.52, allocations: 330.8 kB / 1.219 GB, free: 128.6 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/2.52, allocations: 66.95 kB / 1.219 GB, free: 128.5 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/2.52, allocations: 338.9 kB / 1.219 GB, free: 128.1 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004111/2.521, allocations: 473.1 kB / 1.22 GB, free: 127.5 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/2.521, allocations: 0 / 1.22 GB, free: 127.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006565/2.521, allocations: 440.9 kB / 1.22 GB, free: 127 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/2.521, allocations: 8 kB / 1.22 GB, free: 127 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/2.521, allocations: 15.94 kB / 1.22 GB, free: 127 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001707/2.523, allocations: 301.8 kB / 1.221 GB, free: 126.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002851/2.523, allocations: 95.83 kB / 1.221 GB, free: 126.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005381/2.524, allocations: 1.227 MB / 1.222 GB, free: 125.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002977/2.524, allocations: 23.91 kB / 1.222 GB, free: 125.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.877e-05/2.524, allocations: 28 kB / 1.222 GB, free: 125.3 MB / 0.5417 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.0001701/2.524, allocations: 161.6 kB / 1.222 GB, free: 125.1 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.91e-05/2.525, allocations: 19.81 kB / 1.222 GB, free: 125.1 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009215/2.525, allocations: 0.7951 MB / 1.223 GB, free: 124.3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/2.526, allocations: 12.27 kB / 1.223 GB, free: 124.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/2.526, allocations: 19.94 kB / 1.223 GB, free: 124.2 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/2.526, allocations: 4 kB / 1.223 GB, free: 124.2 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000629/2.526, allocations: 0.4929 MB / 1.223 GB, free: 123.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/2.526, allocations: 0 / 1.223 GB, free: 123.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/2.526, allocations: 31.97 kB / 1.223 GB, free: 123.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001056/2.527, allocations: 237.3 kB / 1.224 GB, free: 123.4 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.513e-05/2.527, allocations: 11.98 kB / 1.224 GB, free: 123.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005172/2.528, allocations: 1.266 MB / 1.225 GB, free: 122.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/2.528, allocations: 4 kB / 1.225 GB, free: 122.1 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005478/2.529, allocations: 458.9 kB / 1.225 GB, free: 121.6 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002078/2.529, allocations: 220.1 kB / 1.226 GB, free: 121.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.351e-05/2.529, allocations: 11.97 kB / 1.226 GB, free: 121.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/2.529, allocations: 16 kB / 1.226 GB, free: 121.3 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/2.529, allocations: 19.92 kB / 1.226 GB, free: 121.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/2.529, allocations: 11.98 kB / 1.226 GB, free: 121.3 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003192/2.529, allocations: 294.9 kB / 1.226 GB, free: 121 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1e-07/2.529, allocations: 0 / 1.226 GB, free: 121 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002401/2.532, allocations: 411.5 kB / 1.226 GB, free: 120.6 MB / 0.5417 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.003483/2.535, allocations: 0.7082 MB / 1.227 GB, free: 119.9 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000743/2.536, allocations: 322.1 kB / 1.227 GB, free: 119.6 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/2.536, allocations: 5.562 kB / 1.227 GB, free: 119.6 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002387/2.536, allocations: 185.7 kB / 1.228 GB, free: 119.4 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007753/2.537, allocations: 77.03 kB / 1.228 GB, free: 119.3 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.336/5.874, allocations: 1.184 GB / 2.411 GB, free: 129.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/5.874, allocations: 0.815 MB / 2.412 GB, free: 128.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004327/5.874, allocations: 122.9 kB / 2.412 GB, free: 128.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.576e-05/5.874, allocations: 35.42 kB / 2.412 GB, free: 128.5 MB / 0.5417 GB Notification: Performance of SimCode: time 6.41e-07/5.874, allocations: 0 / 2.412 GB, free: 128.5 MB / 0.5417 GB Notification: Performance of Templates: time 0.01783/5.892, allocations: 12.92 MB / 2.425 GB, free: 115.8 MB / 0.5417 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/jenkins1/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