Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001899/0.001899, allocations: 199.4 kB / 18.06 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.532/2.532, allocations: 226.5 MB / 245.4 MB, free: 8.211 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001171/0.001171, allocations: 91.89 kB / 297.4 MB, free: 6.859 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004049/0.0004057, allocations: 7.984 kB / 357.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6275/0.6279, allocations: 51.3 MB / 408.7 MB, free: 27.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 25.09/25.72, allocations: 5.752 GB / 6.151 GB, free: 163.6 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.004604/25.72, allocations: 77.56 kB / 6.151 GB, free: 163.6 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 16.16/41.88, allocations: 2.336 GB / 8.487 GB, free: 84.11 MB / 0.6359 GB Notification: Performance of FrontEnd: time 4.348e-06/41.88, allocations: 4 kB / 8.487 GB, free: 84.11 MB / 0.6359 GB Notification: Performance of Transformations before backend: time 3.52e-05/41.88, allocations: 10.11 kB / 8.487 GB, free: 84.11 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.07343/41.96, allocations: 1.698 MB / 8.489 GB, free: 83.21 MB / 0.6359 GB Notification: Performance of prepare preOptimizeDAE: time 6.859e-05/41.96, allocations: 8.906 kB / 8.489 GB, free: 83.21 MB / 0.6359 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/41.96, allocations: 69.38 kB / 8.489 GB, free: 83.19 MB / 0.6359 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006678/41.96, allocations: 322.5 kB / 8.489 GB, free: 82.97 MB / 0.6359 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.405e-05/41.96, allocations: 27.81 kB / 8.489 GB, free: 82.97 MB / 0.6359 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.043e-05/41.96, allocations: 37.75 kB / 8.489 GB, free: 82.96 MB / 0.6359 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003777/41.96, allocations: 452.4 kB / 8.49 GB, free: 82.85 MB / 0.6359 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.885e-05/41.96, allocations: 7.188 kB / 8.49 GB, free: 82.85 MB / 0.6359 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.625e-05/41.96, allocations: 26 kB / 8.49 GB, free: 82.84 MB / 0.6359 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/41.96, allocations: 6.906 kB / 8.49 GB, free: 82.84 MB / 0.6359 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/41.97, allocations: 382.3 kB / 8.49 GB, free: 82.83 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.01368/41.98, allocations: 5.213 MB / 8.495 GB, free: 80.82 MB / 0.6359 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0014/41.98, allocations: 301.2 kB / 8.495 GB, free: 80.79 MB / 0.6359 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003601/41.98, allocations: 128 kB / 8.495 GB, free: 80.78 MB / 0.6359 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003957/41.98, allocations: 2.054 MB / 8.497 GB, free: 78.98 MB / 0.6359 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.977e-05/41.98, allocations: 36.53 kB / 8.497 GB, free: 78.95 MB / 0.6359 GB Notification: Performance of pre-optimization done (n=30): time 6.733e-06/41.98, allocations: 0 / 8.497 GB, free: 78.95 MB / 0.6359 GB Notification: Performance of matching and sorting (n=34): time 0.01074/42, allocations: 1.282 MB / 8.499 GB, free: 78.51 MB / 0.6359 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/42, allocations: 62.34 kB / 8.499 GB, free: 78.45 MB / 0.6359 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005754/42, allocations: 256.2 kB / 8.499 GB, free: 78.34 MB / 0.6359 GB Notification: Performance of collectPreVariables (initialization): time 7.446e-05/42, allocations: 31.52 kB / 8.499 GB, free: 78.31 MB / 0.6359 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/42, allocations: 192.1 kB / 8.499 GB, free: 78.19 MB / 0.6359 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/42, allocations: 121.1 kB / 8.499 GB, free: 78.13 MB / 0.6359 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/42, allocations: 7.125 kB / 8.499 GB, free: 78.13 MB / 0.6359 GB Notification: Performance of setup shared object (initialization): time 0.0002029/42, allocations: 338.9 kB / 8.5 GB, free: 77.82 MB / 0.6359 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003746/42, allocations: 114.6 kB / 8.5 GB, free: 77.82 MB / 0.6359 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004707/42, allocations: 219.5 kB / 8.5 GB, free: 77.68 MB / 0.6359 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008805/42, allocations: 381.3 kB / 8.5 GB, free: 77.53 MB / 0.6359 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/42, allocations: 0 / 8.5 GB, free: 77.53 MB / 0.6359 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001727/42, allocations: 460.2 kB / 8.501 GB, free: 77.43 MB / 0.6359 GB Notification: Performance of prepare postOptimizeDAE: time 3.685e-05/42, allocations: 6.25 kB / 8.501 GB, free: 77.43 MB / 0.6359 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/42, allocations: 3.875 kB / 8.501 GB, free: 77.43 MB / 0.6359 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01585/42.02, allocations: 303.6 kB / 8.501 GB, free: 77.4 MB / 0.6359 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008154/42.02, allocations: 86.53 kB / 8.501 GB, free: 77.4 MB / 0.6359 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002177/42.02, allocations: 1.845 MB / 8.503 GB, free: 75.61 MB / 0.6359 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007435/42.02, allocations: 29.69 kB / 8.503 GB, free: 75.61 MB / 0.6359 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/42.02, allocations: 23.34 kB / 8.503 GB, free: 75.6 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 () * 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.0004789/42.02, allocations: 159.4 kB / 8.503 GB, free: 75.48 MB / 0.6359 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/42.02, allocations: 34.66 kB / 8.503 GB, free: 75.47 MB / 0.6359 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002044/42.02, allocations: 0.69 MB / 8.504 GB, free: 75.38 MB / 0.6359 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-05/42.02, allocations: 11.94 kB / 8.504 GB, free: 75.38 MB / 0.6359 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/42.02, allocations: 0 / 8.504 GB, free: 75.38 MB / 0.6359 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001506/42.02, allocations: 0.8645 MB / 8.505 GB, free: 74.9 MB / 0.6359 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003683/42.03, allocations: 1.188 MB / 8.506 GB, free: 74.57 MB / 0.6359 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.756e-05/42.03, allocations: 0 / 8.506 GB, free: 74.57 MB / 0.6359 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006726/42.03, allocations: 66.92 kB / 8.506 GB, free: 74.57 MB / 0.6359 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00267/42.03, allocations: 195.2 kB / 8.506 GB, free: 74.55 MB / 0.6359 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/42.03, allocations: 16.91 kB / 8.506 GB, free: 74.55 MB / 0.6359 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007642/42.03, allocations: 0.5795 MB / 8.507 GB, free: 74.03 MB / 0.6359 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/42.03, allocations: 4.062 kB / 8.507 GB, free: 74.02 MB / 0.6359 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/42.03, allocations: 0.7215 MB / 8.507 GB, free: 73.86 MB / 0.6359 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004302/42.04, allocations: 125.8 kB / 8.508 GB, free: 73.74 MB / 0.6359 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001614/42.04, allocations: 13.38 kB / 8.508 GB, free: 73.74 MB / 0.6359 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005599/42.04, allocations: 19.67 kB / 8.508 GB, free: 73.73 MB / 0.6359 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/42.04, allocations: 22.08 kB / 8.508 GB, free: 73.73 MB / 0.6359 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.952e-05/42.04, allocations: 15.72 kB / 8.508 GB, free: 73.73 MB / 0.6359 GB Notification: Performance of sorting global known variables: time 0.0006048/42.04, allocations: 220.7 kB / 8.508 GB, free: 73.65 MB / 0.6359 GB Notification: Performance of sort global known variables: time 6.91e-07/42.04, allocations: 0 / 8.508 GB, free: 73.65 MB / 0.6359 GB Notification: Performance of remove unused functions: time 0.04448/42.08, allocations: 0.8649 MB / 8.509 GB, free: 73.52 MB / 0.6359 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.2783/42.36, allocations: 19.07 MB / 8.527 GB, free: 62.04 MB / 0.6359 GB Notification: Performance of simCode: created initialization part: time 0.001819/42.36, allocations: 479.3 kB / 8.528 GB, free: 61.7 MB / 0.6359 GB Notification: Performance of simCode: created event and clocks part: time 9.298e-06/42.36, allocations: 0 / 8.528 GB, free: 61.7 MB / 0.6359 GB Notification: Performance of simCode: created simulation system equations: time 0.0006921/42.36, allocations: 217.3 kB / 8.528 GB, free: 61.59 MB / 0.6359 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002541/42.37, allocations: 191.4 kB / 8.528 GB, free: 61.48 MB / 0.6359 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003173/42.37, allocations: 1.123 MB / 8.529 GB, free: 60.55 MB / 0.6359 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/42.37, allocations: 0.8034 MB / 8.53 GB, free: 59.76 MB / 0.6359 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000251/42.37, allocations: 42.88 kB / 8.53 GB, free: 59.72 MB / 0.6359 GB Notification: Performance of SimCode: time 2.104e-06/42.37, allocations: 4 kB / 8.53 GB, free: 59.72 MB / 0.6359 GB Notification: Performance of Templates: time 0.09746/42.47, allocations: 34.08 MB / 8.563 GB, free: 34.86 MB / 0.6359 GB make -j1 -f Modelica_trunk_cpp_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_trunk_cpp_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_trunk_cpp_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_trunk_cpp_Modelica.Media.Examples.R134a.R134a1 --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","../files/Modelica_trunk_cpp_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches