Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.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) 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(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0012/0.0012, allocations: 181 kB / 17.01 MB, free: 5.125 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.619/1.619, allocations: 205.4 MB / 223.1 MB, free: 9.129 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.001041/0.001041, allocations: 92.11 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002705/0.0002705, allocations: 8 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3172, allocations: 47.57 MB / 375.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.77/14.08, allocations: 5.796 GB / 6.163 GB, free: 18.19 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/14.08, allocations: 74.56 kB / 6.163 GB, free: 18.12 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 11.5/25.58, allocations: 3.539 GB / 9.702 GB, free: 57.16 MB / 0.6203 GB Notification: Performance of FrontEnd: time 4.107e-06/25.58, allocations: 3.938 kB / 9.702 GB, free: 57.16 MB / 0.6203 GB Notification: Performance of Transformations before backend: time 6.03e-05/25.58, allocations: 8 kB / 9.702 GB, free: 57.15 MB / 0.6203 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.06314/25.64, allocations: 1.69 MB / 9.703 GB, free: 55.61 MB / 0.6203 GB Notification: Performance of prepare preOptimizeDAE: time 5.607e-05/25.64, allocations: 12.03 kB / 9.703 GB, free: 55.6 MB / 0.6203 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006218/25.64, allocations: 71.5 kB / 9.704 GB, free: 55.53 MB / 0.6203 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004439/25.65, allocations: 321.3 kB / 9.704 GB, free: 55.19 MB / 0.6203 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/25.65, allocations: 24.61 kB / 9.704 GB, free: 55.16 MB / 0.6203 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.453e-05/25.65, allocations: 32 kB / 9.704 GB, free: 55.13 MB / 0.6203 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007978/25.65, allocations: 463.7 kB / 9.704 GB, free: 54.64 MB / 0.6203 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/25.65, allocations: 0 / 9.704 GB, free: 54.64 MB / 0.6203 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.706e-05/25.65, allocations: 16 kB / 9.704 GB, free: 54.63 MB / 0.6203 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/25.65, allocations: 11.56 kB / 9.704 GB, free: 54.62 MB / 0.6203 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005803/25.65, allocations: 386.3 kB / 9.705 GB, free: 54.24 MB / 0.6203 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.005941/25.65, allocations: 5.227 MB / 9.71 GB, free: 48.77 MB / 0.6203 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006469/25.65, allocations: 290.1 kB / 9.71 GB, free: 48.48 MB / 0.6203 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002343/25.66, allocations: 2.055 MB / 9.712 GB, free: 46.07 MB / 0.6203 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.088e-05/25.66, allocations: 38.56 kB / 9.712 GB, free: 46.03 MB / 0.6203 GB Notification: Performance of pre-optimization done (n=30): time 4.629e-06/25.66, allocations: 0 / 9.712 GB, free: 46.03 MB / 0.6203 GB Notification: Performance of matching and sorting (n=34): time 0.005157/25.66, allocations: 1.282 MB / 9.713 GB, free: 44.68 MB / 0.6203 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/25.66, allocations: 55.41 kB / 9.713 GB, free: 44.62 MB / 0.6203 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/25.66, allocations: 233.7 kB / 9.714 GB, free: 44.39 MB / 0.6203 GB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/25.66, allocations: 33.7 kB / 9.714 GB, free: 44.35 MB / 0.6203 GB Notification: Performance of collectInitialEqns (initialization): time 9.363e-05/25.66, allocations: 190 kB / 9.714 GB, free: 44.17 MB / 0.6203 GB Notification: Performance of collectInitialBindings (initialization): time 7.364e-05/25.66, allocations: 122.2 kB / 9.714 GB, free: 44.07 MB / 0.6203 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.703e-05/25.66, allocations: 12 kB / 9.714 GB, free: 44.05 MB / 0.6203 GB Notification: Performance of setup shared object (initialization): time 9.467e-05/25.66, allocations: 342.8 kB / 9.714 GB, free: 43.71 MB / 0.6203 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/25.66, allocations: 104.8 kB / 9.714 GB, free: 43.61 MB / 0.6203 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002076/25.66, allocations: 234 kB / 9.715 GB, free: 43.33 MB / 0.6203 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/25.66, allocations: 147.9 kB / 9.715 GB, free: 43.19 MB / 0.6203 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/25.66, allocations: 0 / 9.715 GB, free: 43.19 MB / 0.6203 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007175/25.66, allocations: 458.8 kB / 9.715 GB, free: 42.73 MB / 0.6203 GB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/25.66, allocations: 4 kB / 9.715 GB, free: 42.72 MB / 0.6203 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/25.66, allocations: 7.953 kB / 9.715 GB, free: 42.71 MB / 0.6203 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007016/25.67, allocations: 289.3 kB / 9.716 GB, free: 42.43 MB / 0.6203 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003917/25.67, allocations: 84.11 kB / 9.716 GB, free: 42.34 MB / 0.6203 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/25.67, allocations: 1.854 MB / 9.717 GB, free: 40.33 MB / 0.6203 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003686/25.67, allocations: 32.88 kB / 9.717 GB, free: 40.3 MB / 0.6203 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.622e-05/25.67, allocations: 15.98 kB / 9.717 GB, free: 40.29 MB / 0.6203 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002278/25.67, allocations: 175.7 kB / 9.718 GB, free: 40.11 MB / 0.6203 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.255e-05/25.67, allocations: 31.62 kB / 9.718 GB, free: 40.08 MB / 0.6203 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009289/25.67, allocations: 0.6945 MB / 9.718 GB, free: 39.38 MB / 0.6203 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/25.67, allocations: 7.984 kB / 9.718 GB, free: 39.37 MB / 0.6203 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/25.67, allocations: 4 kB / 9.718 GB, free: 39.37 MB / 0.6203 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006419/25.67, allocations: 0.8554 MB / 9.719 GB, free: 38.42 MB / 0.6203 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/25.68, allocations: 1.186 MB / 9.72 GB, free: 37.18 MB / 0.6203 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/25.68, allocations: 0 / 9.72 GB, free: 37.18 MB / 0.6203 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/25.68, allocations: 67.89 kB / 9.72 GB, free: 37.11 MB / 0.6203 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001826/25.68, allocations: 196.5 kB / 9.721 GB, free: 36.92 MB / 0.6203 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.779e-05/25.68, allocations: 8 kB / 9.721 GB, free: 36.91 MB / 0.6203 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002769/25.68, allocations: 0.5835 MB / 9.721 GB, free: 36.3 MB / 0.6203 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/25.68, allocations: 4.062 kB / 9.721 GB, free: 36.3 MB / 0.6203 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008227/25.68, allocations: 0.7296 MB / 9.722 GB, free: 35.55 MB / 0.6203 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/25.68, allocations: 129.5 kB / 9.722 GB, free: 35.41 MB / 0.6203 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.299e-05/25.68, allocations: 8.156 kB / 9.722 GB, free: 35.4 MB / 0.6203 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/25.68, allocations: 24.97 kB / 9.722 GB, free: 35.38 MB / 0.6203 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/25.68, allocations: 19.92 kB / 9.722 GB, free: 35.36 MB / 0.6203 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/25.68, allocations: 23.92 kB / 9.722 GB, free: 35.33 MB / 0.6203 GB Notification: Performance of sorting global known variables: time 0.0002024/25.68, allocations: 217.9 kB / 9.722 GB, free: 35.12 MB / 0.6203 GB Notification: Performance of sort global known variables: time 1.21e-07/25.68, allocations: 0 / 9.722 GB, free: 35.12 MB / 0.6203 GB Notification: Performance of remove unused functions: time 0.02036/25.7, allocations: 0.8622 MB / 9.723 GB, free: 34.31 MB / 0.6203 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.1512/25.85, allocations: 19.05 MB / 9.742 GB, free: 15.32 MB / 0.6203 GB Notification: Performance of simCode: created initialization part: time 0.001483/25.85, allocations: 486.7 kB / 9.742 GB, free: 14.84 MB / 0.6203 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/25.85, allocations: 3.938 kB / 9.742 GB, free: 14.83 MB / 0.6203 GB Notification: Performance of simCode: created simulation system equations: time 0.00056/25.85, allocations: 217.1 kB / 9.742 GB, free: 14.62 MB / 0.6203 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001741/25.85, allocations: 180.7 kB / 9.743 GB, free: 14.45 MB / 0.6203 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/25.86, allocations: 1.075 MB / 9.744 GB, free: 13.35 MB / 0.6203 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/25.86, allocations: 0.8207 MB / 9.744 GB, free: 12.5 MB / 0.6203 GB Notification: Performance of simCode: alias equations: time 0.0006964/25.86, allocations: 189.4 kB / 9.745 GB, free: 12.32 MB / 0.6203 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/25.86, allocations: 39.42 kB / 9.745 GB, free: 12.28 MB / 0.6203 GB Notification: Performance of SimCode: time 1.132e-06/25.86, allocations: 0 / 9.745 GB, free: 12.28 MB / 0.6203 GB Notification: Performance of Templates: time 0.4595/26.32, allocations: 32.95 MB / 9.777 GB, free: 137.7 MB / 0.6203 GB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches