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.001574/0.001575, allocations: 180.9 kB / 8.699 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.035/2.035, allocations: 205.3 MB / 214.4 MB, free: 1.742 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.001351/0.001351, allocations: 82.7 kB / 262.4 MB, free: 1.691 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.7e-05/1.703e-05, allocations: 0 / 315.5 MB, free: 22.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1229, allocations: 47.58 MB / 363.1 MB, free: 7.086 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.54/15.66, allocations: 5.796 GB / 6.15 GB, free: 117 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/15.66, allocations: 77.78 kB / 6.15 GB, free: 117 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 16.27/31.93, allocations: 4.513 GB / 10.66 GB, free: 103.4 MB / 0.6515 GB Notification: Performance of FrontEnd: time 1.803e-06/31.93, allocations: 0 / 10.66 GB, free: 103.4 MB / 0.6515 GB Notification: Performance of Transformations before backend: time 2.583e-05/31.93, allocations: 15.19 kB / 10.66 GB, free: 103.4 MB / 0.6515 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.06098/31.99, allocations: 2.187 MB / 10.67 GB, free: 102.3 MB / 0.6515 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/31.99, allocations: 7.531 kB / 10.67 GB, free: 102.3 MB / 0.6515 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008267/31.99, allocations: 88.41 kB / 10.67 GB, free: 102.3 MB / 0.6515 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005389/31.99, allocations: 375.9 kB / 10.67 GB, free: 102.1 MB / 0.6515 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/31.99, allocations: 16.88 kB / 10.67 GB, free: 102.1 MB / 0.6515 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.962e-05/31.99, allocations: 30.03 kB / 10.67 GB, free: 102.1 MB / 0.6515 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006148/31.99, allocations: 455.6 kB / 10.67 GB, free: 102.1 MB / 0.6515 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007043/31.99, allocations: 0.5134 MB / 10.67 GB, free: 101.9 MB / 0.6515 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/31.99, allocations: 8.641 kB / 10.67 GB, free: 101.9 MB / 0.6515 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.347e-05/31.99, allocations: 0 / 10.67 GB, free: 101.9 MB / 0.6515 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/31.99, allocations: 14.47 kB / 10.67 GB, free: 101.9 MB / 0.6515 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.0062/32, allocations: 6.394 MB / 10.67 GB, free: 99.01 MB / 0.6515 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004899/32, allocations: 330.3 kB / 10.67 GB, free: 98.98 MB / 0.6515 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000224/32, allocations: 182.9 kB / 10.67 GB, free: 98.98 MB / 0.6515 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002526/32, allocations: 2.425 MB / 10.68 GB, free: 96.89 MB / 0.6515 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/32, allocations: 38.09 kB / 10.68 GB, free: 96.85 MB / 0.6515 GB Notification: Performance of pre-optimization done (n=44): time 2.805e-06/32, allocations: 0 / 10.68 GB, free: 96.85 MB / 0.6515 GB Notification: Performance of matching and sorting (n=52): time 0.01341/32.02, allocations: 2.282 MB / 10.68 GB, free: 96.48 MB / 0.6515 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/32.02, allocations: 55.56 kB / 10.68 GB, free: 96.42 MB / 0.6515 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/32.02, allocations: 242.1 kB / 10.68 GB, free: 96.32 MB / 0.6515 GB Notification: Performance of collectPreVariables (initialization): time 3.363e-05/32.02, allocations: 25.7 kB / 10.68 GB, free: 96.29 MB / 0.6515 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/32.02, allocations: 242.1 kB / 10.68 GB, free: 96.14 MB / 0.6515 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/32.02, allocations: 177.9 kB / 10.68 GB, free: 96.05 MB / 0.6515 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.347e-05/32.02, allocations: 3.938 kB / 10.68 GB, free: 96.04 MB / 0.6515 GB Notification: Performance of setup shared object (initialization): time 0.0001259/32.02, allocations: 352.5 kB / 10.68 GB, free: 95.73 MB / 0.6515 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/32.02, allocations: 160.7 kB / 10.68 GB, free: 95.72 MB / 0.6515 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003608/32.02, allocations: 305.2 kB / 10.68 GB, free: 95.55 MB / 0.6515 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003913/32.02, allocations: 0.5285 MB / 10.68 GB, free: 95.55 MB / 0.6515 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/32.02, allocations: 4 kB / 10.68 GB, free: 95.55 MB / 0.6515 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.004572/32.03, allocations: 0.9248 MB / 10.68 GB, free: 95.46 MB / 0.6515 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/32.03, allocations: 11.45 kB / 10.68 GB, free: 95.45 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/32.03, allocations: 3.656 kB / 10.68 GB, free: 95.45 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003353/32.03, allocations: 89.92 kB / 10.68 GB, free: 95.43 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005302/32.03, allocations: 148.9 kB / 10.68 GB, free: 95.43 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003798/32.03, allocations: 3.145 MB / 10.68 GB, free: 92.61 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004727/32.03, allocations: 40.11 kB / 10.68 GB, free: 92.61 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.547e-05/32.03, allocations: 30.42 kB / 10.68 GB, free: 92.61 MB / 0.6515 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.0001515/32.03, allocations: 124.8 kB / 10.68 GB, free: 92.5 MB / 0.6515 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.69e-05/32.03, allocations: 37.34 kB / 10.68 GB, free: 92.48 MB / 0.6515 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002176/32.03, allocations: 1.067 MB / 10.69 GB, free: 92.37 MB / 0.6515 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/32.03, allocations: 12.19 kB / 10.69 GB, free: 92.37 MB / 0.6515 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/32.03, allocations: 0 / 10.69 GB, free: 92.37 MB / 0.6515 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001714/32.04, allocations: 1.104 MB / 10.69 GB, free: 91.97 MB / 0.6515 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003069/32.04, allocations: 1.651 MB / 10.69 GB, free: 91.62 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/32.04, allocations: 0 / 10.69 GB, free: 91.62 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004043/32.04, allocations: 98.36 kB / 10.69 GB, free: 91.62 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004283/32.04, allocations: 124.5 kB / 10.69 GB, free: 91.6 MB / 0.6515 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.301e-05/32.04, allocations: 8.938 kB / 10.69 GB, free: 91.6 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007894/32.04, allocations: 1.205 MB / 10.69 GB, free: 90.56 MB / 0.6515 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/32.04, allocations: 0 / 10.69 GB, free: 90.56 MB / 0.6515 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002105/32.04, allocations: 1.178 MB / 10.69 GB, free: 90.3 MB / 0.6515 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001982/32.04, allocations: 115.6 kB / 10.69 GB, free: 90.19 MB / 0.6515 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.247e-05/32.04, allocations: 7.297 kB / 10.69 GB, free: 90.19 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003076/32.04, allocations: 24.23 kB / 10.69 GB, free: 90.18 MB / 0.6515 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.359e-05/32.04, allocations: 35.88 kB / 10.69 GB, free: 90.18 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.162e-05/32.04, allocations: 19.72 kB / 10.69 GB, free: 90.18 MB / 0.6515 GB Notification: Performance of sorting global known variables: time 0.0002281/32.04, allocations: 182.9 kB / 10.69 GB, free: 90.1 MB / 0.6515 GB Notification: Performance of sort global known variables: time 1.3e-07/32.04, allocations: 4 kB / 10.69 GB, free: 90.09 MB / 0.6515 GB Notification: Performance of remove unused functions: time 0.02038/32.06, allocations: 1.071 MB / 10.69 GB, free: 89.92 MB / 0.6515 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * 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.1536/32.22, allocations: 23.79 MB / 10.72 GB, free: 76.22 MB / 0.6515 GB Notification: Performance of simCode: created initialization part: time 0.00154/32.22, allocations: 0.6557 MB / 10.72 GB, free: 75.77 MB / 0.6515 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/32.22, allocations: 0 / 10.72 GB, free: 75.77 MB / 0.6515 GB Notification: Performance of simCode: created simulation system equations: time 0.0004617/32.22, allocations: 335.7 kB / 10.72 GB, free: 75.58 MB / 0.6515 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/32.22, allocations: 210.4 kB / 10.72 GB, free: 75.46 MB / 0.6515 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/32.22, allocations: 0.9933 MB / 10.72 GB, free: 74.68 MB / 0.6515 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/32.22, allocations: 0.8653 MB / 10.72 GB, free: 73.86 MB / 0.6515 GB Notification: Performance of simCode: alias equations: time 0.0004973/32.22, allocations: 284.8 kB / 10.72 GB, free: 73.68 MB / 0.6515 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.269e-05/32.22, allocations: 50.09 kB / 10.72 GB, free: 73.64 MB / 0.6515 GB Notification: Performance of SimCode: time 3.91e-07/32.22, allocations: 3.938 kB / 10.72 GB, free: 73.63 MB / 0.6515 GB Notification: Performance of Templates: time 0.04611/32.27, allocations: 35.9 MB / 10.75 GB, free: 50.54 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/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