Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.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.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00172/0.00172, allocations: 183.9 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.552/1.552, allocations: 205.4 MB / 224.2 MB, free: 9.023 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.0008435/0.0008434, allocations: 90.36 kB / 272.5 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003245/0.0003247, allocations: 8 kB / 329.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2764, allocations: 47.57 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.68/11.96, allocations: 5.796 GB / 6.164 GB, free: 14.21 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001942/11.96, allocations: 80.56 kB / 6.164 GB, free: 14.14 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.911/19.87, allocations: 2.756 GB / 8.92 GB, free: 1.125 MB / 0.6046 GB Notification: Performance of FrontEnd: time 2.234e-06/19.87, allocations: 0 / 8.92 GB, free: 1.125 MB / 0.6046 GB Notification: Performance of Transformations before backend: time 2.928e-05/19.87, allocations: 8 kB / 8.92 GB, free: 1.117 MB / 0.6046 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0334/19.9, allocations: 1.699 MB / 8.922 GB, free: 15.58 MB / 0.6203 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/19.9, allocations: 8.031 kB / 8.922 GB, free: 15.57 MB / 0.6203 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006401/19.9, allocations: 72.44 kB / 8.922 GB, free: 15.5 MB / 0.6203 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000582/19.9, allocations: 319.4 kB / 8.922 GB, free: 15.16 MB / 0.6203 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.124e-05/19.9, allocations: 21.03 kB / 8.922 GB, free: 15.14 MB / 0.6203 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.998e-05/19.9, allocations: 36.38 kB / 8.922 GB, free: 15.11 MB / 0.6203 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009756/19.9, allocations: 464.5 kB / 8.923 GB, free: 14.62 MB / 0.6203 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/19.9, allocations: 7.922 kB / 8.923 GB, free: 14.61 MB / 0.6203 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.254e-05/19.9, allocations: 23.94 kB / 8.923 GB, free: 14.59 MB / 0.6203 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/19.9, allocations: 8 kB / 8.923 GB, free: 14.58 MB / 0.6203 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008162/19.91, allocations: 390.3 kB / 8.923 GB, free: 14.2 MB / 0.6203 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.006884/19.91, allocations: 5.206 MB / 8.928 GB, free: 8.754 MB / 0.6203 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007149/19.91, allocations: 292.3 kB / 8.929 GB, free: 8.465 MB / 0.6203 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002281/19.91, allocations: 138.6 kB / 8.929 GB, free: 8.328 MB / 0.6203 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002647/19.92, allocations: 2.047 MB / 8.931 GB, free: 5.93 MB / 0.6203 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/19.92, allocations: 34.56 kB / 8.931 GB, free: 5.887 MB / 0.6203 GB Notification: Performance of pre-optimization done (n=30): time 8.607e-06/19.92, allocations: 0 / 8.931 GB, free: 5.887 MB / 0.6203 GB Notification: Performance of matching and sorting (n=34): time 0.005231/19.92, allocations: 1.29 MB / 8.932 GB, free: 4.535 MB / 0.6203 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/19.92, allocations: 59.34 kB / 8.932 GB, free: 4.465 MB / 0.6203 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003503/19.92, allocations: 264.5 kB / 8.932 GB, free: 4.203 MB / 0.6203 GB Notification: Performance of collectPreVariables (initialization): time 4.746e-05/19.92, allocations: 33.7 kB / 8.932 GB, free: 4.164 MB / 0.6203 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/19.92, allocations: 184.1 kB / 8.933 GB, free: 3.988 MB / 0.6203 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/19.92, allocations: 126.2 kB / 8.933 GB, free: 3.879 MB / 0.6203 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.955e-05/19.92, allocations: 8 kB / 8.933 GB, free: 3.871 MB / 0.6203 GB Notification: Performance of setup shared object (initialization): time 0.0001345/19.92, allocations: 342.8 kB / 8.933 GB, free: 3.527 MB / 0.6203 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002115/19.92, allocations: 104.8 kB / 8.933 GB, free: 3.426 MB / 0.6203 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003037/19.92, allocations: 230 kB / 8.933 GB, free: 3.148 MB / 0.6203 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005407/19.92, allocations: 378.6 kB / 8.934 GB, free: 2.734 MB / 0.6203 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/19.92, allocations: 0 / 8.934 GB, free: 2.734 MB / 0.6203 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008754/19.92, allocations: 454.6 kB / 8.934 GB, free: 2.277 MB / 0.6203 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/19.92, allocations: 4 kB / 8.934 GB, free: 2.273 MB / 0.6203 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/19.92, allocations: 4 kB / 8.934 GB, free: 2.27 MB / 0.6203 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006236/19.93, allocations: 301.7 kB / 8.934 GB, free: 1.969 MB / 0.6203 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005398/19.93, allocations: 87.84 kB / 8.935 GB, free: 1.883 MB / 0.6203 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3365/20.27, allocations: 1.844 MB / 8.936 GB, free: 140.6 MB / 0.6203 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004773/20.27, allocations: 28.33 kB / 8.936 GB, free: 140.6 MB / 0.6203 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-05/20.27, allocations: 22.38 kB / 8.936 GB, free: 140.6 MB / 0.6203 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.0002718/20.27, allocations: 164.6 kB / 8.937 GB, free: 140.5 MB / 0.6203 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.252e-05/20.27, allocations: 32.5 kB / 8.937 GB, free: 140.5 MB / 0.6203 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/20.27, allocations: 0.6867 MB / 8.937 GB, free: 140.4 MB / 0.6203 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/20.27, allocations: 11.92 kB / 8.937 GB, free: 140.4 MB / 0.6203 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/20.27, allocations: 3.75 kB / 8.937 GB, free: 140.4 MB / 0.6203 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006535/20.27, allocations: 0.8623 MB / 8.938 GB, free: 139.9 MB / 0.6203 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/20.27, allocations: 1.181 MB / 8.939 GB, free: 139.6 MB / 0.6203 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/20.27, allocations: 2.438 kB / 8.939 GB, free: 139.6 MB / 0.6203 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002486/20.27, allocations: 68.34 kB / 8.939 GB, free: 139.6 MB / 0.6203 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001771/20.27, allocations: 201.5 kB / 8.939 GB, free: 139.6 MB / 0.6203 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-05/20.27, allocations: 10.25 kB / 8.939 GB, free: 139.6 MB / 0.6203 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002862/20.27, allocations: 0.5743 MB / 8.94 GB, free: 139.1 MB / 0.6203 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/20.27, allocations: 0 / 8.94 GB, free: 139.1 MB / 0.6203 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000848/20.27, allocations: 0.7283 MB / 8.941 GB, free: 139 MB / 0.6203 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/20.28, allocations: 129.3 kB / 8.941 GB, free: 138.8 MB / 0.6203 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.461e-05/20.28, allocations: 14.31 kB / 8.941 GB, free: 138.8 MB / 0.6203 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/20.28, allocations: 15.81 kB / 8.941 GB, free: 138.8 MB / 0.6203 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.906e-05/20.28, allocations: 30.83 kB / 8.941 GB, free: 138.8 MB / 0.6203 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/20.28, allocations: 11.66 kB / 8.941 GB, free: 138.8 MB / 0.6203 GB Notification: Performance of sorting global known variables: time 0.0002012/20.28, allocations: 220.7 kB / 8.941 GB, free: 138.8 MB / 0.6203 GB Notification: Performance of sort global known variables: time 1.3e-07/20.28, allocations: 0 / 8.941 GB, free: 138.8 MB / 0.6203 GB Notification: Performance of remove unused functions: time 0.01206/20.29, allocations: 0.86 MB / 8.942 GB, free: 138.8 MB / 0.6203 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.1171/20.4, allocations: 19.05 MB / 8.961 GB, free: 129.4 MB / 0.6203 GB Notification: Performance of simCode: created initialization part: time 0.001006/20.41, allocations: 476 kB / 8.961 GB, free: 129.3 MB / 0.6203 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/20.41, allocations: 1.719 kB / 8.961 GB, free: 129.3 MB / 0.6203 GB Notification: Performance of simCode: created simulation system equations: time 0.0003538/20.41, allocations: 225.2 kB / 8.961 GB, free: 129.3 MB / 0.6203 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/20.41, allocations: 180 kB / 8.961 GB, free: 129.3 MB / 0.6203 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/20.41, allocations: 1.086 MB / 8.963 GB, free: 128.8 MB / 0.6203 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/20.41, allocations: 0.8008 MB / 8.963 GB, free: 128.1 MB / 0.6203 GB Notification: Performance of simCode: alias equations: time 0.0004254/20.41, allocations: 190.8 kB / 8.963 GB, free: 128.1 MB / 0.6203 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.512e-05/20.41, allocations: 39.64 kB / 8.964 GB, free: 128.1 MB / 0.6203 GB Notification: Performance of SimCode: time 5.31e-07/20.41, allocations: 0 / 8.964 GB, free: 128.1 MB / 0.6203 GB Notification: Performance of Templates: time 0.04354/20.45, allocations: 33.76 MB / 8.996 GB, free: 125.9 MB / 0.6203 GB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches