Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.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.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.R134a.R134a2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001464/0.001465, allocations: 177.1 kB / 8.349 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.505/1.505, allocations: 221.5 MB / 230.3 MB, free: 7.574 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.0008893/0.0008894, allocations: 98.17 kB / 281.2 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.222e-05/1.224e-05, allocations: 4 kB / 337 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1175, allocations: 50.42 MB / 387.5 MB, free: 7.578 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.63/13.75, allocations: 5.75 GB / 6.128 GB, free: 114.6 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/13.75, allocations: 70.12 kB / 6.128 GB, free: 114.6 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 12.68/26.43, allocations: 3.692 GB / 9.821 GB, free: 96.07 MB / 0.6671 GB Notification: Performance of FrontEnd: time 1.502e-06/26.43, allocations: 0.5469 kB / 9.821 GB, free: 96.07 MB / 0.6671 GB Notification: Performance of Transformations before backend: time 2.753e-05/26.43, allocations: 13.23 kB / 9.821 GB, free: 96.07 MB / 0.6671 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.06216/26.5, allocations: 2.195 MB / 9.823 GB, free: 95.2 MB / 0.6671 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/26.5, allocations: 9.031 kB / 9.823 GB, free: 95.2 MB / 0.6671 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007627/26.5, allocations: 92.2 kB / 9.823 GB, free: 95.17 MB / 0.6671 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004861/26.5, allocations: 375.1 kB / 9.823 GB, free: 94.96 MB / 0.6671 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/26.5, allocations: 15.28 kB / 9.823 GB, free: 94.96 MB / 0.6671 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.936e-05/26.5, allocations: 32.66 kB / 9.823 GB, free: 94.96 MB / 0.6671 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000658/26.5, allocations: 456.1 kB / 9.824 GB, free: 94.95 MB / 0.6671 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007276/26.5, allocations: 0.5072 MB / 9.824 GB, free: 94.8 MB / 0.6671 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/26.5, allocations: 3.875 kB / 9.824 GB, free: 94.8 MB / 0.6671 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.141e-05/26.5, allocations: 1.594 kB / 9.824 GB, free: 94.8 MB / 0.6671 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/26.5, allocations: 15.42 kB / 9.824 GB, free: 94.8 MB / 0.6671 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.006409/26.5, allocations: 6.399 MB / 9.831 GB, free: 91.9 MB / 0.6671 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005652/26.51, allocations: 346.4 kB / 9.831 GB, free: 91.87 MB / 0.6671 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002471/26.51, allocations: 178.2 kB / 9.831 GB, free: 91.86 MB / 0.6671 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002641/26.51, allocations: 2.421 MB / 9.834 GB, free: 89.8 MB / 0.6671 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/26.51, allocations: 40.88 kB / 9.834 GB, free: 89.76 MB / 0.6671 GB Notification: Performance of pre-optimization done (n=44): time 2.534e-06/26.51, allocations: 0 / 9.834 GB, free: 89.76 MB / 0.6671 GB Notification: Performance of matching and sorting (n=52): time 0.01374/26.52, allocations: 2.285 MB / 9.836 GB, free: 89.39 MB / 0.6671 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/26.52, allocations: 58.19 kB / 9.836 GB, free: 89.33 MB / 0.6671 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002871/26.52, allocations: 246.9 kB / 9.836 GB, free: 89.23 MB / 0.6671 GB Notification: Performance of collectPreVariables (initialization): time 3.753e-05/26.52, allocations: 25.7 kB / 9.836 GB, free: 89.2 MB / 0.6671 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/26.52, allocations: 239.7 kB / 9.836 GB, free: 89.06 MB / 0.6671 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/26.52, allocations: 179.3 kB / 9.837 GB, free: 88.97 MB / 0.6671 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.212e-05/26.52, allocations: 0 / 9.837 GB, free: 88.97 MB / 0.6671 GB Notification: Performance of setup shared object (initialization): time 0.0001093/26.52, allocations: 345.4 kB / 9.837 GB, free: 88.66 MB / 0.6671 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002392/26.52, allocations: 162 kB / 9.837 GB, free: 88.65 MB / 0.6671 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/26.52, allocations: 311.5 kB / 9.837 GB, free: 88.48 MB / 0.6671 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00394/26.53, allocations: 0.5325 MB / 9.838 GB, free: 88.48 MB / 0.6671 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/26.53, allocations: 3.906 kB / 9.838 GB, free: 88.48 MB / 0.6671 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.005067/26.53, allocations: 0.9205 MB / 9.839 GB, free: 88.39 MB / 0.6671 GB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/26.53, allocations: 11.22 kB / 9.839 GB, free: 88.39 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/26.53, allocations: 4.281 kB / 9.839 GB, free: 88.39 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003705/26.53, allocations: 93.17 kB / 9.839 GB, free: 88.37 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005217/26.53, allocations: 140.5 kB / 9.839 GB, free: 88.37 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003699/26.54, allocations: 3.15 MB / 9.842 GB, free: 85.55 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004798/26.54, allocations: 37.56 kB / 9.842 GB, free: 85.54 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.836e-05/26.54, allocations: 31.81 kB / 9.842 GB, free: 85.54 MB / 0.6671 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.000174/26.54, allocations: 123.5 kB / 9.842 GB, free: 85.44 MB / 0.6671 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.59e-05/26.54, allocations: 36.38 kB / 9.842 GB, free: 85.42 MB / 0.6671 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002304/26.54, allocations: 1.065 MB / 9.843 GB, free: 85.32 MB / 0.6671 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/26.54, allocations: 15.59 kB / 9.843 GB, free: 85.32 MB / 0.6671 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/26.54, allocations: 0 / 9.843 GB, free: 85.32 MB / 0.6671 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001792/26.54, allocations: 1.1 MB / 9.844 GB, free: 84.93 MB / 0.6671 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002884/26.55, allocations: 1.648 MB / 9.846 GB, free: 84.6 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/26.55, allocations: 0 / 9.846 GB, free: 84.6 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003636/26.55, allocations: 93.77 kB / 9.846 GB, free: 84.6 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003965/26.55, allocations: 117.7 kB / 9.846 GB, free: 84.58 MB / 0.6671 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.064e-05/26.55, allocations: 9.391 kB / 9.846 GB, free: 84.58 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006446/26.55, allocations: 1.206 MB / 9.847 GB, free: 83.54 MB / 0.6671 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/26.55, allocations: 6.156 kB / 9.847 GB, free: 83.54 MB / 0.6671 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002038/26.55, allocations: 1.168 MB / 9.849 GB, free: 83.29 MB / 0.6671 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/26.55, allocations: 127.4 kB / 9.849 GB, free: 83.17 MB / 0.6671 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.835e-05/26.55, allocations: 0 / 9.849 GB, free: 83.17 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002951/26.55, allocations: 20.55 kB / 9.849 GB, free: 83.17 MB / 0.6671 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/26.55, allocations: 36.44 kB / 9.849 GB, free: 83.16 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.73e-05/26.55, allocations: 24.77 kB / 9.849 GB, free: 83.16 MB / 0.6671 GB Notification: Performance of sorting global known variables: time 0.0001699/26.55, allocations: 190.5 kB / 9.849 GB, free: 83.08 MB / 0.6671 GB Notification: Performance of sort global known variables: time 2.21e-07/26.55, allocations: 0 / 9.849 GB, free: 83.08 MB / 0.6671 GB Notification: Performance of remove unused functions: time 0.0203/26.57, allocations: 1.076 MB / 9.85 GB, free: 82.91 MB / 0.6671 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.1444/26.71, allocations: 23.78 MB / 9.873 GB, free: 70.87 MB / 0.6671 GB Notification: Performance of simCode: created initialization part: time 0.00187/26.72, allocations: 0.6556 MB / 9.874 GB, free: 70.75 MB / 0.6671 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/26.72, allocations: 0 / 9.874 GB, free: 70.75 MB / 0.6671 GB Notification: Performance of simCode: created simulation system equations: time 0.0005456/26.72, allocations: 338.5 kB / 9.874 GB, free: 70.75 MB / 0.6671 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/26.72, allocations: 211.2 kB / 9.874 GB, free: 70.72 MB / 0.6671 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/26.72, allocations: 0.9932 MB / 9.875 GB, free: 70.32 MB / 0.6671 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/26.72, allocations: 0.8712 MB / 9.876 GB, free: 69.61 MB / 0.6671 GB Notification: Performance of simCode: alias equations: time 0.0006201/26.72, allocations: 282.8 kB / 9.876 GB, free: 69.59 MB / 0.6671 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/26.72, allocations: 48.52 kB / 9.876 GB, free: 69.58 MB / 0.6671 GB Notification: Performance of SimCode: time 7.41e-07/26.72, allocations: 0 / 9.876 GB, free: 69.58 MB / 0.6671 GB Notification: Performance of Templates: time 0.05221/26.77, allocations: 35.9 MB / 9.912 GB, free: 65.17 MB / 0.6671 GB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches