Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001486/0.001487, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.233/2.233, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001146/0.001146, allocations: 103 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.157e-05/2.169e-05, allocations: 4 kB / 314.8 MB, free: 9.176 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3427, allocations: 47.56 MB / 362.3 MB, free: 45.85 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.18/17.53, allocations: 5.795 GB / 6.149 GB, free: 23 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/17.53, allocations: 72.83 kB / 6.149 GB, free: 22.96 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 19.44/36.97, allocations: 4.463 GB / 10.61 GB, free: 6.656 MB / 0.6516 GB Notification: Performance of FrontEnd: time 1.904e-06/36.97, allocations: 7.281 kB / 10.61 GB, free: 6.652 MB / 0.6516 GB Notification: Performance of Transformations before backend: time 4.616e-05/36.97, allocations: 8 kB / 10.61 GB, free: 6.645 MB / 0.6516 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.05982/37.03, allocations: 2.184 MB / 10.61 GB, free: 4.684 MB / 0.6516 GB Notification: Performance of prepare preOptimizeDAE: time 6.527e-05/37.03, allocations: 12.03 kB / 10.61 GB, free: 4.672 MB / 0.6516 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/37.03, allocations: 91.69 kB / 10.61 GB, free: 4.582 MB / 0.6516 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/37.03, allocations: 376.8 kB / 10.61 GB, free: 4.199 MB / 0.6516 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.892e-05/37.03, allocations: 20 kB / 10.61 GB, free: 4.18 MB / 0.6516 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/37.03, allocations: 24 kB / 10.61 GB, free: 4.156 MB / 0.6516 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001353/37.03, allocations: 454.5 kB / 10.61 GB, free: 3.711 MB / 0.6516 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/37.03, allocations: 0.5093 MB / 10.62 GB, free: 3.152 MB / 0.6516 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.452e-05/37.03, allocations: 8.219 kB / 10.62 GB, free: 3.145 MB / 0.6516 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.699e-05/37.03, allocations: 3.938 kB / 10.62 GB, free: 3.141 MB / 0.6516 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/37.03, allocations: 15.94 kB / 10.62 GB, free: 3.125 MB / 0.6516 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.5503/37.59, allocations: 6.392 MB / 10.62 GB, free: 112.4 MB / 0.6516 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/37.59, allocations: 332.1 kB / 10.62 GB, free: 112.4 MB / 0.6516 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006568/37.59, allocations: 181.2 kB / 10.62 GB, free: 112.3 MB / 0.6516 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006078/37.59, allocations: 2.418 MB / 10.62 GB, free: 110.3 MB / 0.6516 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.456e-05/37.59, allocations: 40.66 kB / 10.62 GB, free: 110.2 MB / 0.6516 GB Notification: Performance of pre-optimization done (n=44): time 4.939e-06/37.59, allocations: 0 / 10.62 GB, free: 110.2 MB / 0.6516 GB Notification: Performance of matching and sorting (n=52): time 0.0356/37.63, allocations: 2.284 MB / 10.63 GB, free: 109.9 MB / 0.6516 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/37.63, allocations: 58.64 kB / 10.63 GB, free: 109.8 MB / 0.6516 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006251/37.63, allocations: 248.9 kB / 10.63 GB, free: 109.7 MB / 0.6516 GB Notification: Performance of collectPreVariables (initialization): time 0.0001661/37.63, allocations: 25.7 kB / 10.63 GB, free: 109.7 MB / 0.6516 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002331/37.63, allocations: 296.8 kB / 10.63 GB, free: 109.5 MB / 0.6516 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002901/37.63, allocations: 174.9 kB / 10.63 GB, free: 109.4 MB / 0.6516 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-05/37.63, allocations: 0 / 10.63 GB, free: 109.4 MB / 0.6516 GB Notification: Performance of setup shared object (initialization): time 0.0001189/37.63, allocations: 338.3 kB / 10.63 GB, free: 109.1 MB / 0.6516 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006644/37.63, allocations: 156.2 kB / 10.63 GB, free: 109.1 MB / 0.6516 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007608/37.63, allocations: 306.2 kB / 10.63 GB, free: 108.9 MB / 0.6516 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01096/37.64, allocations: 0.5345 MB / 10.63 GB, free: 108.9 MB / 0.6516 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.78e-05/37.64, allocations: 2.219 kB / 10.63 GB, free: 108.9 MB / 0.6516 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.009015/37.65, allocations: 0.9111 MB / 10.63 GB, free: 108.8 MB / 0.6516 GB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/37.65, allocations: 11.86 kB / 10.63 GB, free: 108.8 MB / 0.6516 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/37.65, allocations: 5.188 kB / 10.63 GB, free: 108.8 MB / 0.6516 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005269/37.65, allocations: 96.11 kB / 10.63 GB, free: 108.8 MB / 0.6516 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/37.65, allocations: 143.3 kB / 10.63 GB, free: 108.8 MB / 0.6516 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005724/37.66, allocations: 3.144 MB / 10.63 GB, free: 106 MB / 0.6516 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008433/37.66, allocations: 31.17 kB / 10.63 GB, free: 106 MB / 0.6516 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.69e-05/37.66, allocations: 33.09 kB / 10.63 GB, free: 106 MB / 0.6516 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.0002176/37.66, allocations: 124.8 kB / 10.63 GB, free: 105.9 MB / 0.6516 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/37.66, allocations: 39.75 kB / 10.63 GB, free: 105.9 MB / 0.6516 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003881/37.67, allocations: 1.058 MB / 10.63 GB, free: 105.8 MB / 0.6516 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-05/37.67, allocations: 14.22 kB / 10.63 GB, free: 105.8 MB / 0.6516 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/37.67, allocations: 1.5 kB / 10.63 GB, free: 105.8 MB / 0.6516 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003065/37.67, allocations: 1.107 MB / 10.64 GB, free: 105.4 MB / 0.6516 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004715/37.67, allocations: 1.638 MB / 10.64 GB, free: 105.1 MB / 0.6516 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.515e-05/37.67, allocations: 1.312 kB / 10.64 GB, free: 105.1 MB / 0.6516 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007321/37.67, allocations: 97.12 kB / 10.64 GB, free: 105.1 MB / 0.6516 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006375/37.67, allocations: 124.4 kB / 10.64 GB, free: 105 MB / 0.6516 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.98e-05/37.67, allocations: 10.33 kB / 10.64 GB, free: 105 MB / 0.6516 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00108/37.68, allocations: 1.204 MB / 10.64 GB, free: 104 MB / 0.6516 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/37.68, allocations: 2.625 kB / 10.64 GB, free: 104 MB / 0.6516 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003779/37.68, allocations: 1.169 MB / 10.64 GB, free: 103.7 MB / 0.6516 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000251/37.68, allocations: 127.4 kB / 10.64 GB, free: 103.6 MB / 0.6516 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.849e-05/37.68, allocations: 6.984 kB / 10.64 GB, free: 103.6 MB / 0.6516 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005511/37.68, allocations: 23.95 kB / 10.64 GB, free: 103.6 MB / 0.6516 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.378e-05/37.68, allocations: 37.38 kB / 10.64 GB, free: 103.6 MB / 0.6516 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.095e-05/37.68, allocations: 19.59 kB / 10.64 GB, free: 103.6 MB / 0.6516 GB Notification: Performance of sorting global known variables: time 0.0002914/37.68, allocations: 188.1 kB / 10.64 GB, free: 103.5 MB / 0.6516 GB Notification: Performance of sort global known variables: time 6.01e-07/37.68, allocations: 3.25 kB / 10.64 GB, free: 103.5 MB / 0.6516 GB Notification: Performance of remove unused functions: time 0.01967/37.7, allocations: 1.065 MB / 10.64 GB, free: 103.5 MB / 0.6516 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.2298/37.93, allocations: 23.79 MB / 10.66 GB, free: 91.77 MB / 0.6516 GB Notification: Performance of simCode: created initialization part: time 0.002115/37.93, allocations: 0.6499 MB / 10.66 GB, free: 91.66 MB / 0.6516 GB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/37.93, allocations: 0.6875 kB / 10.66 GB, free: 91.66 MB / 0.6516 GB Notification: Performance of simCode: created simulation system equations: time 0.000866/37.93, allocations: 333.5 kB / 10.67 GB, free: 91.65 MB / 0.6516 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002084/37.94, allocations: 206.7 kB / 10.67 GB, free: 91.64 MB / 0.6516 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0028/37.94, allocations: 1.035 MB / 10.67 GB, free: 91.33 MB / 0.6516 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004015/37.94, allocations: 0.8714 MB / 10.67 GB, free: 90.64 MB / 0.6516 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002601/37.94, allocations: 51.8 kB / 10.67 GB, free: 90.63 MB / 0.6516 GB Notification: Performance of SimCode: time 1.042e-06/37.94, allocations: 3.625 kB / 10.67 GB, free: 90.63 MB / 0.6516 GB Notification: Performance of Templates: time 0.09513/38.03, allocations: 45.68 MB / 10.71 GB, free: 87.06 MB / 0.6516 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches