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.001497/0.001497, allocations: 185.4 kB / 16.41 MB, free: 5.727 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.912/1.912, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001134/0.001134, allocations: 92.42 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004217/0.0004221, allocations: 8 kB / 327 MB, free: 232 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3313, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.87/17.2, allocations: 5.796 GB / 6.162 GB, free: 110.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/17.2, allocations: 75.86 kB / 6.162 GB, free: 110.9 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 14.32/31.52, allocations: 3.488 GB / 9.65 GB, free: 8.25 MB / 0.6044 GB Notification: Performance of FrontEnd: time 3.377e-06/31.52, allocations: 7.922 kB / 9.65 GB, free: 8.242 MB / 0.6044 GB Notification: Performance of Transformations before backend: time 2.618e-05/31.52, allocations: 8 kB / 9.65 GB, free: 8.234 MB / 0.6044 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.04723/31.57, allocations: 1.695 MB / 9.652 GB, free: 6.668 MB / 0.6044 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/31.57, allocations: 12.03 kB / 9.652 GB, free: 6.656 MB / 0.6044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007463/31.57, allocations: 63.5 kB / 9.652 GB, free: 6.594 MB / 0.6044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005236/31.57, allocations: 321.3 kB / 9.652 GB, free: 6.254 MB / 0.6044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.101e-05/31.57, allocations: 28.61 kB / 9.652 GB, free: 6.227 MB / 0.6044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.244e-05/31.57, allocations: 28 kB / 9.652 GB, free: 6.199 MB / 0.6044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/31.57, allocations: 459.8 kB / 9.653 GB, free: 5.715 MB / 0.6044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/31.57, allocations: 3.938 kB / 9.653 GB, free: 5.711 MB / 0.6044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.987e-05/31.57, allocations: 16 kB / 9.653 GB, free: 5.695 MB / 0.6044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/31.57, allocations: 8 kB / 9.653 GB, free: 5.688 MB / 0.6044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009737/31.57, allocations: 389.8 kB / 9.653 GB, free: 5.309 MB / 0.6044 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.008695/31.58, allocations: 5.22 MB / 9.658 GB, free: 15.84 MB / 0.62 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/31.58, allocations: 289.3 kB / 9.658 GB, free: 15.55 MB / 0.62 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00387/31.58, allocations: 2.055 MB / 9.66 GB, free: 13.14 MB / 0.62 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.093e-05/31.58, allocations: 42.12 kB / 9.66 GB, free: 13.1 MB / 0.62 GB Notification: Performance of pre-optimization done (n=30): time 3.186e-06/31.58, allocations: 0 / 9.66 GB, free: 13.1 MB / 0.62 GB Notification: Performance of matching and sorting (n=34): time 0.007958/31.59, allocations: 1.286 MB / 9.662 GB, free: 11.75 MB / 0.62 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/31.59, allocations: 55.41 kB / 9.662 GB, free: 11.68 MB / 0.62 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004334/31.59, allocations: 233.7 kB / 9.662 GB, free: 11.45 MB / 0.62 GB Notification: Performance of collectPreVariables (initialization): time 5.834e-05/31.59, allocations: 37.7 kB / 9.662 GB, free: 11.41 MB / 0.62 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/31.59, allocations: 252.4 kB / 9.662 GB, free: 11.18 MB / 0.62 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/31.59, allocations: 113.3 kB / 9.662 GB, free: 11.08 MB / 0.62 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/31.59, allocations: 12 kB / 9.662 GB, free: 11.07 MB / 0.62 GB Notification: Performance of setup shared object (initialization): time 0.0001286/31.59, allocations: 326.8 kB / 9.663 GB, free: 10.74 MB / 0.62 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003272/31.59, allocations: 108.8 kB / 9.663 GB, free: 10.63 MB / 0.62 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004103/31.59, allocations: 226 kB / 9.663 GB, free: 10.36 MB / 0.62 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004133/31.59, allocations: 147.9 kB / 9.663 GB, free: 10.22 MB / 0.62 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/31.59, allocations: 4 kB / 9.663 GB, free: 10.21 MB / 0.62 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001405/31.6, allocations: 442.7 kB / 9.663 GB, free: 9.773 MB / 0.62 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/31.6, allocations: 8 kB / 9.663 GB, free: 9.766 MB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/31.6, allocations: 7.953 kB / 9.663 GB, free: 9.758 MB / 0.62 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01226/31.61, allocations: 289.8 kB / 9.664 GB, free: 9.469 MB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007411/31.61, allocations: 91.83 kB / 9.664 GB, free: 9.379 MB / 0.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00205/31.61, allocations: 1.851 MB / 9.666 GB, free: 7.371 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005919/31.61, allocations: 27.22 kB / 9.666 GB, free: 7.348 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.468e-05/31.61, allocations: 20 kB / 9.666 GB, free: 7.328 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.0003566/31.61, allocations: 166.7 kB / 9.666 GB, free: 7.156 MB / 0.62 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/31.61, allocations: 31.62 kB / 9.666 GB, free: 7.125 MB / 0.62 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001813/31.61, allocations: 0.7026 MB / 9.667 GB, free: 6.422 MB / 0.62 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/31.61, allocations: 4 kB / 9.667 GB, free: 6.418 MB / 0.62 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/31.61, allocations: 0 / 9.667 GB, free: 6.418 MB / 0.62 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001305/31.61, allocations: 0.8594 MB / 9.667 GB, free: 5.469 MB / 0.62 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00248/31.62, allocations: 1.2 MB / 9.669 GB, free: 4.215 MB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/31.62, allocations: 0 / 9.669 GB, free: 4.215 MB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004847/31.62, allocations: 63.91 kB / 9.669 GB, free: 4.152 MB / 0.62 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00336/31.62, allocations: 200.4 kB / 9.669 GB, free: 3.953 MB / 0.62 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.573e-05/31.62, allocations: 11.98 kB / 9.669 GB, free: 3.941 MB / 0.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005369/31.62, allocations: 0.5757 MB / 9.669 GB, free: 3.34 MB / 0.62 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/31.62, allocations: 0 / 9.669 GB, free: 3.34 MB / 0.62 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/31.62, allocations: 0.7336 MB / 9.67 GB, free: 2.586 MB / 0.62 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001881/31.62, allocations: 127.3 kB / 9.67 GB, free: 2.449 MB / 0.62 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/31.62, allocations: 8 kB / 9.67 GB, free: 2.441 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003851/31.62, allocations: 25.92 kB / 9.67 GB, free: 2.418 MB / 0.62 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.39e-05/31.62, allocations: 27.98 kB / 9.67 GB, free: 2.391 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.545e-05/31.62, allocations: 19.98 kB / 9.67 GB, free: 2.371 MB / 0.62 GB Notification: Performance of sorting global known variables: time 0.0003541/31.62, allocations: 218 kB / 9.671 GB, free: 2.16 MB / 0.62 GB Notification: Performance of sort global known variables: time 4.4e-07/31.62, allocations: 0 / 9.671 GB, free: 2.16 MB / 0.62 GB Notification: Performance of remove unused functions: time 0.01752/31.64, allocations: 0.854 MB / 9.671 GB, free: 1.359 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.6289/32.27, allocations: 19.04 MB / 9.69 GB, free: 131.5 MB / 0.62 GB Notification: Performance of simCode: created initialization part: time 0.001292/32.27, allocations: 482.2 kB / 9.69 GB, free: 131.4 MB / 0.62 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/32.27, allocations: 3.562 kB / 9.69 GB, free: 131.4 MB / 0.62 GB Notification: Performance of simCode: created simulation system equations: time 0.0005743/32.27, allocations: 215 kB / 9.691 GB, free: 131.4 MB / 0.62 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/32.27, allocations: 182.9 kB / 9.691 GB, free: 131.4 MB / 0.62 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002456/32.28, allocations: 1.11 MB / 9.692 GB, free: 130.9 MB / 0.62 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/32.28, allocations: 0.8163 MB / 9.693 GB, free: 130.2 MB / 0.62 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/32.28, allocations: 43.91 kB / 9.693 GB, free: 130.2 MB / 0.62 GB Notification: Performance of SimCode: time 1.062e-06/32.28, allocations: 0.75 kB / 9.693 GB, free: 130.2 MB / 0.62 GB Notification: Performance of Templates: time 0.07461/32.35, allocations: 35.02 MB / 9.727 GB, free: 127.2 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