Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2.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.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_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_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002277/0.002276, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.109/2.109, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001126/0.001126, allocations: 82.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.662e-05/2.692e-05, allocations: 4 kB / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09428/0.09433, allocations: 47.57 MB / 369.1 MB, free: 2.211 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.1/17.19, allocations: 5.796 GB / 6.156 GB, free: 64.32 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/17.19, allocations: 71.72 kB / 6.156 GB, free: 64.28 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 20.38/37.58, allocations: 4.505 GB / 10.66 GB, free: 9.586 MB / 0.6513 GB Notification: Performance of FrontEnd: time 1.994e-06/37.58, allocations: 0 / 10.66 GB, free: 9.586 MB / 0.6513 GB Notification: Performance of Transformations before backend: time 4.289e-05/37.58, allocations: 15.98 kB / 10.66 GB, free: 9.57 MB / 0.6513 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.06301/37.64, allocations: 2.179 MB / 10.66 GB, free: 7.664 MB / 0.6513 GB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/37.64, allocations: 12.02 kB / 10.66 GB, free: 7.652 MB / 0.6513 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/37.64, allocations: 95.14 kB / 10.66 GB, free: 7.562 MB / 0.6513 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009444/37.64, allocations: 381.9 kB / 10.66 GB, free: 7.234 MB / 0.6513 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.565e-05/37.64, allocations: 36 kB / 10.66 GB, free: 7.211 MB / 0.6513 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/37.64, allocations: 51.06 kB / 10.66 GB, free: 7.176 MB / 0.6513 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002009/37.64, allocations: 0.6127 MB / 10.66 GB, free: 6.695 MB / 0.6513 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.239e-05/37.64, allocations: 4 kB / 10.66 GB, free: 6.691 MB / 0.6513 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.331e-05/37.64, allocations: 18.31 kB / 10.66 GB, free: 6.688 MB / 0.6513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/37.64, allocations: 16 kB / 10.66 GB, free: 6.672 MB / 0.6513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001703/37.65, allocations: 0.525 MB / 10.66 GB, free: 6.309 MB / 0.6513 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.01255/37.66, allocations: 6.085 MB / 10.67 GB, free: 488 kB / 0.6513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/37.66, allocations: 436.6 kB / 10.67 GB, free: 188 kB / 0.6513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005071/37.66, allocations: 204.2 kB / 10.67 GB, free: 60 kB / 0.6513 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4986/38.16, allocations: 2.823 MB / 10.67 GB, free: 105.8 MB / 0.6513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.207e-05/38.16, allocations: 39 kB / 10.67 GB, free: 105.7 MB / 0.6513 GB Notification: Performance of pre-optimization done (n=46): time 3.677e-06/38.16, allocations: 0 / 10.67 GB, free: 105.7 MB / 0.6513 GB Notification: Performance of matching and sorting (n=54): time 0.01375/38.17, allocations: 1.818 MB / 10.68 GB, free: 105.4 MB / 0.6513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/38.17, allocations: 58.09 kB / 10.68 GB, free: 105.3 MB / 0.6513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004456/38.17, allocations: 273 kB / 10.68 GB, free: 105.2 MB / 0.6513 GB Notification: Performance of collectPreVariables (initialization): time 8.174e-05/38.17, allocations: 34.42 kB / 10.68 GB, free: 105.2 MB / 0.6513 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/38.17, allocations: 291.8 kB / 10.68 GB, free: 105 MB / 0.6513 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002092/38.17, allocations: 191.9 kB / 10.68 GB, free: 104.9 MB / 0.6513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.455e-05/38.17, allocations: 12.16 kB / 10.68 GB, free: 104.9 MB / 0.6513 GB Notification: Performance of setup shared object (initialization): time 8.387e-05/38.17, allocations: 335.4 kB / 10.68 GB, free: 104.6 MB / 0.6513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004735/38.17, allocations: 169.2 kB / 10.68 GB, free: 104.6 MB / 0.6513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005431/38.17, allocations: 322.5 kB / 10.68 GB, free: 104.4 MB / 0.6513 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005966/38.18, allocations: 228.3 kB / 10.68 GB, free: 104.4 MB / 0.6513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/38.18, allocations: 1.375 kB / 10.68 GB, free: 104.4 MB / 0.6513 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002076/38.18, allocations: 0.6463 MB / 10.68 GB, free: 104.3 MB / 0.6513 GB Notification: Performance of prepare postOptimizeDAE: time 4.64e-05/38.18, allocations: 7 kB / 10.68 GB, free: 104.3 MB / 0.6513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/38.18, allocations: 4 kB / 10.68 GB, free: 104.3 MB / 0.6513 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02387/38.2, allocations: 0.5547 MB / 10.68 GB, free: 104.3 MB / 0.6513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/38.2, allocations: 139.8 kB / 10.68 GB, free: 104.3 MB / 0.6513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002152/38.2, allocations: 2.99 MB / 10.68 GB, free: 101.4 MB / 0.6513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008478/38.21, allocations: 47.56 kB / 10.68 GB, free: 101.4 MB / 0.6513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.531e-05/38.21, allocations: 30.22 kB / 10.68 GB, free: 101.4 MB / 0.6513 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.000223/38.21, allocations: 145.1 kB / 10.68 GB, free: 101.3 MB / 0.6513 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/38.21, allocations: 40.81 kB / 10.68 GB, free: 101.3 MB / 0.6513 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002487/38.21, allocations: 1.048 MB / 10.68 GB, free: 101.2 MB / 0.6513 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.187e-05/38.21, allocations: 15.77 kB / 10.68 GB, free: 101.2 MB / 0.6513 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/38.21, allocations: 0 / 10.68 GB, free: 101.2 MB / 0.6513 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001709/38.21, allocations: 1.073 MB / 10.68 GB, free: 100.8 MB / 0.6513 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003397/38.21, allocations: 1.718 MB / 10.69 GB, free: 100.5 MB / 0.6513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/38.21, allocations: 0 / 10.69 GB, free: 100.5 MB / 0.6513 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007834/38.22, allocations: 105 kB / 10.69 GB, free: 100.5 MB / 0.6513 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006413/38.22, allocations: 378 kB / 10.69 GB, free: 100.4 MB / 0.6513 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001723/38.22, allocations: 17.03 kB / 10.69 GB, free: 100.4 MB / 0.6513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007512/38.22, allocations: 1.146 MB / 10.69 GB, free: 99.4 MB / 0.6513 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/38.22, allocations: 1.219 kB / 10.69 GB, free: 99.4 MB / 0.6513 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002279/38.22, allocations: 1.108 MB / 10.69 GB, free: 99.2 MB / 0.6513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002919/38.23, allocations: 136.7 kB / 10.69 GB, free: 99.08 MB / 0.6513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/38.23, allocations: 13.28 kB / 10.69 GB, free: 99.08 MB / 0.6513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006015/38.23, allocations: 30.69 kB / 10.69 GB, free: 99.08 MB / 0.6513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.213e-05/38.23, allocations: 38.61 kB / 10.69 GB, free: 99.08 MB / 0.6513 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.045e-05/38.23, allocations: 21.98 kB / 10.69 GB, free: 99.08 MB / 0.6513 GB Notification: Performance of sorting global known variables: time 0.0004325/38.23, allocations: 246.8 kB / 10.69 GB, free: 98.99 MB / 0.6513 GB Notification: Performance of sort global known variables: time 4.61e-07/38.23, allocations: 0.9375 kB / 10.69 GB, free: 98.99 MB / 0.6513 GB Notification: Performance of remove unused functions: time 0.01988/38.25, allocations: 1.122 MB / 10.69 GB, free: 98.98 MB / 0.6513 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse5.phase,$cse6,$cse7.phase,$cse8) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * 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.2275/38.47, allocations: 23.69 MB / 10.71 GB, free: 87.22 MB / 0.6513 GB Notification: Performance of simCode: created initialization part: time 0.002163/38.48, allocations: 0.6896 MB / 10.71 GB, free: 87.09 MB / 0.6513 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/38.48, allocations: 6.188 kB / 10.71 GB, free: 87.09 MB / 0.6513 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/38.48, allocations: 367.7 kB / 10.71 GB, free: 87.09 MB / 0.6513 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00233/38.48, allocations: 257.1 kB / 10.71 GB, free: 87.07 MB / 0.6513 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002732/38.48, allocations: 1.074 MB / 10.72 GB, free: 86.78 MB / 0.6513 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/38.48, allocations: 0.8743 MB / 10.72 GB, free: 86.08 MB / 0.6513 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/38.48, allocations: 63.25 kB / 10.72 GB, free: 86.07 MB / 0.6513 GB Notification: Performance of SimCode: time 1.102e-06/38.48, allocations: 0 / 10.72 GB, free: 86.07 MB / 0.6513 GB Notification: Performance of Templates: time 0.09212/38.58, allocations: 45.99 MB / 10.76 GB, free: 82.43 MB / 0.6513 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches