Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Media.Examples.R134a.R134a2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002443/0.002442, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.596/1.596, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009531/0.0009531, allocations: 93.77 kB / 292.1 MB, free: 5.945 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.67e-05/4.673e-05, allocations: 0 / 350.5 MB, free: 2.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.135, allocations: 51.48 MB / 402 MB, free: 14.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.67/15.8, allocations: 5.751 GB / 6.144 GB, free: 59.57 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001919/15.8, allocations: 71.69 kB / 6.144 GB, free: 59.54 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 13.51/29.31, allocations: 3.746 GB / 9.89 GB, free: 99.19 MB / 0.6828 GB Notification: Performance of FrontEnd: time 2.405e-06/29.31, allocations: 0.8125 kB / 9.89 GB, free: 99.19 MB / 0.6828 GB Notification: Performance of Transformations before backend: time 3.075e-05/29.31, allocations: 15 kB / 9.89 GB, free: 99.19 MB / 0.6828 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.05096/29.36, allocations: 2.19 MB / 9.892 GB, free: 98.36 MB / 0.6828 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/29.36, allocations: 10.61 kB / 9.892 GB, free: 98.36 MB / 0.6828 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008894/29.36, allocations: 92.97 kB / 9.892 GB, free: 98.33 MB / 0.6828 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005913/29.36, allocations: 381.4 kB / 9.892 GB, free: 98.12 MB / 0.6828 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.966e-05/29.36, allocations: 35.08 kB / 9.892 GB, free: 98.11 MB / 0.6828 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.663e-05/29.36, allocations: 47.72 kB / 9.892 GB, free: 98.11 MB / 0.6828 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/29.36, allocations: 0.6168 MB / 9.893 GB, free: 97.96 MB / 0.6828 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/29.36, allocations: 7.781 kB / 9.893 GB, free: 97.96 MB / 0.6828 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.289e-05/29.36, allocations: 21.38 kB / 9.893 GB, free: 97.96 MB / 0.6828 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-05/29.36, allocations: 12.52 kB / 9.893 GB, free: 97.96 MB / 0.6828 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/29.37, allocations: 0.5247 MB / 9.894 GB, free: 97.95 MB / 0.6828 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.007628/29.37, allocations: 6.082 MB / 9.9 GB, free: 95.37 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009388/29.37, allocations: 426.8 kB / 9.9 GB, free: 95.35 MB / 0.6828 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002788/29.37, allocations: 201.9 kB / 9.9 GB, free: 95.34 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003006/29.38, allocations: 2.838 MB / 9.903 GB, free: 92.88 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/29.38, allocations: 43.25 kB / 9.903 GB, free: 92.84 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=46): time 2.134e-06/29.38, allocations: 0 / 9.903 GB, free: 92.84 MB / 0.6828 GB Notification: Performance of matching and sorting (n=54): time 0.008276/29.39, allocations: 1.806 MB / 9.905 GB, free: 92.46 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/29.39, allocations: 61.83 kB / 9.905 GB, free: 92.39 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003028/29.39, allocations: 274.2 kB / 9.905 GB, free: 92.29 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/29.39, allocations: 35.17 kB / 9.905 GB, free: 92.25 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/29.39, allocations: 241.6 kB / 9.905 GB, free: 92.12 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/29.39, allocations: 193.5 kB / 9.906 GB, free: 92.02 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/29.39, allocations: 10.97 kB / 9.906 GB, free: 92.02 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 7.781e-05/29.39, allocations: 350.6 kB / 9.906 GB, free: 91.71 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002668/29.39, allocations: 169.6 kB / 9.906 GB, free: 91.7 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003109/29.39, allocations: 320.7 kB / 9.906 GB, free: 91.54 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003734/29.39, allocations: 228.4 kB / 9.907 GB, free: 91.53 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/29.39, allocations: 1.375 kB / 9.907 GB, free: 91.53 MB / 0.6828 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001164/29.39, allocations: 0.6594 MB / 9.907 GB, free: 91.44 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/29.39, allocations: 7.219 kB / 9.907 GB, free: 91.44 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/29.39, allocations: 6.406 kB / 9.907 GB, free: 91.44 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01393/29.4, allocations: 0.5522 MB / 9.908 GB, free: 91.41 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006614/29.4, allocations: 144.3 kB / 9.908 GB, free: 91.41 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00149/29.4, allocations: 2.984 MB / 9.911 GB, free: 88.54 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005232/29.41, allocations: 47.55 kB / 9.911 GB, free: 88.53 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-05/29.41, allocations: 29.12 kB / 9.911 GB, free: 88.53 MB / 0.6828 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 () * 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.0001484/29.41, allocations: 143.7 kB / 9.911 GB, free: 88.43 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.798e-05/29.41, allocations: 46.58 kB / 9.911 GB, free: 88.4 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/29.41, allocations: 1.051 MB / 9.912 GB, free: 88.3 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/29.41, allocations: 13.03 kB / 9.912 GB, free: 88.3 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/29.41, allocations: 0 / 9.912 GB, free: 88.3 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001033/29.41, allocations: 1.072 MB / 9.913 GB, free: 87.9 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001965/29.41, allocations: 1.717 MB / 9.915 GB, free: 87.55 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/29.41, allocations: 0 / 9.915 GB, free: 87.55 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003722/29.41, allocations: 102.5 kB / 9.915 GB, free: 87.55 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003469/29.41, allocations: 388.5 kB / 9.915 GB, free: 87.52 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.615e-05/29.41, allocations: 15.73 kB / 9.915 GB, free: 87.52 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004828/29.41, allocations: 1.143 MB / 9.916 GB, free: 86.48 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/29.41, allocations: 2.719 kB / 9.916 GB, free: 86.48 MB / 0.6828 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/29.42, allocations: 1.105 MB / 9.918 GB, free: 86.28 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002007/29.42, allocations: 144.2 kB / 9.918 GB, free: 86.16 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.926e-05/29.42, allocations: 10.16 kB / 9.918 GB, free: 86.16 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003723/29.42, allocations: 35.27 kB / 9.918 GB, free: 86.15 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.409e-05/29.42, allocations: 37.62 kB / 9.918 GB, free: 86.14 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-05/29.42, allocations: 23.3 kB / 9.918 GB, free: 86.14 MB / 0.6828 GB Notification: Performance of sorting global known variables: time 0.0002415/29.42, allocations: 243.6 kB / 9.918 GB, free: 86.06 MB / 0.6828 GB Notification: Performance of sort global known variables: time 1.31e-07/29.42, allocations: 0 / 9.918 GB, free: 86.06 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.01733/29.43, allocations: 1.13 MB / 9.919 GB, free: 85.88 MB / 0.6828 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 () * 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.1382/29.57, allocations: 23.7 MB / 9.942 GB, free: 73.77 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.001522/29.57, allocations: 0.6933 MB / 9.943 GB, free: 73.64 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/29.57, allocations: 0 / 9.943 GB, free: 73.64 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.0006179/29.57, allocations: 370.5 kB / 9.943 GB, free: 73.64 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/29.58, allocations: 253.9 kB / 9.944 GB, free: 73.62 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/29.58, allocations: 1.037 MB / 9.945 GB, free: 73.22 MB / 0.6828 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/29.58, allocations: 0.8784 MB / 9.945 GB, free: 72.52 MB / 0.6828 GB Notification: Performance of simCode: alias equations: time 0.0005354/29.58, allocations: 233.7 kB / 9.946 GB, free: 72.49 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/29.58, allocations: 49.7 kB / 9.946 GB, free: 72.48 MB / 0.6828 GB Notification: Performance of SimCode: time 8.11e-07/29.58, allocations: 5.469 kB / 9.946 GB, free: 72.48 MB / 0.6828 GB Notification: Performance of Templates: time 0.05627/29.64, allocations: 43.71 MB / 9.988 GB, free: 67.82 MB / 0.6828 GB make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_trunk_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches