Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 180.5 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 223.2 MB / 240.3 MB, free: 10.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008611/0.0008611, allocations: 99.19 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002699/0.0002702, allocations: 7.938 kB / 351.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2969, allocations: 50.41 MB / 401.5 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.59/11.89, allocations: 5.751 GB / 6.143 GB, free: 147.3 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/11.89, allocations: 75.95 kB / 6.143 GB, free: 147.3 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.973/21.87, allocations: 3.738 GB / 9.881 GB, free: 49.75 MB / 0.6671 GB Notification: Performance of FrontEnd: time 1.643e-06/21.87, allocations: 0 / 9.881 GB, free: 49.75 MB / 0.6671 GB Notification: Performance of Transformations before backend: time 2.167e-05/21.87, allocations: 12 kB / 9.881 GB, free: 49.74 MB / 0.6671 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.0458/21.91, allocations: 2.223 MB / 9.883 GB, free: 47.83 MB / 0.6671 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/21.91, allocations: 8.031 kB / 9.883 GB, free: 47.82 MB / 0.6671 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007019/21.91, allocations: 102 kB / 9.883 GB, free: 47.73 MB / 0.6671 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004506/21.91, allocations: 375.9 kB / 9.883 GB, free: 47.41 MB / 0.6671 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/21.91, allocations: 36.42 kB / 9.884 GB, free: 47.38 MB / 0.6671 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.927e-05/21.91, allocations: 44.5 kB / 9.884 GB, free: 47.36 MB / 0.6671 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009892/21.91, allocations: 0.6147 MB / 9.884 GB, free: 46.87 MB / 0.6671 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/21.91, allocations: 0 / 9.884 GB, free: 46.87 MB / 0.6671 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.679e-05/21.91, allocations: 23 kB / 9.884 GB, free: 46.86 MB / 0.6671 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/21.91, allocations: 13.41 kB / 9.884 GB, free: 46.85 MB / 0.6671 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008095/21.91, allocations: 0.5245 MB / 9.885 GB, free: 46.48 MB / 0.6671 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.005958/21.92, allocations: 6.088 MB / 9.891 GB, free: 40.68 MB / 0.6671 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000789/21.92, allocations: 423.2 kB / 9.891 GB, free: 40.4 MB / 0.6671 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002887/21.92, allocations: 2.827 MB / 9.894 GB, free: 37.19 MB / 0.6671 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/21.92, allocations: 42.44 kB / 9.894 GB, free: 37.14 MB / 0.6671 GB Notification: Performance of pre-optimization done (n=46): time 3.327e-06/21.92, allocations: 0 / 9.894 GB, free: 37.14 MB / 0.6671 GB Notification: Performance of matching and sorting (n=54): time 0.007902/21.93, allocations: 2.026 MB / 9.896 GB, free: 35.53 MB / 0.6671 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.417e-05/21.93, allocations: 63.83 kB / 9.896 GB, free: 35.45 MB / 0.6671 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/21.93, allocations: 269.8 kB / 9.896 GB, free: 35.23 MB / 0.6671 GB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/21.93, allocations: 36.52 kB / 9.896 GB, free: 35.2 MB / 0.6671 GB Notification: Performance of collectInitialEqns (initialization): time 9.588e-05/21.93, allocations: 238 kB / 9.896 GB, free: 35.02 MB / 0.6671 GB Notification: Performance of collectInitialBindings (initialization): time 9.577e-05/21.93, allocations: 191.5 kB / 9.897 GB, free: 34.88 MB / 0.6671 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-05/21.93, allocations: 7 kB / 9.897 GB, free: 34.88 MB / 0.6671 GB Notification: Performance of setup shared object (initialization): time 6.135e-05/21.93, allocations: 352.8 kB / 9.897 GB, free: 34.55 MB / 0.6671 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002376/21.93, allocations: 178.8 kB / 9.897 GB, free: 34.44 MB / 0.6671 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002801/21.93, allocations: 319 kB / 9.897 GB, free: 34.15 MB / 0.6671 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/21.93, allocations: 230.4 kB / 9.898 GB, free: 34.02 MB / 0.6671 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/21.93, allocations: 4 kB / 9.898 GB, free: 34.02 MB / 0.6671 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001019/21.93, allocations: 0.6658 MB / 9.898 GB, free: 33.54 MB / 0.6671 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/21.93, allocations: 8 kB / 9.898 GB, free: 33.53 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/21.93, allocations: 4 kB / 9.898 GB, free: 33.52 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01341/21.95, allocations: 0.5605 MB / 9.899 GB, free: 33.02 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005588/21.95, allocations: 143.9 kB / 9.899 GB, free: 32.89 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/21.95, allocations: 3.003 MB / 9.902 GB, free: 29.8 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005115/21.95, allocations: 47.91 kB / 9.902 GB, free: 29.77 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.723e-05/21.95, allocations: 30.12 kB / 9.902 GB, free: 29.74 MB / 0.6671 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,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 (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002759/21.95, allocations: 191.3 kB / 9.902 GB, free: 29.59 MB / 0.6671 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.038e-05/21.95, allocations: 43.52 kB / 9.902 GB, free: 29.55 MB / 0.6671 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/21.95, allocations: 1.061 MB / 9.903 GB, free: 28.84 MB / 0.6671 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/21.95, allocations: 7.984 kB / 9.903 GB, free: 28.83 MB / 0.6671 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/21.95, allocations: 0 / 9.903 GB, free: 28.83 MB / 0.6671 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008423/21.95, allocations: 1.097 MB / 9.904 GB, free: 27.96 MB / 0.6671 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00184/21.95, allocations: 1.715 MB / 9.906 GB, free: 26.77 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/21.95, allocations: 0 / 9.906 GB, free: 26.77 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003552/21.96, allocations: 109.8 kB / 9.906 GB, free: 26.67 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00347/21.96, allocations: 398.6 kB / 9.906 GB, free: 26.32 MB / 0.6671 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.591e-05/21.96, allocations: 13 kB / 9.907 GB, free: 26.32 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003955/21.96, allocations: 1.149 MB / 9.908 GB, free: 25.18 MB / 0.6671 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/21.96, allocations: 3.938 kB / 9.908 GB, free: 25.18 MB / 0.6671 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/21.96, allocations: 1.13 MB / 9.909 GB, free: 24.41 MB / 0.6671 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/21.96, allocations: 140.1 kB / 9.909 GB, free: 24.26 MB / 0.6671 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.653e-05/21.96, allocations: 19.12 kB / 9.909 GB, free: 24.25 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002901/21.96, allocations: 25.7 kB / 9.909 GB, free: 24.24 MB / 0.6671 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/21.96, allocations: 40.38 kB / 9.909 GB, free: 24.2 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-05/21.96, allocations: 23.92 kB / 9.909 GB, free: 24.18 MB / 0.6671 GB Notification: Performance of sorting global known variables: time 0.0002027/21.96, allocations: 252.6 kB / 9.909 GB, free: 23.98 MB / 0.6671 GB Notification: Performance of sort global known variables: time 1.3e-07/21.96, allocations: 0 / 9.909 GB, free: 23.98 MB / 0.6671 GB Notification: Performance of remove unused functions: time 0.01438/21.98, allocations: 1.11 MB / 9.91 GB, free: 23.03 MB / 0.6671 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse5.phase,$cse6,$cse7.phase,$cse8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.1378/22.11, allocations: 23.68 MB / 9.933 GB, free: 15.81 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.00147/22.11, allocations: 0.6898 MB / 9.934 GB, free: 15.29 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/22.11, allocations: 1.125 kB / 9.934 GB, free: 15.29 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.0005605/22.12, allocations: 371.5 kB / 9.934 GB, free: 15.05 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/22.12, allocations: 257.5 kB / 9.935 GB, free: 14.85 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/22.12, allocations: 1.596 MB / 9.936 GB, free: 13.41 MB / 0.6828 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/22.12, allocations: 0.8839 MB / 9.937 GB, free: 12.5 MB / 0.6828 GB Notification: Performance of simCode: alias equations: time 0.0005257/22.12, allocations: 229.3 kB / 9.937 GB, free: 12.28 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/22.12, allocations: 50.23 kB / 9.937 GB, free: 12.23 MB / 0.6828 GB Notification: Performance of SimCode: time 5.11e-07/22.12, allocations: 7.938 kB / 9.937 GB, free: 12.22 MB / 0.6828 GB Notification: Performance of Templates: time 0.3811/22.5, allocations: 41.66 MB / 9.978 GB, free: 124.9 MB / 0.6828 GB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches