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.001046/0.001046, allocations: 181.5 kB / 17.41 MB, free: 4.387 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.566/1.566, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.0007865/0.0007865, allocations: 85.08 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004103/0.0004103, allocations: 12 kB / 328.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2904, allocations: 47.57 MB / 375.7 MB, free: 45.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.52/11.81, allocations: 5.796 GB / 6.163 GB, free: 14.99 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/11.81, allocations: 75.95 kB / 6.163 GB, free: 14.91 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 10.65/22.47, allocations: 3.553 GB / 9.716 GB, free: 80.36 MB / 0.6359 GB Notification: Performance of FrontEnd: time 2.454e-06/22.47, allocations: 0 / 9.716 GB, free: 80.36 MB / 0.6359 GB Notification: Performance of Transformations before backend: time 3.946e-05/22.47, allocations: 13.77 kB / 9.716 GB, free: 80.36 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.05915/22.53, allocations: 2.225 MB / 9.718 GB, free: 78.6 MB / 0.6359 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/22.53, allocations: 8.031 kB / 9.718 GB, free: 78.59 MB / 0.6359 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008994/22.53, allocations: 99.3 kB / 9.719 GB, free: 78.51 MB / 0.6359 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000737/22.53, allocations: 380.7 kB / 9.719 GB, free: 78.24 MB / 0.6359 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.278e-05/22.53, allocations: 34.38 kB / 9.719 GB, free: 78.22 MB / 0.6359 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/22.53, allocations: 48.62 kB / 9.719 GB, free: 78.19 MB / 0.6359 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/22.53, allocations: 0.616 MB / 9.72 GB, free: 77.8 MB / 0.6359 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.225e-05/22.53, allocations: 6.531 kB / 9.72 GB, free: 77.8 MB / 0.6359 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.831e-05/22.53, allocations: 22.56 kB / 9.72 GB, free: 77.8 MB / 0.6359 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/22.53, allocations: 14.16 kB / 9.72 GB, free: 77.79 MB / 0.6359 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/22.53, allocations: 0.528 MB / 9.72 GB, free: 77.51 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.006934/22.54, allocations: 6.074 MB / 9.726 GB, free: 72.58 MB / 0.6359 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/22.54, allocations: 436.5 kB / 9.727 GB, free: 72.34 MB / 0.6359 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000298/22.54, allocations: 211.5 kB / 9.727 GB, free: 72.22 MB / 0.6359 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00292/22.54, allocations: 2.823 MB / 9.729 GB, free: 69.19 MB / 0.6359 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/22.54, allocations: 38.5 kB / 9.73 GB, free: 69.15 MB / 0.6359 GB Notification: Performance of pre-optimization done (n=46): time 3.827e-06/22.54, allocations: 0 / 9.73 GB, free: 69.15 MB / 0.6359 GB Notification: Performance of matching and sorting (n=54): time 0.00948/22.55, allocations: 2.018 MB / 9.731 GB, free: 67.77 MB / 0.6359 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/22.55, allocations: 59.84 kB / 9.732 GB, free: 67.7 MB / 0.6359 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000399/22.55, allocations: 309.8 kB / 9.732 GB, free: 67.48 MB / 0.6359 GB Notification: Performance of collectPreVariables (initialization): time 5.992e-05/22.55, allocations: 32.77 kB / 9.732 GB, free: 67.45 MB / 0.6359 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/22.55, allocations: 238.2 kB / 9.732 GB, free: 67.29 MB / 0.6359 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/22.55, allocations: 191.2 kB / 9.732 GB, free: 67.18 MB / 0.6359 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.909e-05/22.55, allocations: 8.938 kB / 9.732 GB, free: 67.18 MB / 0.6359 GB Notification: Performance of setup shared object (initialization): time 9.664e-05/22.55, allocations: 351.2 kB / 9.733 GB, free: 66.85 MB / 0.6359 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002917/22.55, allocations: 180.4 kB / 9.733 GB, free: 66.77 MB / 0.6359 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003538/22.55, allocations: 327.5 kB / 9.733 GB, free: 66.5 MB / 0.6359 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000697/22.55, allocations: 0.546 MB / 9.734 GB, free: 66.11 MB / 0.6359 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/22.55, allocations: 0 / 9.734 GB, free: 66.11 MB / 0.6359 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001292/22.55, allocations: 0.6684 MB / 9.734 GB, free: 65.67 MB / 0.6359 GB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/22.55, allocations: 8 kB / 9.734 GB, free: 65.66 MB / 0.6359 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/22.55, allocations: 4 kB / 9.734 GB, free: 65.66 MB / 0.6359 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01381/22.57, allocations: 0.5562 MB / 9.735 GB, free: 65.35 MB / 0.6359 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006597/22.57, allocations: 139.5 kB / 9.735 GB, free: 65.23 MB / 0.6359 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/22.57, allocations: 2.99 MB / 9.738 GB, free: 62.2 MB / 0.6359 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006187/22.57, allocations: 54.11 kB / 9.738 GB, free: 62.16 MB / 0.6359 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-05/22.57, allocations: 26.56 kB / 9.738 GB, free: 62.14 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.0003402/22.57, allocations: 194.4 kB / 9.738 GB, free: 61.99 MB / 0.6359 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/22.57, allocations: 43.53 kB / 9.738 GB, free: 61.95 MB / 0.6359 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/22.57, allocations: 1.061 MB / 9.739 GB, free: 61.35 MB / 0.6359 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/22.57, allocations: 11.55 kB / 9.739 GB, free: 61.34 MB / 0.6359 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/22.57, allocations: 4 kB / 9.739 GB, free: 61.34 MB / 0.6359 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001029/22.57, allocations: 1.086 MB / 9.74 GB, free: 60.55 MB / 0.6359 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002252/22.58, allocations: 1.722 MB / 9.742 GB, free: 59.57 MB / 0.6359 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/22.58, allocations: 4 kB / 9.742 GB, free: 59.57 MB / 0.6359 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003755/22.58, allocations: 100.7 kB / 9.742 GB, free: 59.49 MB / 0.6359 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003346/22.58, allocations: 395.7 kB / 9.742 GB, free: 59.3 MB / 0.6359 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.043e-05/22.58, allocations: 21.52 kB / 9.742 GB, free: 59.3 MB / 0.6359 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000534/22.58, allocations: 1.143 MB / 9.744 GB, free: 58.18 MB / 0.6359 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/22.58, allocations: 7.969 kB / 9.744 GB, free: 58.18 MB / 0.6359 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001435/22.58, allocations: 1.12 MB / 9.745 GB, free: 57.49 MB / 0.6359 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002381/22.58, allocations: 141.7 kB / 9.745 GB, free: 57.35 MB / 0.6359 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/22.58, allocations: 14.56 kB / 9.745 GB, free: 57.35 MB / 0.6359 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003678/22.58, allocations: 24.45 kB / 9.745 GB, free: 57.34 MB / 0.6359 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.497e-05/22.58, allocations: 33.97 kB / 9.745 GB, free: 57.31 MB / 0.6359 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.55e-05/22.58, allocations: 29.91 kB / 9.745 GB, free: 57.3 MB / 0.6359 GB Notification: Performance of sorting global known variables: time 0.0002835/22.58, allocations: 242.7 kB / 9.745 GB, free: 57.13 MB / 0.6359 GB Notification: Performance of sort global known variables: time 2.81e-07/22.58, allocations: 0 / 9.745 GB, free: 57.13 MB / 0.6359 GB Notification: Performance of remove unused functions: time 0.02084/22.6, allocations: 1.116 MB / 9.746 GB, free: 56.22 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.1623/22.77, allocations: 23.69 MB / 9.769 GB, free: 32.99 MB / 0.6359 GB Notification: Performance of simCode: created initialization part: time 0.001503/22.77, allocations: 0.6941 MB / 9.77 GB, free: 32.46 MB / 0.6359 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/22.77, allocations: 4.062 kB / 9.77 GB, free: 32.46 MB / 0.6359 GB Notification: Performance of simCode: created simulation system equations: time 0.0004954/22.77, allocations: 371.6 kB / 9.77 GB, free: 32.22 MB / 0.6359 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/22.77, allocations: 248.2 kB / 9.771 GB, free: 32.03 MB / 0.6359 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/22.77, allocations: 1.654 MB / 9.772 GB, free: 30.52 MB / 0.6359 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/22.77, allocations: 0.8688 MB / 9.773 GB, free: 29.62 MB / 0.6359 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/22.77, allocations: 55.36 kB / 9.773 GB, free: 29.57 MB / 0.6359 GB Notification: Performance of SimCode: time 8.71e-07/22.77, allocations: 0 / 9.773 GB, free: 29.57 MB / 0.6359 GB Notification: Performance of Templates: time 0.0606/22.83, allocations: 45.04 MB / 9.817 GB, free: 0.6445 MB / 0.6515 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