Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Media.Examples.R134a.R134a2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002122/0.002122, allocations: 203 kB / 18.07 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.904/2.904, allocations: 226.5 MB / 245.3 MB, free: 8.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002187/0.002187, allocations: 96.33 kB / 297.4 MB, free: 6.891 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004489/0.0004498, allocations: 4 kB / 357.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6455/0.646, allocations: 51.3 MB / 408.7 MB, free: 27.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 25.31/25.95, allocations: 5.752 GB / 6.151 GB, free: 164 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003723/25.95, allocations: 67.66 kB / 6.151 GB, free: 164 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 20.39/46.34, allocations: 2.991 GB / 9.142 GB, free: 118.7 MB / 0.6828 GB Notification: Performance of FrontEnd: time 3.837e-06/46.34, allocations: 4 kB / 9.142 GB, free: 118.7 MB / 0.6828 GB Notification: Performance of Transformations before backend: time 4.534e-05/46.34, allocations: 9.297 kB / 9.142 GB, free: 118.7 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.09713/46.44, allocations: 2.224 MB / 9.144 GB, free: 117.8 MB / 0.6828 GB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/46.44, allocations: 7.656 kB / 9.144 GB, free: 117.8 MB / 0.6828 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/46.44, allocations: 96.72 kB / 9.144 GB, free: 117.7 MB / 0.6828 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008665/46.44, allocations: 377.8 kB / 9.144 GB, free: 117.5 MB / 0.6828 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.03e-05/46.44, allocations: 40.75 kB / 9.144 GB, free: 117.5 MB / 0.6828 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/46.44, allocations: 44.72 kB / 9.144 GB, free: 117.5 MB / 0.6828 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00209/46.44, allocations: 0.6237 MB / 9.145 GB, free: 117.4 MB / 0.6828 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.66e-05/46.44, allocations: 4.281 kB / 9.145 GB, free: 117.4 MB / 0.6828 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.701e-05/46.44, allocations: 21.75 kB / 9.145 GB, free: 117.4 MB / 0.6828 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.987e-05/46.44, allocations: 12.16 kB / 9.145 GB, free: 117.4 MB / 0.6828 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/46.44, allocations: 0.5219 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.01159/46.45, allocations: 6.077 MB / 9.151 GB, free: 114.8 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/46.46, allocations: 430.4 kB / 9.152 GB, free: 114.8 MB / 0.6828 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004629/46.46, allocations: 206.7 kB / 9.152 GB, free: 114.7 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004075/46.46, allocations: 2.823 MB / 9.155 GB, free: 112.3 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/46.46, allocations: 40.5 kB / 9.155 GB, free: 112.2 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=46): time 5.54e-06/46.46, allocations: 0 / 9.155 GB, free: 112.2 MB / 0.6828 GB Notification: Performance of matching and sorting (n=54): time 0.0199/46.48, allocations: 2.026 MB / 9.157 GB, free: 111.8 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/46.48, allocations: 59.25 kB / 9.157 GB, free: 111.7 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004896/46.48, allocations: 301.9 kB / 9.157 GB, free: 111.6 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 5.735e-05/46.48, allocations: 37.73 kB / 9.157 GB, free: 111.6 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/46.48, allocations: 239.5 kB / 9.157 GB, free: 111.4 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001809/46.48, allocations: 190.6 kB / 9.158 GB, free: 111.3 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/46.48, allocations: 12.72 kB / 9.158 GB, free: 111.3 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.0001141/46.48, allocations: 348.7 kB / 9.158 GB, free: 111 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003977/46.48, allocations: 178 kB / 9.158 GB, free: 111 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005149/46.48, allocations: 326.5 kB / 9.158 GB, free: 110.8 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/46.48, allocations: 0.5353 MB / 9.159 GB, free: 110.7 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/46.48, allocations: 7.219 kB / 9.159 GB, free: 110.7 MB / 0.6828 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001856/46.49, allocations: 0.6748 MB / 9.16 GB, free: 110.6 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/46.49, allocations: 11.12 kB / 9.16 GB, free: 110.6 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/46.49, allocations: 3.344 kB / 9.16 GB, free: 110.6 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02618/46.51, allocations: 0.5456 MB / 9.16 GB, free: 110.6 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/46.51, allocations: 143 kB / 9.16 GB, free: 110.6 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002467/46.52, allocations: 2.992 MB / 9.163 GB, free: 107.7 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009754/46.52, allocations: 49.61 kB / 9.163 GB, free: 107.7 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.293e-05/46.52, allocations: 27 kB / 9.163 GB, free: 107.7 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.0005359/46.52, allocations: 189.3 kB / 9.164 GB, free: 107.5 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/46.52, allocations: 42.59 kB / 9.164 GB, free: 107.5 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002338/46.52, allocations: 1.061 MB / 9.165 GB, free: 107.4 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.19e-05/46.52, allocations: 15.8 kB / 9.165 GB, free: 107.4 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/46.52, allocations: 2.938 kB / 9.165 GB, free: 107.4 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001675/46.52, allocations: 1.092 MB / 9.166 GB, free: 107 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003369/46.53, allocations: 1.722 MB / 9.167 GB, free: 106.7 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/46.53, allocations: 2.594 kB / 9.167 GB, free: 106.7 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000617/46.53, allocations: 100.2 kB / 9.167 GB, free: 106.7 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005539/46.53, allocations: 395.8 kB / 9.168 GB, free: 106.6 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.643e-05/46.53, allocations: 17.03 kB / 9.168 GB, free: 106.6 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007273/46.53, allocations: 1.153 MB / 9.169 GB, free: 105.6 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/46.53, allocations: 0 / 9.169 GB, free: 105.6 MB / 0.6828 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002392/46.53, allocations: 1.125 MB / 9.17 GB, free: 105.4 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003164/46.54, allocations: 142.8 kB / 9.17 GB, free: 105.3 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/46.54, allocations: 18.78 kB / 9.17 GB, free: 105.3 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000572/46.54, allocations: 27.2 kB / 9.17 GB, free: 105.3 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/46.54, allocations: 37.25 kB / 9.17 GB, free: 105.3 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.533e-05/46.54, allocations: 20.19 kB / 9.17 GB, free: 105.3 MB / 0.6828 GB Notification: Performance of sorting global known variables: time 0.0005089/46.54, allocations: 250.6 kB / 9.171 GB, free: 105.2 MB / 0.6828 GB Notification: Performance of sort global known variables: time 4.41e-07/46.54, allocations: 0 / 9.171 GB, free: 105.2 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.03926/46.58, allocations: 1.124 MB / 9.172 GB, free: 105 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.2994/46.88, allocations: 23.68 MB / 9.195 GB, free: 92.94 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.002466/46.88, allocations: 0.705 MB / 9.195 GB, free: 92.81 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/46.88, allocations: 1.125 kB / 9.195 GB, free: 92.81 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/46.88, allocations: 364.2 kB / 9.196 GB, free: 92.79 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003194/46.88, allocations: 257.7 kB / 9.196 GB, free: 92.77 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004199/46.89, allocations: 1.653 MB / 9.198 GB, free: 91.93 MB / 0.6828 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000554/46.89, allocations: 0.8686 MB / 9.199 GB, free: 91.22 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002619/46.89, allocations: 55.64 kB / 9.199 GB, free: 91.21 MB / 0.6828 GB Notification: Performance of SimCode: time 1.312e-06/46.89, allocations: 0 / 9.199 GB, free: 91.21 MB / 0.6828 GB Notification: Performance of Templates: time 0.1291/47.02, allocations: 45.17 MB / 9.243 GB, free: 85.52 MB / 0.6828 GB make -j1 -f Modelica_trunk_cpp_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_trunk_cpp_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_trunk_cpp_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_trunk_cpp_Modelica.Media.Examples.R134a.R134a2 --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches