Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001583/0.001583, allocations: 186.2 kB / 16.41 MB, free: 5.727 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.931/1.931, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001137/0.001136, allocations: 96.36 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003859/0.000386, allocations: 12 kB / 327 MB, free: 232 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3363, allocations: 47.56 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.82/17.16, allocations: 5.796 GB / 6.162 GB, free: 111.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/17.16, allocations: 73.23 kB / 6.162 GB, free: 111.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 18.83/35.99, allocations: 4.507 GB / 10.67 GB, free: 109.2 MB / 0.6513 GB Notification: Performance of FrontEnd: time 2.545e-06/35.99, allocations: 1.781 kB / 10.67 GB, free: 109.2 MB / 0.6513 GB Notification: Performance of Transformations before backend: time 3.354e-05/35.99, allocations: 11.44 kB / 10.67 GB, free: 109.2 MB / 0.6513 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.06217/36.05, allocations: 2.236 MB / 10.67 GB, free: 108.1 MB / 0.6513 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/36.05, allocations: 8 kB / 10.67 GB, free: 108.1 MB / 0.6513 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009616/36.05, allocations: 91.88 kB / 10.67 GB, free: 108.1 MB / 0.6513 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006415/36.05, allocations: 383.3 kB / 10.67 GB, free: 107.9 MB / 0.6513 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.347e-05/36.05, allocations: 33.69 kB / 10.67 GB, free: 107.9 MB / 0.6513 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.843e-05/36.05, allocations: 46.5 kB / 10.67 GB, free: 107.9 MB / 0.6513 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/36.05, allocations: 0.6103 MB / 10.67 GB, free: 107.7 MB / 0.6513 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.049e-05/36.05, allocations: 3.938 kB / 10.67 GB, free: 107.7 MB / 0.6513 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.97e-05/36.05, allocations: 25.88 kB / 10.67 GB, free: 107.7 MB / 0.6513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/36.05, allocations: 10.56 kB / 10.67 GB, free: 107.7 MB / 0.6513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/36.06, allocations: 0.5281 MB / 10.67 GB, free: 107.7 MB / 0.6513 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.00948/36.07, allocations: 6.077 MB / 10.68 GB, free: 105.1 MB / 0.6513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/36.07, allocations: 440.3 kB / 10.68 GB, free: 105.1 MB / 0.6513 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004476/36.07, allocations: 2.829 MB / 10.68 GB, free: 102.6 MB / 0.6513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/36.07, allocations: 45.58 kB / 10.68 GB, free: 102.6 MB / 0.6513 GB Notification: Performance of pre-optimization done (n=46): time 3.006e-06/36.07, allocations: 0 / 10.68 GB, free: 102.6 MB / 0.6513 GB Notification: Performance of matching and sorting (n=54): time 0.01361/36.09, allocations: 2.019 MB / 10.68 GB, free: 102.1 MB / 0.6513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/36.09, allocations: 60.34 kB / 10.68 GB, free: 102 MB / 0.6513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003983/36.09, allocations: 270.7 kB / 10.68 GB, free: 101.9 MB / 0.6513 GB Notification: Performance of collectPreVariables (initialization): time 6.169e-05/36.09, allocations: 37.3 kB / 10.68 GB, free: 101.9 MB / 0.6513 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/36.09, allocations: 290.4 kB / 10.68 GB, free: 101.7 MB / 0.6513 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/36.09, allocations: 187.7 kB / 10.68 GB, free: 101.6 MB / 0.6513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-05/36.09, allocations: 13.16 kB / 10.68 GB, free: 101.6 MB / 0.6513 GB Notification: Performance of setup shared object (initialization): time 7.567e-05/36.09, allocations: 334.8 kB / 10.68 GB, free: 101.3 MB / 0.6513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004388/36.09, allocations: 177.3 kB / 10.68 GB, free: 101.3 MB / 0.6513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005158/36.09, allocations: 327.4 kB / 10.69 GB, free: 101.1 MB / 0.6513 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005599/36.09, allocations: 232.6 kB / 10.69 GB, free: 101.1 MB / 0.6513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/36.09, allocations: 0 / 10.69 GB, free: 101.1 MB / 0.6513 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001932/36.09, allocations: 0.6518 MB / 10.69 GB, free: 101 MB / 0.6513 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/36.09, allocations: 5.156 kB / 10.69 GB, free: 101 MB / 0.6513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/36.09, allocations: 5.188 kB / 10.69 GB, free: 101 MB / 0.6513 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02461/36.11, allocations: 0.5556 MB / 10.69 GB, free: 101 MB / 0.6513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/36.12, allocations: 137.7 kB / 10.69 GB, free: 101 MB / 0.6513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/36.12, allocations: 3.006 MB / 10.69 GB, free: 98.05 MB / 0.6513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007788/36.12, allocations: 51.77 kB / 10.69 GB, free: 98.05 MB / 0.6513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-05/36.12, allocations: 28.61 kB / 10.69 GB, free: 98.05 MB / 0.6513 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.0003856/36.12, allocations: 183.9 kB / 10.69 GB, free: 97.93 MB / 0.6513 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/36.12, allocations: 45.52 kB / 10.69 GB, free: 97.91 MB / 0.6513 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002327/36.12, allocations: 1.068 MB / 10.69 GB, free: 97.76 MB / 0.6513 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/36.12, allocations: 15.14 kB / 10.69 GB, free: 97.76 MB / 0.6513 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/36.12, allocations: 0 / 10.69 GB, free: 97.76 MB / 0.6513 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001667/36.12, allocations: 1.09 MB / 10.69 GB, free: 97.36 MB / 0.6513 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003316/36.13, allocations: 1.724 MB / 10.69 GB, free: 97 MB / 0.6513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/36.13, allocations: 3.938 kB / 10.69 GB, free: 97 MB / 0.6513 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007334/36.13, allocations: 104.3 kB / 10.69 GB, free: 96.99 MB / 0.6513 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006679/36.13, allocations: 388 kB / 10.69 GB, free: 96.96 MB / 0.6513 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001226/36.13, allocations: 17.19 kB / 10.69 GB, free: 96.96 MB / 0.6513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007159/36.14, allocations: 1.144 MB / 10.7 GB, free: 95.92 MB / 0.6513 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/36.14, allocations: 0 / 10.7 GB, free: 95.92 MB / 0.6513 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002268/36.14, allocations: 1.136 MB / 10.7 GB, free: 95.38 MB / 0.6513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002726/36.14, allocations: 132.5 kB / 10.7 GB, free: 95.25 MB / 0.6513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/36.14, allocations: 15.44 kB / 10.7 GB, free: 95.25 MB / 0.6513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005511/36.14, allocations: 28.45 kB / 10.7 GB, free: 95.23 MB / 0.6513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.746e-05/36.14, allocations: 43.59 kB / 10.7 GB, free: 95.21 MB / 0.6513 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.31e-05/36.14, allocations: 25.09 kB / 10.7 GB, free: 95.19 MB / 0.6513 GB Notification: Performance of sorting global known variables: time 0.0003776/36.14, allocations: 248.5 kB / 10.7 GB, free: 95.02 MB / 0.6513 GB Notification: Performance of sort global known variables: time 4.41e-07/36.14, allocations: 0 / 10.7 GB, free: 95.02 MB / 0.6513 GB Notification: Performance of remove unused functions: time 0.02185/36.16, allocations: 1.119 MB / 10.7 GB, free: 94.11 MB / 0.6513 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.2315/36.39, allocations: 23.67 MB / 10.72 GB, free: 71.11 MB / 0.6513 GB Notification: Performance of simCode: created initialization part: time 0.00207/36.39, allocations: 0.6995 MB / 10.72 GB, free: 70.63 MB / 0.6513 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/36.39, allocations: 4.062 kB / 10.72 GB, free: 70.63 MB / 0.6513 GB Notification: Performance of simCode: created simulation system equations: time 0.0009164/36.4, allocations: 367.2 kB / 10.72 GB, free: 70.43 MB / 0.6513 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002456/36.4, allocations: 248.2 kB / 10.72 GB, free: 70.3 MB / 0.6513 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003322/36.4, allocations: 1.636 MB / 10.72 GB, free: 68.96 MB / 0.6513 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/36.4, allocations: 0.8805 MB / 10.72 GB, free: 68.13 MB / 0.6513 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002809/36.4, allocations: 54.48 kB / 10.72 GB, free: 68.08 MB / 0.6513 GB Notification: Performance of SimCode: time 1.573e-06/36.4, allocations: 0 / 10.72 GB, free: 68.08 MB / 0.6513 GB Notification: Performance of Templates: time 0.08588/36.49, allocations: 46.12 MB / 10.77 GB, free: 30.42 MB / 0.6513 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches