Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001773/0.001773, allocations: 180.7 kB / 17.01 MB, free: 5.125 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.889/1.889, allocations: 205.4 MB / 223.1 MB, free: 9.129 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.0008822/0.0008821, allocations: 88.88 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003772/0.0003773, allocations: 8 kB / 328.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4059/0.4063, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.58/14.99, allocations: 5.796 GB / 6.163 GB, free: 110.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/14.99, allocations: 81.03 kB / 6.163 GB, free: 110.9 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 15.04/30.03, allocations: 4.557 GB / 10.72 GB, free: 99.45 MB / 0.6671 GB Notification: Performance of FrontEnd: time 2.735e-06/30.03, allocations: 0 / 10.72 GB, free: 99.45 MB / 0.6671 GB Notification: Performance of Transformations before backend: time 5.12e-05/30.03, allocations: 13.25 kB / 10.72 GB, free: 99.45 MB / 0.6671 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.05617/30.09, allocations: 2.227 MB / 10.72 GB, free: 98.37 MB / 0.6671 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/30.09, allocations: 7.125 kB / 10.72 GB, free: 98.37 MB / 0.6671 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009066/30.09, allocations: 97.06 kB / 10.72 GB, free: 98.34 MB / 0.6671 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007244/30.09, allocations: 372.3 kB / 10.72 GB, free: 98.13 MB / 0.6671 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.421e-05/30.09, allocations: 40.97 kB / 10.72 GB, free: 98.13 MB / 0.6671 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.954e-05/30.09, allocations: 46.19 kB / 10.72 GB, free: 98.13 MB / 0.6671 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/30.09, allocations: 0.612 MB / 10.72 GB, free: 97.98 MB / 0.6671 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.835e-05/30.09, allocations: 0.8438 kB / 10.72 GB, free: 97.98 MB / 0.6671 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.825e-05/30.09, allocations: 25.33 kB / 10.72 GB, free: 97.98 MB / 0.6671 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/30.09, allocations: 11.34 kB / 10.72 GB, free: 97.98 MB / 0.6671 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009467/30.09, allocations: 0.5261 MB / 10.72 GB, free: 97.98 MB / 0.6671 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.007265/30.1, allocations: 6.079 MB / 10.73 GB, free: 95.43 MB / 0.6671 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008506/30.1, allocations: 432.8 kB / 10.73 GB, free: 95.39 MB / 0.6671 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003104/30.1, allocations: 2.83 MB / 10.73 GB, free: 92.94 MB / 0.6671 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/30.1, allocations: 42.36 kB / 10.73 GB, free: 92.89 MB / 0.6671 GB Notification: Performance of pre-optimization done (n=46): time 2.064e-06/30.1, allocations: 4 kB / 10.73 GB, free: 92.89 MB / 0.6671 GB Notification: Performance of matching and sorting (n=54): time 0.008293/30.11, allocations: 2.019 MB / 10.74 GB, free: 92.42 MB / 0.6671 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/30.11, allocations: 58.06 kB / 10.74 GB, free: 92.36 MB / 0.6671 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003159/30.11, allocations: 272 kB / 10.74 GB, free: 92.26 MB / 0.6671 GB Notification: Performance of collectPreVariables (initialization): time 3.918e-05/30.11, allocations: 37.67 kB / 10.74 GB, free: 92.23 MB / 0.6671 GB Notification: Performance of collectInitialEqns (initialization): time 0.000121/30.11, allocations: 232.6 kB / 10.74 GB, free: 92.1 MB / 0.6671 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/30.11, allocations: 190 kB / 10.74 GB, free: 92 MB / 0.6671 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/30.11, allocations: 14.31 kB / 10.74 GB, free: 92 MB / 0.6671 GB Notification: Performance of setup shared object (initialization): time 9.72e-05/30.11, allocations: 359.5 kB / 10.74 GB, free: 91.68 MB / 0.6671 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002569/30.11, allocations: 175 kB / 10.74 GB, free: 91.68 MB / 0.6671 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003384/30.11, allocations: 328.5 kB / 10.74 GB, free: 91.51 MB / 0.6671 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/30.11, allocations: 232.2 kB / 10.74 GB, free: 91.5 MB / 0.6671 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/30.11, allocations: 0 / 10.74 GB, free: 91.5 MB / 0.6671 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001214/30.11, allocations: 0.6674 MB / 10.74 GB, free: 91.41 MB / 0.6671 GB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/30.11, allocations: 7.188 kB / 10.74 GB, free: 91.41 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/30.11, allocations: 4.812 kB / 10.74 GB, free: 91.41 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.013/30.13, allocations: 0.5513 MB / 10.74 GB, free: 91.39 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006824/30.13, allocations: 146.2 kB / 10.74 GB, free: 91.39 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001593/30.13, allocations: 2.999 MB / 10.74 GB, free: 88.5 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006134/30.13, allocations: 43.06 kB / 10.74 GB, free: 88.5 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.122e-05/30.13, allocations: 31.28 kB / 10.74 GB, free: 88.5 MB / 0.6671 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.0003257/30.13, allocations: 187.8 kB / 10.74 GB, free: 88.38 MB / 0.6671 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.348e-05/30.13, allocations: 46.47 kB / 10.74 GB, free: 88.36 MB / 0.6671 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001457/30.13, allocations: 1.055 MB / 10.74 GB, free: 88.25 MB / 0.6671 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/30.13, allocations: 14.86 kB / 10.74 GB, free: 88.25 MB / 0.6671 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/30.13, allocations: 0 / 10.74 GB, free: 88.25 MB / 0.6671 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009406/30.13, allocations: 1.092 MB / 10.74 GB, free: 87.85 MB / 0.6671 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001967/30.13, allocations: 1.73 MB / 10.75 GB, free: 87.49 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/30.13, allocations: 0 / 10.75 GB, free: 87.49 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003653/30.13, allocations: 102.3 kB / 10.75 GB, free: 87.49 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003654/30.14, allocations: 396 kB / 10.75 GB, free: 87.46 MB / 0.6671 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.766e-05/30.14, allocations: 19.23 kB / 10.75 GB, free: 87.46 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00047/30.14, allocations: 1.15 MB / 10.75 GB, free: 86.41 MB / 0.6671 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/30.14, allocations: 0 / 10.75 GB, free: 86.41 MB / 0.6671 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/30.14, allocations: 1.124 MB / 10.75 GB, free: 86.21 MB / 0.6671 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/30.14, allocations: 140.2 kB / 10.75 GB, free: 86.09 MB / 0.6671 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.236e-05/30.14, allocations: 13.97 kB / 10.75 GB, free: 86.09 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003121/30.14, allocations: 30.86 kB / 10.75 GB, free: 86.09 MB / 0.6671 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/30.14, allocations: 42.97 kB / 10.75 GB, free: 86.08 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.964e-05/30.14, allocations: 26.27 kB / 10.75 GB, free: 86.08 MB / 0.6671 GB Notification: Performance of sorting global known variables: time 0.0002378/30.14, allocations: 243.1 kB / 10.75 GB, free: 86 MB / 0.6671 GB Notification: Performance of sort global known variables: time 2.1e-07/30.14, allocations: 0 / 10.75 GB, free: 86 MB / 0.6671 GB Notification: Performance of remove unused functions: time 0.0168/30.16, allocations: 1.12 MB / 10.75 GB, free: 85.82 MB / 0.6671 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.1442/30.3, allocations: 23.68 MB / 10.77 GB, free: 73.59 MB / 0.6671 GB Notification: Performance of simCode: created initialization part: time 0.001685/30.3, allocations: 0.6936 MB / 10.77 GB, free: 73.46 MB / 0.6671 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/30.3, allocations: 0 / 10.77 GB, free: 73.46 MB / 0.6671 GB Notification: Performance of simCode: created simulation system equations: time 0.0005167/30.3, allocations: 366.2 kB / 10.77 GB, free: 73.45 MB / 0.6671 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/30.3, allocations: 259.2 kB / 10.77 GB, free: 73.42 MB / 0.6671 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002041/30.31, allocations: 1.605 MB / 10.78 GB, free: 72.62 MB / 0.6671 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/30.31, allocations: 0.8759 MB / 10.78 GB, free: 71.91 MB / 0.6671 GB Notification: Performance of simCode: alias equations: time 0.0005307/30.31, allocations: 231.4 kB / 10.78 GB, free: 71.89 MB / 0.6671 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/30.31, allocations: 49.69 kB / 10.78 GB, free: 71.88 MB / 0.6671 GB Notification: Performance of SimCode: time 8.61e-07/30.31, allocations: 0 / 10.78 GB, free: 71.88 MB / 0.6671 GB Notification: Performance of Templates: time 0.053/30.36, allocations: 41.68 MB / 10.82 GB, free: 66.31 MB / 0.6671 GB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/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_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches