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.001055/0.001056, allocations: 179 kB / 18.04 MB, free: 3.66 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.577/1.577, allocations: 205.4 MB / 224.2 MB, free: 9.012 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.0008012/0.0008013, allocations: 91.38 kB / 272.5 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003227/0.0003227, allocations: 15.98 kB / 329.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2754, allocations: 47.57 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.64/11.91, allocations: 5.796 GB / 6.164 GB, free: 14.89 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000212/11.91, allocations: 67.97 kB / 6.164 GB, free: 14.82 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.919/21.83, allocations: 3.553 GB / 9.718 GB, free: 81.95 MB / 0.6359 GB Notification: Performance of FrontEnd: time 3.376e-06/21.83, allocations: 0 / 9.718 GB, free: 81.95 MB / 0.6359 GB Notification: Performance of Transformations before backend: time 4.618e-05/21.83, allocations: 15.44 kB / 9.718 GB, free: 81.94 MB / 0.6359 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.06691/21.9, allocations: 2.219 MB / 9.72 GB, free: 80.18 MB / 0.6359 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/21.9, allocations: 8.031 kB / 9.72 GB, free: 80.17 MB / 0.6359 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/21.9, allocations: 95.95 kB / 9.72 GB, free: 80.09 MB / 0.6359 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007152/21.9, allocations: 386.2 kB / 9.72 GB, free: 79.82 MB / 0.6359 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.265e-05/21.9, allocations: 34.19 kB / 9.72 GB, free: 79.8 MB / 0.6359 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.68e-05/21.9, allocations: 49.95 kB / 9.72 GB, free: 79.77 MB / 0.6359 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/21.9, allocations: 0.6235 MB / 9.721 GB, free: 79.38 MB / 0.6359 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.341e-05/21.9, allocations: 0 / 9.721 GB, free: 79.38 MB / 0.6359 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.772e-05/21.9, allocations: 27.62 kB / 9.721 GB, free: 79.37 MB / 0.6359 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/21.9, allocations: 12 kB / 9.721 GB, free: 79.36 MB / 0.6359 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/21.91, allocations: 0.5224 MB / 9.721 GB, free: 79.09 MB / 0.6359 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.009172/21.92, allocations: 6.08 MB / 9.727 GB, free: 74.15 MB / 0.6359 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/21.92, allocations: 428.7 kB / 9.728 GB, free: 73.91 MB / 0.6359 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004792/21.92, allocations: 217.5 kB / 9.728 GB, free: 73.8 MB / 0.6359 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004472/21.92, allocations: 2.819 MB / 9.731 GB, free: 70.77 MB / 0.6359 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/21.92, allocations: 42.28 kB / 9.731 GB, free: 70.72 MB / 0.6359 GB Notification: Performance of pre-optimization done (n=46): time 4.408e-06/21.92, allocations: 0 / 9.731 GB, free: 70.72 MB / 0.6359 GB Notification: Performance of matching and sorting (n=54): time 0.01455/21.94, allocations: 2.018 MB / 9.733 GB, free: 69.34 MB / 0.6359 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/21.94, allocations: 55.84 kB / 9.733 GB, free: 69.27 MB / 0.6359 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005078/21.94, allocations: 305.4 kB / 9.733 GB, free: 69.06 MB / 0.6359 GB Notification: Performance of collectPreVariables (initialization): time 5.945e-05/21.94, allocations: 38.45 kB / 9.733 GB, free: 69.03 MB / 0.6359 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/21.94, allocations: 226.6 kB / 9.733 GB, free: 68.88 MB / 0.6359 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/21.94, allocations: 193 kB / 9.734 GB, free: 68.76 MB / 0.6359 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.056e-05/21.94, allocations: 16.75 kB / 9.734 GB, free: 68.75 MB / 0.6359 GB Notification: Performance of setup shared object (initialization): time 9.594e-05/21.94, allocations: 351.9 kB / 9.734 GB, free: 68.43 MB / 0.6359 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004616/21.94, allocations: 177.4 kB / 9.734 GB, free: 68.34 MB / 0.6359 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005427/21.94, allocations: 327.7 kB / 9.734 GB, free: 68.07 MB / 0.6359 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/21.94, allocations: 0.5454 MB / 9.735 GB, free: 67.69 MB / 0.6359 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/21.94, allocations: 4 kB / 9.735 GB, free: 67.68 MB / 0.6359 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002014/21.94, allocations: 0.6707 MB / 9.736 GB, free: 67.26 MB / 0.6359 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/21.94, allocations: 8 kB / 9.736 GB, free: 67.25 MB / 0.6359 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/21.94, allocations: 8.031 kB / 9.736 GB, free: 67.25 MB / 0.6359 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02166/21.96, allocations: 0.5425 MB / 9.736 GB, free: 66.95 MB / 0.6359 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/21.96, allocations: 149.2 kB / 9.736 GB, free: 66.82 MB / 0.6359 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002318/21.97, allocations: 2.994 MB / 9.739 GB, free: 63.79 MB / 0.6359 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008051/21.97, allocations: 42.44 kB / 9.739 GB, free: 63.76 MB / 0.6359 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.074e-05/21.97, allocations: 34.27 kB / 9.739 GB, free: 63.73 MB / 0.6359 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.0004149/21.97, allocations: 184.8 kB / 9.739 GB, free: 63.59 MB / 0.6359 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/21.97, allocations: 46.91 kB / 9.739 GB, free: 63.54 MB / 0.6359 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002277/21.97, allocations: 1.059 MB / 9.74 GB, free: 62.94 MB / 0.6359 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.021e-05/21.97, allocations: 18.64 kB / 9.741 GB, free: 62.93 MB / 0.6359 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/21.97, allocations: 0 / 9.741 GB, free: 62.93 MB / 0.6359 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001564/21.97, allocations: 1.085 MB / 9.742 GB, free: 62.14 MB / 0.6359 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00307/21.98, allocations: 1.728 MB / 9.743 GB, free: 61.05 MB / 0.6359 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/21.98, allocations: 0 / 9.743 GB, free: 61.05 MB / 0.6359 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005991/21.98, allocations: 94.7 kB / 9.743 GB, free: 60.96 MB / 0.6359 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005832/21.98, allocations: 399.7 kB / 9.744 GB, free: 60.62 MB / 0.6359 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.337e-05/21.98, allocations: 15.42 kB / 9.744 GB, free: 60.61 MB / 0.6359 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006906/21.98, allocations: 1.142 MB / 9.745 GB, free: 59.48 MB / 0.6359 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/21.98, allocations: 4.094 kB / 9.745 GB, free: 59.47 MB / 0.6359 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002105/21.98, allocations: 1.126 MB / 9.746 GB, free: 58.71 MB / 0.6359 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002221/21.99, allocations: 136.8 kB / 9.746 GB, free: 58.57 MB / 0.6359 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.461e-05/21.99, allocations: 21.67 kB / 9.746 GB, free: 58.55 MB / 0.6359 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005005/21.99, allocations: 28.33 kB / 9.746 GB, free: 58.54 MB / 0.6359 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.842e-05/21.99, allocations: 39.2 kB / 9.746 GB, free: 58.5 MB / 0.6359 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.074e-05/21.99, allocations: 19.48 kB / 9.746 GB, free: 58.48 MB / 0.6359 GB Notification: Performance of sorting global known variables: time 0.0003694/21.99, allocations: 246.2 kB / 9.746 GB, free: 58.29 MB / 0.6359 GB Notification: Performance of sort global known variables: time 3.5e-07/21.99, allocations: 0 / 9.746 GB, free: 58.29 MB / 0.6359 GB Notification: Performance of remove unused functions: time 0.02413/22.01, allocations: 1.117 MB / 9.748 GB, free: 57.34 MB / 0.6359 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.1764/22.19, allocations: 23.69 MB / 9.771 GB, free: 34.11 MB / 0.6359 GB Notification: Performance of simCode: created initialization part: time 0.001377/22.19, allocations: 0.6955 MB / 9.771 GB, free: 33.58 MB / 0.6359 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/22.19, allocations: 0 / 9.771 GB, free: 33.58 MB / 0.6359 GB Notification: Performance of simCode: created simulation system equations: time 0.0005008/22.19, allocations: 367.8 kB / 9.772 GB, free: 33.34 MB / 0.6359 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/22.19, allocations: 256.7 kB / 9.772 GB, free: 33.14 MB / 0.6359 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/22.19, allocations: 1.605 MB / 9.774 GB, free: 31.68 MB / 0.6359 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/22.19, allocations: 0.8688 MB / 9.774 GB, free: 30.79 MB / 0.6359 GB Notification: Performance of simCode: alias equations: time 0.000496/22.19, allocations: 233.1 kB / 9.775 GB, free: 30.55 MB / 0.6359 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.296e-05/22.19, allocations: 51.36 kB / 9.775 GB, free: 30.5 MB / 0.6359 GB Notification: Performance of SimCode: time 2.5e-07/22.19, allocations: 0 / 9.775 GB, free: 30.5 MB / 0.6359 GB Notification: Performance of Templates: time 0.05545/22.25, allocations: 42.71 MB / 9.816 GB, free: 3.844 MB / 0.6515 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/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_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches