Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 221.5 MB / 230.3 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009078/0.0009078, allocations: 85.66 kB / 281.2 MB, free: 5.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.356e-05/1.36e-05, allocations: 0 / 337 MB, free: 10.05 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1115, allocations: 50.42 MB / 387.4 MB, free: 7.594 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.77/13.88, allocations: 5.75 GB / 6.128 GB, free: 114.8 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/13.88, allocations: 73.56 kB / 6.128 GB, free: 114.8 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.441/23.32, allocations: 2.876 GB / 9.004 GB, free: 112 MB / 0.6359 GB Notification: Performance of FrontEnd: time 1.903e-06/23.32, allocations: 0 / 9.004 GB, free: 112 MB / 0.6359 GB Notification: Performance of Transformations before backend: time 3.031e-05/23.32, allocations: 5.875 kB / 9.004 GB, free: 112 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.04689/23.37, allocations: 1.672 MB / 9.006 GB, free: 110.6 MB / 0.6359 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/23.37, allocations: 12.03 kB / 9.006 GB, free: 110.6 MB / 0.6359 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006216/23.37, allocations: 63.3 kB / 9.006 GB, free: 110.6 MB / 0.6359 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004138/23.37, allocations: 318.2 kB / 9.006 GB, free: 110.3 MB / 0.6359 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/23.37, allocations: 12 kB / 9.006 GB, free: 110.3 MB / 0.6359 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.239e-05/23.37, allocations: 23.33 kB / 9.006 GB, free: 110.3 MB / 0.6359 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004477/23.37, allocations: 322.1 kB / 9.006 GB, free: 110.1 MB / 0.6359 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004799/23.37, allocations: 385.9 kB / 9.007 GB, free: 109.8 MB / 0.6359 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/23.37, allocations: 0 / 9.007 GB, free: 109.8 MB / 0.6359 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.384e-05/23.37, allocations: 5.125 kB / 9.007 GB, free: 109.8 MB / 0.6359 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/23.37, allocations: 8 kB / 9.007 GB, free: 109.8 MB / 0.6359 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.005446/23.38, allocations: 5.559 MB / 9.012 GB, free: 105.2 MB / 0.6359 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002909/23.38, allocations: 212.2 kB / 9.012 GB, free: 105 MB / 0.6359 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/23.38, allocations: 112.2 kB / 9.012 GB, free: 105 MB / 0.6359 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001651/23.38, allocations: 1.652 MB / 9.014 GB, free: 103.2 MB / 0.6359 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/23.38, allocations: 39.12 kB / 9.014 GB, free: 103.2 MB / 0.6359 GB Notification: Performance of pre-optimization done (n=28): time 2.524e-06/23.38, allocations: 4 kB / 9.014 GB, free: 103.2 MB / 0.6359 GB Notification: Performance of matching and sorting (n=32): time 0.007811/23.39, allocations: 1.419 MB / 9.015 GB, free: 102.2 MB / 0.6359 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/23.39, allocations: 55.41 kB / 9.016 GB, free: 102.1 MB / 0.6359 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/23.39, allocations: 208 kB / 9.016 GB, free: 102 MB / 0.6359 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/23.39, allocations: 29.7 kB / 9.016 GB, free: 101.9 MB / 0.6359 GB Notification: Performance of collectInitialEqns (initialization): time 9.367e-05/23.39, allocations: 200 kB / 9.016 GB, free: 101.8 MB / 0.6359 GB Notification: Performance of collectInitialBindings (initialization): time 6.891e-05/23.39, allocations: 110.3 kB / 9.016 GB, free: 101.7 MB / 0.6359 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.52e-05/23.39, allocations: 3.094 kB / 9.016 GB, free: 101.7 MB / 0.6359 GB Notification: Performance of setup shared object (initialization): time 6.785e-05/23.39, allocations: 336.1 kB / 9.016 GB, free: 101.4 MB / 0.6359 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/23.39, allocations: 101.5 kB / 9.016 GB, free: 101.3 MB / 0.6359 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001971/23.39, allocations: 215.5 kB / 9.017 GB, free: 101.1 MB / 0.6359 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002188/23.39, allocations: 331.9 kB / 9.017 GB, free: 101 MB / 0.6359 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/23.39, allocations: 3.938 kB / 9.017 GB, free: 101 MB / 0.6359 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002764/23.39, allocations: 0.582 MB / 9.018 GB, free: 100.6 MB / 0.6359 GB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/23.39, allocations: 11.95 kB / 9.018 GB, free: 100.6 MB / 0.6359 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/23.39, allocations: 4 kB / 9.018 GB, free: 100.6 MB / 0.6359 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003227/23.39, allocations: 61.78 kB / 9.018 GB, free: 100.5 MB / 0.6359 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004898/23.4, allocations: 89.25 kB / 9.018 GB, free: 100.4 MB / 0.6359 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003479/23.4, allocations: 1.89 MB / 9.02 GB, free: 98.55 MB / 0.6359 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000504/23.4, allocations: 29.81 kB / 9.02 GB, free: 98.53 MB / 0.6359 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.377e-05/23.4, allocations: 14.38 kB / 9.02 GB, free: 98.52 MB / 0.6359 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 () * 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.0001548/23.4, allocations: 129 kB / 9.02 GB, free: 98.39 MB / 0.6359 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.333e-05/23.4, allocations: 27.72 kB / 9.02 GB, free: 98.37 MB / 0.6359 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002352/23.4, allocations: 0.6801 MB / 9.02 GB, free: 97.98 MB / 0.6359 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/23.4, allocations: 7.938 kB / 9.02 GB, free: 97.97 MB / 0.6359 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/23.4, allocations: 0 / 9.02 GB, free: 97.97 MB / 0.6359 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001833/23.4, allocations: 0.8547 MB / 9.021 GB, free: 97.26 MB / 0.6359 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002706/23.41, allocations: 1.113 MB / 9.022 GB, free: 96.56 MB / 0.6359 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/23.41, allocations: 4.031 kB / 9.022 GB, free: 96.56 MB / 0.6359 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003283/23.41, allocations: 64.38 kB / 9.022 GB, free: 96.51 MB / 0.6359 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002845/23.41, allocations: 55.17 kB / 9.022 GB, free: 96.48 MB / 0.6359 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.905e-05/23.41, allocations: 8.062 kB / 9.022 GB, free: 96.47 MB / 0.6359 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004391/23.41, allocations: 0.613 MB / 9.023 GB, free: 95.89 MB / 0.6359 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/23.41, allocations: 0 / 9.023 GB, free: 95.89 MB / 0.6359 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/23.41, allocations: 0.7675 MB / 9.024 GB, free: 95.35 MB / 0.6359 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/23.41, allocations: 109.4 kB / 9.024 GB, free: 95.23 MB / 0.6359 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.512e-05/23.41, allocations: 4 kB / 9.024 GB, free: 95.23 MB / 0.6359 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003395/23.41, allocations: 9.484 kB / 9.024 GB, free: 95.23 MB / 0.6359 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.682e-05/23.41, allocations: 26.91 kB / 9.024 GB, free: 95.21 MB / 0.6359 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.749e-05/23.41, allocations: 11.56 kB / 9.024 GB, free: 95.2 MB / 0.6359 GB Notification: Performance of sorting global known variables: time 0.0001901/23.41, allocations: 167.3 kB / 9.024 GB, free: 95.07 MB / 0.6359 GB Notification: Performance of sort global known variables: time 2.4e-07/23.41, allocations: 0 / 9.024 GB, free: 95.07 MB / 0.6359 GB Notification: Performance of remove unused functions: time 0.02033/23.43, allocations: 0.8228 MB / 9.025 GB, free: 94.39 MB / 0.6359 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse1.phase,$cse2,$cse3.phase,$cse4) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * 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.1731/23.6, allocations: 19.14 MB / 9.044 GB, free: 75.81 MB / 0.6359 GB Notification: Performance of simCode: created initialization part: time 0.001312/23.61, allocations: 450.9 kB / 9.044 GB, free: 75.49 MB / 0.6359 GB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/23.61, allocations: 4 kB / 9.044 GB, free: 75.48 MB / 0.6359 GB Notification: Performance of simCode: created simulation system equations: time 0.000583/23.61, allocations: 206 kB / 9.044 GB, free: 75.37 MB / 0.6359 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/23.61, allocations: 143.3 kB / 9.044 GB, free: 75.29 MB / 0.6359 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/23.61, allocations: 0.6176 MB / 9.045 GB, free: 74.79 MB / 0.6359 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/23.61, allocations: 0.8076 MB / 9.046 GB, free: 74.01 MB / 0.6359 GB Notification: Performance of simCode: alias equations: time 0.0006237/23.61, allocations: 239.2 kB / 9.046 GB, free: 73.86 MB / 0.6359 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/23.61, allocations: 34.5 kB / 9.046 GB, free: 73.83 MB / 0.6359 GB Notification: Performance of SimCode: time 1.021e-06/23.61, allocations: 4 kB / 9.046 GB, free: 73.82 MB / 0.6359 GB Notification: Performance of Templates: time 0.05529/23.67, allocations: 28.44 MB / 9.074 GB, free: 54.98 MB / 0.6359 GB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches