Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001106/0.001106, allocations: 197.5 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.255/1.255, allocations: 227.2 MB / 245 MB, free: 7.555 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001094/0.001095, allocations: 109 kB / 297.3 MB, free: 6.156 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000253/0.0002529, allocations: 8 kB / 357.9 MB, free: 9.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2209, allocations: 51.48 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.67/10.89, allocations: 5.751 GB / 6.151 GB, free: 146.9 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/10.89, allocations: 72.72 kB / 6.151 GB, free: 146.8 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.542/18.43, allocations: 2.918 GB / 9.069 GB, free: 133.2 MB / 0.6515 GB Notification: Performance of FrontEnd: time 2.534e-06/18.43, allocations: 0 / 9.069 GB, free: 133.2 MB / 0.6515 GB Notification: Performance of Transformations before backend: time 2.039e-05/18.43, allocations: 7 kB / 9.069 GB, free: 133.2 MB / 0.6515 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.03243/18.47, allocations: 1.71 MB / 9.071 GB, free: 132.4 MB / 0.6515 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/18.47, allocations: 7.219 kB / 9.071 GB, free: 132.4 MB / 0.6515 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005477/18.47, allocations: 71.64 kB / 9.071 GB, free: 132.4 MB / 0.6515 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000429/18.47, allocations: 305.8 kB / 9.071 GB, free: 132.2 MB / 0.6515 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/18.47, allocations: 32.45 kB / 9.071 GB, free: 132.2 MB / 0.6515 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.605e-05/18.47, allocations: 33.78 kB / 9.071 GB, free: 132.2 MB / 0.6515 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007513/18.47, allocations: 453.7 kB / 9.072 GB, free: 132 MB / 0.6515 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/18.47, allocations: 8.562 kB / 9.072 GB, free: 132 MB / 0.6515 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.567e-05/18.47, allocations: 14.16 kB / 9.072 GB, free: 132 MB / 0.6515 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/18.47, allocations: 8.312 kB / 9.072 GB, free: 132 MB / 0.6515 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005652/18.47, allocations: 382 kB / 9.072 GB, free: 132 MB / 0.6515 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.005404/18.47, allocations: 5.227 MB / 9.077 GB, free: 130.1 MB / 0.6515 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005075/18.48, allocations: 286.5 kB / 9.078 GB, free: 130 MB / 0.6515 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002008/18.48, allocations: 2.056 MB / 9.08 GB, free: 128.2 MB / 0.6515 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/18.48, allocations: 37.62 kB / 9.08 GB, free: 128.2 MB / 0.6515 GB Notification: Performance of pre-optimization done (n=30): time 2.244e-06/18.48, allocations: 0 / 9.08 GB, free: 128.2 MB / 0.6515 GB Notification: Performance of matching and sorting (n=34): time 0.004273/18.48, allocations: 1.279 MB / 9.081 GB, free: 127.8 MB / 0.6515 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/18.48, allocations: 59.53 kB / 9.081 GB, free: 127.7 MB / 0.6515 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/18.48, allocations: 233.5 kB / 9.081 GB, free: 127.6 MB / 0.6515 GB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/18.48, allocations: 35.11 kB / 9.081 GB, free: 127.6 MB / 0.6515 GB Notification: Performance of collectInitialEqns (initialization): time 7.706e-05/18.48, allocations: 193.5 kB / 9.081 GB, free: 127.4 MB / 0.6515 GB Notification: Performance of collectInitialBindings (initialization): time 6.1e-05/18.48, allocations: 115.5 kB / 9.081 GB, free: 127.4 MB / 0.6515 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-05/18.48, allocations: 9.5 kB / 9.081 GB, free: 127.4 MB / 0.6515 GB Notification: Performance of setup shared object (initialization): time 5.96e-05/18.48, allocations: 339.4 kB / 9.082 GB, free: 127.1 MB / 0.6515 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/18.48, allocations: 113.8 kB / 9.082 GB, free: 127.1 MB / 0.6515 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001868/18.48, allocations: 221.7 kB / 9.082 GB, free: 126.9 MB / 0.6515 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/18.48, allocations: 155.3 kB / 9.082 GB, free: 126.9 MB / 0.6515 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/18.48, allocations: 0 / 9.082 GB, free: 126.9 MB / 0.6515 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006663/18.48, allocations: 454.5 kB / 9.083 GB, free: 126.9 MB / 0.6515 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/18.48, allocations: 10.75 kB / 9.083 GB, free: 126.9 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/18.48, allocations: 9.109 kB / 9.083 GB, free: 126.9 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006583/18.49, allocations: 293.3 kB / 9.083 GB, free: 126.8 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000276/18.49, allocations: 90.25 kB / 9.083 GB, free: 126.8 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009289/18.49, allocations: 1.841 MB / 9.085 GB, free: 125.1 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002353/18.49, allocations: 33.98 kB / 9.085 GB, free: 125.1 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.858e-05/18.49, allocations: 22.44 kB / 9.085 GB, free: 125.1 MB / 0.6515 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.0001443/18.49, allocations: 164.9 kB / 9.085 GB, free: 124.9 MB / 0.6515 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.605e-05/18.49, allocations: 38.78 kB / 9.085 GB, free: 124.9 MB / 0.6515 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008223/18.49, allocations: 0.6877 MB / 9.086 GB, free: 124.8 MB / 0.6515 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/18.49, allocations: 13.3 kB / 9.086 GB, free: 124.8 MB / 0.6515 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/18.49, allocations: 1.781 kB / 9.086 GB, free: 124.8 MB / 0.6515 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005876/18.49, allocations: 0.8563 MB / 9.087 GB, free: 124.4 MB / 0.6515 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/18.49, allocations: 1.202 MB / 9.088 GB, free: 124 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/18.49, allocations: 0 / 9.088 GB, free: 124 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002247/18.49, allocations: 65.06 kB / 9.088 GB, free: 124 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001767/18.5, allocations: 201.1 kB / 9.088 GB, free: 124 MB / 0.6515 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/18.5, allocations: 7.156 kB / 9.088 GB, free: 124 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002139/18.5, allocations: 0.5797 MB / 9.089 GB, free: 123.5 MB / 0.6515 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/18.5, allocations: 1.875 kB / 9.089 GB, free: 123.5 MB / 0.6515 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007091/18.5, allocations: 0.7256 MB / 9.089 GB, free: 123.3 MB / 0.6515 GB Notification: Performance of postOpt removeConstants (simulation): time 7.182e-05/18.5, allocations: 124.7 kB / 9.089 GB, free: 123.2 MB / 0.6515 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.258e-05/18.5, allocations: 9.125 kB / 9.089 GB, free: 123.2 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/18.5, allocations: 30.22 kB / 9.089 GB, free: 123.2 MB / 0.6515 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/18.5, allocations: 28.7 kB / 9.089 GB, free: 123.2 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.185e-05/18.5, allocations: 13.98 kB / 9.09 GB, free: 123.2 MB / 0.6515 GB Notification: Performance of sorting global known variables: time 0.0001597/18.5, allocations: 221 kB / 9.09 GB, free: 123.1 MB / 0.6515 GB Notification: Performance of sort global known variables: time 1.11e-07/18.5, allocations: 0 / 9.09 GB, free: 123.1 MB / 0.6515 GB Notification: Performance of remove unused functions: time 0.01134/18.51, allocations: 0.8568 MB / 9.091 GB, free: 123 MB / 0.6515 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.1084/18.62, allocations: 19.07 MB / 9.109 GB, free: 113.2 MB / 0.6515 GB Notification: Performance of simCode: created initialization part: time 0.0008861/18.62, allocations: 474 kB / 9.11 GB, free: 113 MB / 0.6515 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/18.62, allocations: 0 / 9.11 GB, free: 113 MB / 0.6515 GB Notification: Performance of simCode: created simulation system equations: time 0.0003027/18.62, allocations: 225.2 kB / 9.11 GB, free: 113 MB / 0.6515 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009146/18.62, allocations: 186.8 kB / 9.11 GB, free: 113 MB / 0.6515 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/18.62, allocations: 1.091 MB / 9.111 GB, free: 112.4 MB / 0.6515 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/18.62, allocations: 0.8178 MB / 9.112 GB, free: 111.7 MB / 0.6515 GB Notification: Performance of simCode: alias equations: time 0.0003476/18.62, allocations: 181.9 kB / 9.112 GB, free: 111.7 MB / 0.6515 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.24e-05/18.62, allocations: 41.94 kB / 9.112 GB, free: 111.7 MB / 0.6515 GB Notification: Performance of SimCode: time 4.51e-07/18.62, allocations: 0 / 9.112 GB, free: 111.7 MB / 0.6515 GB Notification: Performance of Templates: time 0.03738/18.66, allocations: 33.03 MB / 9.144 GB, free: 94.09 MB / 0.6515 GB make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_trunk_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches