Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001137/0.001137, allocations: 177 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.009/2.009, allocations: 205.3 MB / 214.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 90.36 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.023e-05/2.026e-05, allocations: 4 kB / 315.5 MB, free: 22.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1185, allocations: 47.58 MB / 363.1 MB, free: 7.09 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.45/15.57, allocations: 5.796 GB / 6.15 GB, free: 117.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003432/15.57, allocations: 71.48 kB / 6.15 GB, free: 117.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 12.4/27.97, allocations: 3.505 GB / 9.655 GB, free: 29.63 MB / 0.6203 GB Notification: Performance of FrontEnd: time 1.994e-06/27.97, allocations: 4.375 kB / 9.655 GB, free: 29.63 MB / 0.6203 GB Notification: Performance of Transformations before backend: time 2.28e-05/27.97, allocations: 6.422 kB / 9.655 GB, free: 29.62 MB / 0.6203 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.04403/28.01, allocations: 1.673 MB / 9.657 GB, free: 28.1 MB / 0.6203 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/28.01, allocations: 8.031 kB / 9.657 GB, free: 28.09 MB / 0.6203 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006103/28.01, allocations: 63.59 kB / 9.657 GB, free: 28.03 MB / 0.6203 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004296/28.01, allocations: 315.7 kB / 9.657 GB, free: 27.7 MB / 0.6203 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/28.01, allocations: 15.95 kB / 9.657 GB, free: 27.68 MB / 0.6203 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.445e-05/28.01, allocations: 20 kB / 9.657 GB, free: 27.66 MB / 0.6203 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004894/28.02, allocations: 321.1 kB / 9.658 GB, free: 27.36 MB / 0.6203 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005185/28.02, allocations: 387.8 kB / 9.658 GB, free: 26.94 MB / 0.6203 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/28.02, allocations: 4 kB / 9.658 GB, free: 26.94 MB / 0.6203 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.156e-05/28.02, allocations: 0 / 9.658 GB, free: 26.94 MB / 0.6203 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/28.02, allocations: 11.94 kB / 9.658 GB, free: 26.93 MB / 0.6203 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.006605/28.02, allocations: 5.561 MB / 9.663 GB, free: 21.07 MB / 0.6203 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003005/28.02, allocations: 218.4 kB / 9.664 GB, free: 20.85 MB / 0.6203 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/28.02, allocations: 112.8 kB / 9.664 GB, free: 20.74 MB / 0.6203 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001802/28.02, allocations: 1.646 MB / 9.665 GB, free: 18.82 MB / 0.6203 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/28.02, allocations: 38.56 kB / 9.665 GB, free: 18.77 MB / 0.6203 GB Notification: Performance of pre-optimization done (n=28): time 5.761e-06/28.02, allocations: 0 / 9.665 GB, free: 18.77 MB / 0.6203 GB Notification: Performance of matching and sorting (n=32): time 0.008042/28.03, allocations: 1.431 MB / 9.667 GB, free: 17.29 MB / 0.6203 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/28.03, allocations: 55.41 kB / 9.667 GB, free: 17.23 MB / 0.6203 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/28.03, allocations: 201.9 kB / 9.667 GB, free: 17.03 MB / 0.6203 GB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/28.03, allocations: 25.7 kB / 9.667 GB, free: 17 MB / 0.6203 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/28.03, allocations: 202.2 kB / 9.667 GB, free: 16.81 MB / 0.6203 GB Notification: Performance of collectInitialBindings (initialization): time 7.603e-05/28.03, allocations: 112.3 kB / 9.667 GB, free: 16.71 MB / 0.6203 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.524e-05/28.03, allocations: 3.938 kB / 9.667 GB, free: 16.71 MB / 0.6203 GB Notification: Performance of setup shared object (initialization): time 8.684e-05/28.03, allocations: 334.8 kB / 9.668 GB, free: 16.38 MB / 0.6203 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/28.03, allocations: 100.9 kB / 9.668 GB, free: 16.28 MB / 0.6203 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/28.03, allocations: 209.2 kB / 9.668 GB, free: 16.02 MB / 0.6203 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002146/28.04, allocations: 332 kB / 9.668 GB, free: 15.7 MB / 0.6203 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/28.04, allocations: 4 kB / 9.668 GB, free: 15.7 MB / 0.6203 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002599/28.04, allocations: 0.5848 MB / 9.669 GB, free: 15.1 MB / 0.6203 GB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/28.04, allocations: 9.625 kB / 9.669 GB, free: 15.09 MB / 0.6203 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/28.04, allocations: 7.984 kB / 9.669 GB, free: 15.08 MB / 0.6203 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002531/28.04, allocations: 53.7 kB / 9.669 GB, free: 15.02 MB / 0.6203 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003375/28.04, allocations: 91.83 kB / 9.669 GB, free: 14.93 MB / 0.6203 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002304/28.04, allocations: 1.887 MB / 9.671 GB, free: 12.91 MB / 0.6203 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003544/28.04, allocations: 30.05 kB / 9.671 GB, free: 12.88 MB / 0.6203 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.765e-05/28.04, allocations: 23.98 kB / 9.671 GB, free: 12.86 MB / 0.6203 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 () * 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.0001403/28.04, allocations: 111.4 kB / 9.671 GB, free: 12.74 MB / 0.6203 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.887e-05/28.04, allocations: 31.72 kB / 9.671 GB, free: 12.71 MB / 0.6203 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001444/28.04, allocations: 0.68 MB / 9.672 GB, free: 12.02 MB / 0.6203 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/28.04, allocations: 4 kB / 9.672 GB, free: 12.02 MB / 0.6203 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/28.04, allocations: 7.953 kB / 9.672 GB, free: 12.01 MB / 0.6203 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001096/28.04, allocations: 0.8555 MB / 9.673 GB, free: 11.07 MB / 0.6203 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/28.05, allocations: 1.114 MB / 9.674 GB, free: 9.914 MB / 0.6203 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/28.05, allocations: 3.984 kB / 9.674 GB, free: 9.91 MB / 0.6203 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002253/28.05, allocations: 63.91 kB / 9.674 GB, free: 9.848 MB / 0.6203 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002249/28.05, allocations: 60.83 kB / 9.674 GB, free: 9.785 MB / 0.6203 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/28.05, allocations: 7.984 kB / 9.674 GB, free: 9.777 MB / 0.6203 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003167/28.05, allocations: 0.5952 MB / 9.674 GB, free: 9.156 MB / 0.6203 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/28.05, allocations: 7.734 kB / 9.674 GB, free: 9.152 MB / 0.6203 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/28.05, allocations: 0.77 MB / 9.675 GB, free: 8.344 MB / 0.6203 GB Notification: Performance of postOpt removeConstants (simulation): time 7.775e-05/28.05, allocations: 106.7 kB / 9.675 GB, free: 8.223 MB / 0.6203 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.14e-05/28.05, allocations: 4 kB / 9.675 GB, free: 8.219 MB / 0.6203 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/28.05, allocations: 5.969 kB / 9.675 GB, free: 8.215 MB / 0.6203 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/28.05, allocations: 32.27 kB / 9.675 GB, free: 8.184 MB / 0.6203 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/28.05, allocations: 15.98 kB / 9.675 GB, free: 8.168 MB / 0.6203 GB Notification: Performance of sorting global known variables: time 0.0001186/28.05, allocations: 164.4 kB / 9.675 GB, free: 8.008 MB / 0.6203 GB Notification: Performance of sort global known variables: time 1.5e-07/28.05, allocations: 0 / 9.675 GB, free: 8.008 MB / 0.6203 GB Notification: Performance of remove unused functions: time 0.01617/28.07, allocations: 0.8191 MB / 9.676 GB, free: 7.242 MB / 0.6203 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse1.phase,$cse2,$cse3.phase,$cse4) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * 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.5715/28.64, allocations: 19.12 MB / 9.695 GB, free: 132.5 MB / 0.6203 GB Notification: Performance of simCode: created initialization part: time 0.00144/28.64, allocations: 454.8 kB / 9.695 GB, free: 132.4 MB / 0.6203 GB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/28.64, allocations: 4.094 kB / 9.695 GB, free: 132.4 MB / 0.6203 GB Notification: Performance of simCode: created simulation system equations: time 0.0005489/28.64, allocations: 207.8 kB / 9.696 GB, free: 132.4 MB / 0.6203 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/28.64, allocations: 138.2 kB / 9.696 GB, free: 132.4 MB / 0.6203 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/28.64, allocations: 0.6295 MB / 9.696 GB, free: 132.2 MB / 0.6203 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/28.64, allocations: 0.8071 MB / 9.697 GB, free: 131.5 MB / 0.6203 GB Notification: Performance of simCode: alias equations: time 0.0005744/28.64, allocations: 240.9 kB / 9.697 GB, free: 131.5 MB / 0.6203 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.362e-05/28.64, allocations: 38.62 kB / 9.697 GB, free: 131.4 MB / 0.6203 GB Notification: Performance of SimCode: time 9.02e-07/28.64, allocations: 0 / 9.697 GB, free: 131.4 MB / 0.6203 GB Notification: Performance of Templates: time 0.0446/28.69, allocations: 28.44 MB / 9.725 GB, free: 129.5 MB / 0.6203 GB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/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_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches