Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.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) 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(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_trunk_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_trunk_Modelica.Media.Examples.R134a.R134a2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001152/0.001152, allocations: 198.5 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.26/1.26, allocations: 227.2 MB / 245 MB, free: 5.855 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009871/0.0009871, allocations: 99.02 kB / 297.3 MB, free: 5.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002405/0.0002406, allocations: 4 kB / 357.9 MB, free: 9.332 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2354, allocations: 51.49 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.91/11.15, allocations: 5.751 GB / 6.151 GB, free: 113.5 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001596/11.15, allocations: 74.94 kB / 6.151 GB, free: 113.5 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.487/20.64, allocations: 3.748 GB / 9.899 GB, free: 42.58 MB / 0.6828 GB Notification: Performance of FrontEnd: time 1.823e-06/20.64, allocations: 3.984 kB / 9.899 GB, free: 42.58 MB / 0.6828 GB Notification: Performance of Transformations before backend: time 3.063e-05/20.64, allocations: 8 kB / 9.899 GB, free: 42.57 MB / 0.6828 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.04281/20.68, allocations: 2.231 MB / 9.901 GB, free: 40.64 MB / 0.6828 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/20.68, allocations: 8.031 kB / 9.901 GB, free: 40.64 MB / 0.6828 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007372/20.68, allocations: 99.53 kB / 9.902 GB, free: 40.54 MB / 0.6828 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005171/20.68, allocations: 372.4 kB / 9.902 GB, free: 40.22 MB / 0.6828 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/20.68, allocations: 40.31 kB / 9.902 GB, free: 40.2 MB / 0.6828 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.015e-05/20.68, allocations: 47.56 kB / 9.902 GB, free: 40.16 MB / 0.6828 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/20.68, allocations: 0.6134 MB / 9.903 GB, free: 39.68 MB / 0.6828 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/20.68, allocations: 0 / 9.903 GB, free: 39.68 MB / 0.6828 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.008e-05/20.68, allocations: 25.44 kB / 9.903 GB, free: 39.67 MB / 0.6828 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/20.68, allocations: 12 kB / 9.903 GB, free: 39.66 MB / 0.6828 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008293/20.68, allocations: 0.5228 MB / 9.903 GB, free: 39.29 MB / 0.6828 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.00594/20.69, allocations: 6.084 MB / 9.909 GB, free: 33.48 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007831/20.69, allocations: 425.2 kB / 9.909 GB, free: 33.2 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002851/20.69, allocations: 2.832 MB / 9.912 GB, free: 29.99 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/20.69, allocations: 34.5 kB / 9.912 GB, free: 29.95 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=46): time 2.895e-06/20.69, allocations: 4 kB / 9.912 GB, free: 29.95 MB / 0.6828 GB Notification: Performance of matching and sorting (n=54): time 0.00771/20.7, allocations: 2.025 MB / 9.914 GB, free: 28.33 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.212e-05/20.7, allocations: 55.84 kB / 9.914 GB, free: 28.27 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/20.7, allocations: 274.6 kB / 9.915 GB, free: 28.04 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/20.7, allocations: 36.64 kB / 9.915 GB, free: 28.01 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 9.028e-05/20.7, allocations: 228.9 kB / 9.915 GB, free: 27.84 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 9.705e-05/20.7, allocations: 195 kB / 9.915 GB, free: 27.7 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.462e-05/20.7, allocations: 14.12 kB / 9.915 GB, free: 27.7 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 6.435e-05/20.7, allocations: 356.4 kB / 9.915 GB, free: 27.36 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002349/20.7, allocations: 172.2 kB / 9.916 GB, free: 27.26 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/20.7, allocations: 333.9 kB / 9.916 GB, free: 26.95 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/20.7, allocations: 227.2 kB / 9.916 GB, free: 26.83 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/20.7, allocations: 0 / 9.916 GB, free: 26.83 MB / 0.6828 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009524/20.7, allocations: 0.6718 MB / 9.917 GB, free: 26.34 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/20.7, allocations: 8 kB / 9.917 GB, free: 26.33 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/20.7, allocations: 4 kB / 9.917 GB, free: 26.33 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01321/20.72, allocations: 0.5514 MB / 9.917 GB, free: 25.83 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005043/20.72, allocations: 145.2 kB / 9.917 GB, free: 25.7 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/20.72, allocations: 2.994 MB / 9.92 GB, free: 22.61 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003731/20.72, allocations: 45.39 kB / 9.92 GB, free: 22.58 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.074e-05/20.72, allocations: 33.39 kB / 9.92 GB, free: 22.55 MB / 0.6828 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.0002046/20.72, allocations: 185.2 kB / 9.921 GB, free: 22.4 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.92e-05/20.72, allocations: 43.53 kB / 9.921 GB, free: 22.36 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/20.72, allocations: 1.059 MB / 9.922 GB, free: 21.65 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/20.72, allocations: 18.7 kB / 9.922 GB, free: 21.64 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/20.72, allocations: 3.312 kB / 9.922 GB, free: 21.64 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008635/20.72, allocations: 1.089 MB / 9.923 GB, free: 20.77 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001564/20.72, allocations: 1.733 MB / 9.924 GB, free: 19 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/20.72, allocations: 0 / 9.924 GB, free: 19 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003458/20.72, allocations: 99.89 kB / 9.925 GB, free: 18.91 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003353/20.73, allocations: 396.9 kB / 9.925 GB, free: 18.51 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.507e-05/20.73, allocations: 15.98 kB / 9.925 GB, free: 18.5 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000397/20.73, allocations: 1.144 MB / 9.926 GB, free: 17.3 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/20.73, allocations: 0 / 9.926 GB, free: 17.3 MB / 0.6828 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/20.73, allocations: 1.127 MB / 9.927 GB, free: 16.15 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/20.73, allocations: 140.4 kB / 9.927 GB, free: 16 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.478e-05/20.73, allocations: 11.94 kB / 9.927 GB, free: 15.98 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003141/20.73, allocations: 39.97 kB / 9.927 GB, free: 15.95 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.416e-05/20.73, allocations: 32.52 kB / 9.927 GB, free: 15.92 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.403e-05/20.73, allocations: 19.98 kB / 9.927 GB, free: 15.9 MB / 0.6828 GB Notification: Performance of sorting global known variables: time 0.0002122/20.73, allocations: 247 kB / 9.928 GB, free: 15.65 MB / 0.6828 GB Notification: Performance of sort global known variables: time 1.11e-07/20.73, allocations: 0 / 9.928 GB, free: 15.65 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.01382/20.74, allocations: 1.135 MB / 9.929 GB, free: 14.59 MB / 0.6828 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.4371/21.18, allocations: 23.67 MB / 9.952 GB, free: 113.6 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.001342/21.18, allocations: 0.7034 MB / 9.953 GB, free: 113.5 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/21.18, allocations: 0 / 9.953 GB, free: 113.5 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.0004931/21.18, allocations: 360.4 kB / 9.953 GB, free: 113.5 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/21.18, allocations: 253.7 kB / 9.953 GB, free: 113.5 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/21.18, allocations: 1.601 MB / 9.955 GB, free: 112.8 MB / 0.6828 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/21.18, allocations: 0.8796 MB / 9.956 GB, free: 112.1 MB / 0.6828 GB Notification: Performance of simCode: alias equations: time 0.0005422/21.19, allocations: 236.2 kB / 9.956 GB, free: 112.1 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/21.19, allocations: 48.61 kB / 9.956 GB, free: 112.1 MB / 0.6828 GB Notification: Performance of SimCode: time 9.72e-07/21.19, allocations: 0 / 9.956 GB, free: 112.1 MB / 0.6828 GB Notification: Performance of Templates: time 0.04892/21.23, allocations: 41.74 MB / 9.997 GB, free: 109.8 MB / 0.6828 GB make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_trunk_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches