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.001233/0.001233, allocations: 200.7 kB / 18.1 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 226.5 MB / 245.4 MB, free: 6.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008033/0.0008033, allocations: 98.23 kB / 297.5 MB, free: 6.664 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000257/0.0002572, allocations: 12 kB / 358.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2397, allocations: 51.3 MB / 409.4 MB, free: 27.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.96/11.2, allocations: 5.752 GB / 6.151 GB, free: 164.4 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001843/11.2, allocations: 74.73 kB / 6.151 GB, free: 164.4 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.016/19.22, allocations: 2.991 GB / 9.142 GB, free: 118.6 MB / 0.6828 GB Notification: Performance of FrontEnd: time 1.843e-06/19.22, allocations: 0 / 9.142 GB, free: 118.6 MB / 0.6828 GB Notification: Performance of Transformations before backend: time 2.467e-05/19.22, allocations: 17.86 kB / 9.142 GB, free: 118.6 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.0395/19.26, allocations: 2.227 MB / 9.145 GB, free: 117.7 MB / 0.6828 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/19.26, allocations: 9.375 kB / 9.145 GB, free: 117.7 MB / 0.6828 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006769/19.26, allocations: 93.73 kB / 9.145 GB, free: 117.7 MB / 0.6828 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004562/19.26, allocations: 378.7 kB / 9.145 GB, free: 117.5 MB / 0.6828 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/19.26, allocations: 39.31 kB / 9.145 GB, free: 117.5 MB / 0.6828 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.957e-05/19.26, allocations: 49.03 kB / 9.145 GB, free: 117.4 MB / 0.6828 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/19.26, allocations: 0.6184 MB / 9.146 GB, free: 117.3 MB / 0.6828 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/19.26, allocations: 9.672 kB / 9.146 GB, free: 117.3 MB / 0.6828 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.467e-05/19.26, allocations: 20.19 kB / 9.146 GB, free: 117.3 MB / 0.6828 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/19.26, allocations: 12.94 kB / 9.146 GB, free: 117.3 MB / 0.6828 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000784/19.26, allocations: 0.5213 MB / 9.146 GB, free: 117.3 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.005283/19.26, allocations: 6.073 MB / 9.152 GB, free: 114.7 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007809/19.27, allocations: 434.4 kB / 9.153 GB, free: 114.7 MB / 0.6828 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002512/19.27, allocations: 206.2 kB / 9.153 GB, free: 114.7 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002826/19.27, allocations: 2.827 MB / 9.156 GB, free: 112.2 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/19.27, allocations: 40.8 kB / 9.156 GB, free: 112.2 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=46): time 2.525e-06/19.27, allocations: 4 kB / 9.156 GB, free: 112.2 MB / 0.6828 GB Notification: Performance of matching and sorting (n=54): time 0.00898/19.28, allocations: 2.01 MB / 9.158 GB, free: 111.7 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/19.28, allocations: 61.56 kB / 9.158 GB, free: 111.6 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/19.28, allocations: 302.6 kB / 9.158 GB, free: 111.5 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 3.398e-05/19.28, allocations: 36.64 kB / 9.158 GB, free: 111.5 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 8.873e-05/19.28, allocations: 237.7 kB / 9.158 GB, free: 111.4 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 8.901e-05/19.28, allocations: 191.1 kB / 9.158 GB, free: 111.3 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.327e-05/19.28, allocations: 13.66 kB / 9.158 GB, free: 111.3 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 6.35e-05/19.28, allocations: 350.5 kB / 9.159 GB, free: 111 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002744/19.28, allocations: 174.1 kB / 9.159 GB, free: 111 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002933/19.28, allocations: 331.6 kB / 9.159 GB, free: 110.8 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005923/19.28, allocations: 0.5365 MB / 9.16 GB, free: 110.6 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/19.28, allocations: 1.844 kB / 9.16 GB, free: 110.6 MB / 0.6828 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001067/19.28, allocations: 0.6725 MB / 9.16 GB, free: 110.5 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/19.28, allocations: 7.125 kB / 9.16 GB, free: 110.5 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/19.28, allocations: 7.375 kB / 9.16 GB, free: 110.5 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01208/19.29, allocations: 0.5536 MB / 9.161 GB, free: 110.5 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005036/19.29, allocations: 142.1 kB / 9.161 GB, free: 110.5 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/19.29, allocations: 2.997 MB / 9.164 GB, free: 107.6 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003741/19.29, allocations: 45.28 kB / 9.164 GB, free: 107.6 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.483e-05/19.29, allocations: 35.34 kB / 9.164 GB, free: 107.6 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.0002236/19.3, allocations: 189.5 kB / 9.164 GB, free: 107.5 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.121e-05/19.3, allocations: 41.53 kB / 9.164 GB, free: 107.5 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/19.3, allocations: 1.058 MB / 9.165 GB, free: 107.4 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/19.3, allocations: 15.89 kB / 9.165 GB, free: 107.4 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/19.3, allocations: 3.844 kB / 9.165 GB, free: 107.4 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008972/19.3, allocations: 1.094 MB / 9.166 GB, free: 107 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/19.3, allocations: 1.721 MB / 9.168 GB, free: 106.6 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/19.3, allocations: 1.25 kB / 9.168 GB, free: 106.6 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003483/19.3, allocations: 101.5 kB / 9.168 GB, free: 106.6 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003242/19.3, allocations: 394.9 kB / 9.169 GB, free: 106.6 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.944e-05/19.3, allocations: 15.53 kB / 9.169 GB, free: 106.6 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000432/19.3, allocations: 1.147 MB / 9.17 GB, free: 105.5 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/19.3, allocations: 0 / 9.17 GB, free: 105.5 MB / 0.6828 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/19.3, allocations: 1.122 MB / 9.171 GB, free: 105.3 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 9.632e-05/19.3, allocations: 143.9 kB / 9.171 GB, free: 105.2 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.553e-05/19.3, allocations: 15.34 kB / 9.171 GB, free: 105.2 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002776/19.3, allocations: 31.69 kB / 9.171 GB, free: 105.2 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-05/19.3, allocations: 36.11 kB / 9.171 GB, free: 105.2 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.393e-05/19.31, allocations: 21.19 kB / 9.171 GB, free: 105.2 MB / 0.6828 GB Notification: Performance of sorting global known variables: time 0.0002121/19.31, allocations: 247.3 kB / 9.171 GB, free: 105.1 MB / 0.6828 GB Notification: Performance of sort global known variables: time 2.2e-07/19.31, allocations: 4 kB / 9.171 GB, free: 105.1 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.0169/19.32, allocations: 1.123 MB / 9.172 GB, free: 104.9 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.1663/19.49, allocations: 23.7 MB / 9.195 GB, free: 92.88 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.0015/19.49, allocations: 0.698 MB / 9.196 GB, free: 92.75 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/19.49, allocations: 1.125 kB / 9.196 GB, free: 92.75 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.0005754/19.49, allocations: 368.3 kB / 9.197 GB, free: 92.73 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00161/19.49, allocations: 256.9 kB / 9.197 GB, free: 92.71 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002567/19.49, allocations: 1.609 MB / 9.198 GB, free: 91.9 MB / 0.6828 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/19.5, allocations: 0.8651 MB / 9.199 GB, free: 91.19 MB / 0.6828 GB Notification: Performance of simCode: alias equations: time 0.00054/19.5, allocations: 230.9 kB / 9.199 GB, free: 91.17 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/19.5, allocations: 51.25 kB / 9.199 GB, free: 91.16 MB / 0.6828 GB Notification: Performance of SimCode: time 3e-07/19.5, allocations: 0 / 9.199 GB, free: 91.16 MB / 0.6828 GB Notification: Performance of Templates: time 0.05154/19.55, allocations: 42.78 MB / 9.241 GB, free: 86.49 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/jenkins1/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