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.001745/0.001745, allocations: 198.1 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.707/1.707, allocations: 225.6 MB / 234.8 MB, free: 3.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001128/0.001128, allocations: 100 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.016e-05/2.006e-05, allocations: 0 / 343.7 MB, free: 8.258 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1438, allocations: 51.48 MB / 395.2 MB, free: 4.738 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.19/16.34, allocations: 5.751 GB / 6.137 GB, free: 124.5 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/16.34, allocations: 72.53 kB / 6.137 GB, free: 124.5 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 12.43/28.77, allocations: 3.703 GB / 9.839 GB, free: 62.86 MB / 0.6671 GB Notification: Performance of FrontEnd: time 1.543e-06/28.77, allocations: 0 / 9.839 GB, free: 62.86 MB / 0.6671 GB Notification: Performance of Transformations before backend: time 3.03e-05/28.77, allocations: 8 kB / 9.839 GB, free: 62.85 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.05437/28.82, allocations: 2.204 MB / 9.841 GB, free: 60.99 MB / 0.6671 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/28.82, allocations: 8.031 kB / 9.841 GB, free: 60.98 MB / 0.6671 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007398/28.82, allocations: 97.75 kB / 9.842 GB, free: 60.89 MB / 0.6671 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004437/28.82, allocations: 367.9 kB / 9.842 GB, free: 60.59 MB / 0.6671 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/28.82, allocations: 20 kB / 9.842 GB, free: 60.57 MB / 0.6671 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.462e-05/28.82, allocations: 28 kB / 9.842 GB, free: 60.54 MB / 0.6671 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005823/28.82, allocations: 458.3 kB / 9.842 GB, free: 60.25 MB / 0.6671 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006078/28.82, allocations: 0.5104 MB / 9.843 GB, free: 59.83 MB / 0.6671 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/28.82, allocations: 0 / 9.843 GB, free: 59.83 MB / 0.6671 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.964e-05/28.82, allocations: 4 kB / 9.843 GB, free: 59.82 MB / 0.6671 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/28.82, allocations: 12 kB / 9.843 GB, free: 59.81 MB / 0.6671 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.005421/28.83, allocations: 6.389 MB / 9.849 GB, free: 53.62 MB / 0.6671 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000463/28.83, allocations: 335.6 kB / 9.849 GB, free: 53.41 MB / 0.6671 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002093/28.83, allocations: 179.5 kB / 9.85 GB, free: 53.3 MB / 0.6671 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002401/28.83, allocations: 2.422 MB / 9.852 GB, free: 50.55 MB / 0.6671 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/28.83, allocations: 42.31 kB / 9.852 GB, free: 50.51 MB / 0.6671 GB Notification: Performance of pre-optimization done (n=44): time 2.294e-06/28.83, allocations: 0 / 9.852 GB, free: 50.51 MB / 0.6671 GB Notification: Performance of matching and sorting (n=52): time 0.01288/28.84, allocations: 2.278 MB / 9.854 GB, free: 48.7 MB / 0.6671 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/28.84, allocations: 59.83 kB / 9.854 GB, free: 48.62 MB / 0.6671 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/28.84, allocations: 249.8 kB / 9.855 GB, free: 48.42 MB / 0.6671 GB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/28.84, allocations: 25.7 kB / 9.855 GB, free: 48.39 MB / 0.6671 GB Notification: Performance of collectInitialEqns (initialization): time 9.18e-05/28.84, allocations: 245.3 kB / 9.855 GB, free: 48.21 MB / 0.6671 GB Notification: Performance of collectInitialBindings (initialization): time 9.196e-05/28.84, allocations: 175.7 kB / 9.855 GB, free: 48.08 MB / 0.6671 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.191e-05/28.84, allocations: 0 / 9.855 GB, free: 48.08 MB / 0.6671 GB Notification: Performance of setup shared object (initialization): time 6.529e-05/28.84, allocations: 344.7 kB / 9.855 GB, free: 47.75 MB / 0.6671 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/28.85, allocations: 161.1 kB / 9.856 GB, free: 47.66 MB / 0.6671 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/28.85, allocations: 312.4 kB / 9.856 GB, free: 47.37 MB / 0.6671 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003643/28.85, allocations: 0.5367 MB / 9.856 GB, free: 46.98 MB / 0.6671 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/28.85, allocations: 4 kB / 9.856 GB, free: 46.98 MB / 0.6671 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.004281/28.85, allocations: 0.9235 MB / 9.857 GB, free: 46.27 MB / 0.6671 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/28.85, allocations: 8.781 kB / 9.857 GB, free: 46.26 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/28.85, allocations: 4.562 kB / 9.857 GB, free: 46.25 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003136/28.85, allocations: 96.89 kB / 9.857 GB, free: 46.17 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005163/28.85, allocations: 142.4 kB / 9.857 GB, free: 46.04 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003529/28.86, allocations: 3.143 MB / 9.861 GB, free: 42.88 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004059/28.86, allocations: 33.95 kB / 9.861 GB, free: 42.84 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.322e-05/28.86, allocations: 32.67 kB / 9.861 GB, free: 42.82 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 () * 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.0001266/28.86, allocations: 119 kB / 9.861 GB, free: 42.7 MB / 0.6671 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.614e-05/28.86, allocations: 43.52 kB / 9.861 GB, free: 42.66 MB / 0.6671 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002004/28.86, allocations: 1.062 MB / 9.862 GB, free: 41.91 MB / 0.6671 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/28.86, allocations: 14.23 kB / 9.862 GB, free: 41.9 MB / 0.6671 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/28.86, allocations: 0 / 9.862 GB, free: 41.9 MB / 0.6671 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001626/28.86, allocations: 1.105 MB / 9.863 GB, free: 40.99 MB / 0.6671 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002388/28.86, allocations: 1.633 MB / 9.864 GB, free: 39.81 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/28.86, allocations: 4 kB / 9.864 GB, free: 39.8 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000339/28.86, allocations: 95.14 kB / 9.865 GB, free: 39.71 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003482/28.87, allocations: 121.6 kB / 9.865 GB, free: 39.61 MB / 0.6671 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.193e-05/28.87, allocations: 11.92 kB / 9.865 GB, free: 39.6 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005953/28.87, allocations: 1.211 MB / 9.866 GB, free: 38.43 MB / 0.6671 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/28.87, allocations: 2.719 kB / 9.866 GB, free: 38.43 MB / 0.6671 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/28.87, allocations: 1.176 MB / 9.867 GB, free: 37.56 MB / 0.6671 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/28.87, allocations: 119.7 kB / 9.867 GB, free: 37.43 MB / 0.6671 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.382e-05/28.87, allocations: 4 kB / 9.867 GB, free: 37.43 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003217/28.87, allocations: 17.95 kB / 9.867 GB, free: 37.41 MB / 0.6671 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.92e-05/28.87, allocations: 45.94 kB / 9.867 GB, free: 37.37 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.508e-05/28.87, allocations: 14.94 kB / 9.867 GB, free: 37.36 MB / 0.6671 GB Notification: Performance of sorting global known variables: time 0.0002117/28.87, allocations: 188.7 kB / 9.867 GB, free: 37.21 MB / 0.6671 GB Notification: Performance of sort global known variables: time 1.5e-07/28.87, allocations: 0 / 9.867 GB, free: 37.21 MB / 0.6671 GB Notification: Performance of remove unused functions: time 0.0199/28.89, allocations: 1.087 MB / 9.868 GB, free: 36.28 MB / 0.6671 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * 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.1554/29.04, allocations: 23.8 MB / 9.892 GB, free: 12.91 MB / 0.6671 GB Notification: Performance of simCode: created initialization part: time 0.001434/29.05, allocations: 0.646 MB / 9.892 GB, free: 12.43 MB / 0.6671 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/29.05, allocations: 5.125 kB / 9.892 GB, free: 12.43 MB / 0.6671 GB Notification: Performance of simCode: created simulation system equations: time 0.000456/29.05, allocations: 335.7 kB / 9.893 GB, free: 12.22 MB / 0.6671 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/29.05, allocations: 204.3 kB / 9.893 GB, free: 12.05 MB / 0.6671 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/29.05, allocations: 0.9947 MB / 9.894 GB, free: 11.19 MB / 0.6671 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/29.05, allocations: 0.8685 MB / 9.895 GB, free: 10.29 MB / 0.6671 GB Notification: Performance of simCode: alias equations: time 0.0005018/29.05, allocations: 283.5 kB / 9.895 GB, free: 10.02 MB / 0.6671 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.556e-05/29.05, allocations: 42.81 kB / 9.895 GB, free: 9.977 MB / 0.6671 GB Notification: Performance of SimCode: time 8.01e-07/29.05, allocations: 7.938 kB / 9.895 GB, free: 9.969 MB / 0.6671 GB Notification: Performance of Templates: time 0.5061/29.56, allocations: 35.97 MB / 9.93 GB, free: 131.7 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