Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1.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.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001136/0.001137, allocations: 177.3 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.604/1.604, allocations: 205.4 MB / 223.6 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000887/0.0008868, allocations: 82.38 kB / 271.9 MB, free: 8.273 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003585/0.0003586, allocations: 8 kB / 328.1 MB, free: 15.97 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2531, allocations: 47.57 MB / 375.7 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.6/11.85, allocations: 5.796 GB / 6.163 GB, free: 15.72 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002187/11.85, allocations: 79.95 kB / 6.163 GB, free: 15.64 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.905/19.76, allocations: 2.756 GB / 8.919 GB, free: 15.18 MB / 0.62 GB Notification: Performance of FrontEnd: time 2.265e-06/19.76, allocations: 0 / 8.919 GB, free: 15.18 MB / 0.62 GB Notification: Performance of Transformations before backend: time 3.277e-05/19.76, allocations: 11.98 kB / 8.919 GB, free: 15.17 MB / 0.62 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.03412/19.79, allocations: 1.686 MB / 8.921 GB, free: 13.64 MB / 0.62 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/19.79, allocations: 12.03 kB / 8.921 GB, free: 13.63 MB / 0.62 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006071/19.79, allocations: 64.44 kB / 8.921 GB, free: 13.57 MB / 0.62 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004358/19.79, allocations: 322 kB / 8.921 GB, free: 13.23 MB / 0.62 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/19.79, allocations: 29.58 kB / 8.921 GB, free: 13.2 MB / 0.62 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.006e-05/19.79, allocations: 36.36 kB / 8.921 GB, free: 13.17 MB / 0.62 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008759/19.79, allocations: 464.5 kB / 8.922 GB, free: 12.68 MB / 0.62 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/19.79, allocations: 0 / 8.922 GB, free: 12.68 MB / 0.62 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.297e-05/19.79, allocations: 19.94 kB / 8.922 GB, free: 12.66 MB / 0.62 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/19.79, allocations: 9.969 kB / 8.922 GB, free: 12.65 MB / 0.62 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007159/19.79, allocations: 382.3 kB / 8.922 GB, free: 12.28 MB / 0.62 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.006352/19.8, allocations: 5.223 MB / 8.927 GB, free: 6.816 MB / 0.62 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006673/19.8, allocations: 294 kB / 8.927 GB, free: 6.523 MB / 0.62 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002133/19.8, allocations: 135.1 kB / 8.927 GB, free: 6.391 MB / 0.62 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002515/19.8, allocations: 2.048 MB / 8.929 GB, free: 3.992 MB / 0.62 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/19.8, allocations: 34.56 kB / 8.93 GB, free: 3.949 MB / 0.62 GB Notification: Performance of pre-optimization done (n=30): time 2.845e-06/19.8, allocations: 0 / 8.93 GB, free: 3.949 MB / 0.62 GB Notification: Performance of matching and sorting (n=34): time 0.005147/19.81, allocations: 1.299 MB / 8.931 GB, free: 2.59 MB / 0.62 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/19.81, allocations: 59.34 kB / 8.931 GB, free: 2.52 MB / 0.62 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003205/19.81, allocations: 256.5 kB / 8.931 GB, free: 2.266 MB / 0.62 GB Notification: Performance of collectPreVariables (initialization): time 3.699e-05/19.81, allocations: 33.7 kB / 8.931 GB, free: 2.227 MB / 0.62 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/19.81, allocations: 191.7 kB / 8.931 GB, free: 2.043 MB / 0.62 GB Notification: Performance of collectInitialBindings (initialization): time 9.931e-05/19.81, allocations: 121.9 kB / 8.931 GB, free: 1.938 MB / 0.62 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.153e-05/19.81, allocations: 8 kB / 8.931 GB, free: 1.93 MB / 0.62 GB Notification: Performance of setup shared object (initialization): time 0.0001181/19.81, allocations: 338.8 kB / 8.932 GB, free: 1.59 MB / 0.62 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000227/19.81, allocations: 112.8 kB / 8.932 GB, free: 1.48 MB / 0.62 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000264/19.81, allocations: 228 kB / 8.932 GB, free: 1.207 MB / 0.62 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005144/19.81, allocations: 382.5 kB / 8.932 GB, free: 0.7891 MB / 0.62 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/19.81, allocations: 0 / 8.932 GB, free: 0.7891 MB / 0.62 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008352/19.81, allocations: 443.1 kB / 8.933 GB, free: 352 kB / 0.62 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/19.81, allocations: 13 kB / 8.933 GB, free: 340 kB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/19.81, allocations: 4 kB / 8.933 GB, free: 336 kB / 0.62 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007222/19.82, allocations: 293.3 kB / 8.933 GB, free: 36 kB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3317/20.15, allocations: 86.3 kB / 8.933 GB, free: 141.5 MB / 0.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/20.15, allocations: 1.851 MB / 8.935 GB, free: 139.7 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003697/20.15, allocations: 25.41 kB / 8.935 GB, free: 139.7 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/20.15, allocations: 19.53 kB / 8.935 GB, free: 139.7 MB / 0.62 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.0002137/20.15, allocations: 164.5 kB / 8.935 GB, free: 139.6 MB / 0.62 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.908e-05/20.15, allocations: 32.03 kB / 8.935 GB, free: 139.6 MB / 0.62 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009501/20.15, allocations: 0.6853 MB / 8.936 GB, free: 139.6 MB / 0.62 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/20.15, allocations: 12.97 kB / 8.936 GB, free: 139.6 MB / 0.62 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/20.15, allocations: 0 / 8.936 GB, free: 139.6 MB / 0.62 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000654/20.15, allocations: 0.859 MB / 8.937 GB, free: 139.1 MB / 0.62 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/20.16, allocations: 1.194 MB / 8.938 GB, free: 138.8 MB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/20.16, allocations: 7.594 kB / 8.938 GB, free: 138.8 MB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/20.16, allocations: 63.8 kB / 8.938 GB, free: 138.8 MB / 0.62 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001746/20.16, allocations: 195.3 kB / 8.938 GB, free: 138.8 MB / 0.62 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/20.16, allocations: 9.656 kB / 8.938 GB, free: 138.8 MB / 0.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002619/20.16, allocations: 0.5717 MB / 8.939 GB, free: 138.3 MB / 0.62 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/20.16, allocations: 0 / 8.939 GB, free: 138.3 MB / 0.62 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008037/20.16, allocations: 0.7306 MB / 8.939 GB, free: 138.1 MB / 0.62 GB Notification: Performance of postOpt removeConstants (simulation): time 9.575e-05/20.16, allocations: 126.7 kB / 8.94 GB, free: 138 MB / 0.62 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.302e-05/20.16, allocations: 11 kB / 8.94 GB, free: 138 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/20.16, allocations: 25.03 kB / 8.94 GB, free: 138 MB / 0.62 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/20.16, allocations: 19.88 kB / 8.94 GB, free: 138 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.757e-05/20.16, allocations: 18.62 kB / 8.94 GB, free: 138 MB / 0.62 GB Notification: Performance of sorting global known variables: time 0.0001966/20.16, allocations: 220.7 kB / 8.94 GB, free: 137.9 MB / 0.62 GB Notification: Performance of sort global known variables: time 1.51e-07/20.16, allocations: 0 / 8.94 GB, free: 137.9 MB / 0.62 GB Notification: Performance of remove unused functions: time 0.01361/20.17, allocations: 0.859 MB / 8.941 GB, free: 137.9 MB / 0.62 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.1195/20.29, allocations: 19.05 MB / 8.959 GB, free: 128.5 MB / 0.62 GB Notification: Performance of simCode: created initialization part: time 0.001059/20.29, allocations: 486 kB / 8.96 GB, free: 128.4 MB / 0.62 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/20.29, allocations: 0 / 8.96 GB, free: 128.4 MB / 0.62 GB Notification: Performance of simCode: created simulation system equations: time 0.0003634/20.29, allocations: 218.4 kB / 8.96 GB, free: 128.4 MB / 0.62 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/20.29, allocations: 178.8 kB / 8.96 GB, free: 128.4 MB / 0.62 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/20.3, allocations: 1.12 MB / 8.961 GB, free: 127.9 MB / 0.62 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/20.3, allocations: 0.8063 MB / 8.962 GB, free: 127.2 MB / 0.62 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/20.3, allocations: 43.09 kB / 8.962 GB, free: 127.2 MB / 0.62 GB Notification: Performance of SimCode: time 6.91e-07/20.3, allocations: 1.125 kB / 8.962 GB, free: 127.2 MB / 0.62 GB Notification: Performance of Templates: time 0.04967/20.35, allocations: 33.97 MB / 8.995 GB, free: 124.4 MB / 0.62 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches