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.00165/0.00165, allocations: 176.4 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 223.3 MB / 241.4 MB, free: 11.61 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000879/0.0008789, allocations: 92.05 kB / 292.6 MB, free: 10.76 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003492, allocations: 11.94 kB / 352.3 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2514, allocations: 50.4 MB / 402.7 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.53/10.79, allocations: 5.751 GB / 6.144 GB, free: 143.1 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002007/10.79, allocations: 77.92 kB / 6.144 GB, free: 143 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.549/18.33, allocations: 2.934 GB / 9.078 GB, free: 106.6 MB / 0.6515 GB Notification: Performance of FrontEnd: time 1.583e-06/18.34, allocations: 0 / 9.078 GB, free: 106.6 MB / 0.6515 GB Notification: Performance of Transformations before backend: time 2.233e-05/18.34, allocations: 13.44 kB / 9.078 GB, free: 106.6 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.03865/18.37, allocations: 2.227 MB / 9.08 GB, free: 105.5 MB / 0.6515 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/18.37, allocations: 10.12 kB / 9.08 GB, free: 105.5 MB / 0.6515 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007005/18.37, allocations: 92.3 kB / 9.08 GB, free: 105.5 MB / 0.6515 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004571/18.37, allocations: 382.3 kB / 9.081 GB, free: 105.3 MB / 0.6515 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/18.37, allocations: 40.16 kB / 9.081 GB, free: 105.3 MB / 0.6515 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.724e-05/18.38, allocations: 48.5 kB / 9.081 GB, free: 105.3 MB / 0.6515 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/18.38, allocations: 0.6128 MB / 9.081 GB, free: 105.1 MB / 0.6515 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/18.38, allocations: 5.562 kB / 9.081 GB, free: 105.1 MB / 0.6515 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.785e-05/18.38, allocations: 20.44 kB / 9.081 GB, free: 105.1 MB / 0.6515 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/18.38, allocations: 9.656 kB / 9.081 GB, free: 105.1 MB / 0.6515 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008727/18.38, allocations: 0.5297 MB / 9.082 GB, free: 105.1 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.005521/18.38, allocations: 6.072 MB / 9.088 GB, free: 102.5 MB / 0.6515 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008582/18.38, allocations: 427.2 kB / 9.088 GB, free: 102.5 MB / 0.6515 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002709/18.38, allocations: 203.1 kB / 9.088 GB, free: 102.5 MB / 0.6515 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002649/18.39, allocations: 2.825 MB / 9.091 GB, free: 100.1 MB / 0.6515 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/18.39, allocations: 38.69 kB / 9.091 GB, free: 100 MB / 0.6515 GB Notification: Performance of pre-optimization done (n=46): time 2.625e-06/18.39, allocations: 0 / 9.091 GB, free: 100 MB / 0.6515 GB Notification: Performance of matching and sorting (n=54): time 0.007852/18.39, allocations: 2.022 MB / 9.093 GB, free: 99.54 MB / 0.6515 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/18.39, allocations: 62.94 kB / 9.093 GB, free: 99.46 MB / 0.6515 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002916/18.39, allocations: 306.4 kB / 9.094 GB, free: 99.36 MB / 0.6515 GB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/18.39, allocations: 36.05 kB / 9.094 GB, free: 99.32 MB / 0.6515 GB Notification: Performance of collectInitialEqns (initialization): time 9.208e-05/18.39, allocations: 230.9 kB / 9.094 GB, free: 99.19 MB / 0.6515 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/18.39, allocations: 192.9 kB / 9.094 GB, free: 99.09 MB / 0.6515 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.41e-05/18.39, allocations: 12.75 kB / 9.094 GB, free: 99.09 MB / 0.6515 GB Notification: Performance of setup shared object (initialization): time 6.099e-05/18.4, allocations: 351.1 kB / 9.094 GB, free: 98.78 MB / 0.6515 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002547/18.4, allocations: 173.1 kB / 9.095 GB, free: 98.78 MB / 0.6515 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002999/18.4, allocations: 329.5 kB / 9.095 GB, free: 98.61 MB / 0.6515 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006021/18.4, allocations: 0.5494 MB / 9.095 GB, free: 98.43 MB / 0.6515 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/18.4, allocations: 0 / 9.095 GB, free: 98.43 MB / 0.6515 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001087/18.4, allocations: 0.6757 MB / 9.096 GB, free: 98.34 MB / 0.6515 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/18.4, allocations: 3.719 kB / 9.096 GB, free: 98.34 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/18.4, allocations: 6.812 kB / 9.096 GB, free: 98.34 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01215/18.41, allocations: 0.5565 MB / 9.097 GB, free: 98.31 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005044/18.41, allocations: 137.5 kB / 9.097 GB, free: 98.31 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001293/18.41, allocations: 2.996 MB / 9.1 GB, free: 95.43 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003849/18.41, allocations: 47.16 kB / 9.1 GB, free: 95.42 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.193e-05/18.41, allocations: 30.77 kB / 9.1 GB, free: 95.42 MB / 0.6515 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 () * Number of clocked 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.0002362/18.41, allocations: 189.4 kB / 9.1 GB, free: 95.31 MB / 0.6515 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.123e-05/18.41, allocations: 44.78 kB / 9.1 GB, free: 95.29 MB / 0.6515 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001318/18.41, allocations: 1.059 MB / 9.101 GB, free: 95.16 MB / 0.6515 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/18.41, allocations: 17.52 kB / 9.101 GB, free: 95.16 MB / 0.6515 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/18.41, allocations: 0 / 9.101 GB, free: 95.16 MB / 0.6515 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009187/18.41, allocations: 1.081 MB / 9.102 GB, free: 94.77 MB / 0.6515 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/18.42, allocations: 1.729 MB / 9.104 GB, free: 94.41 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/18.42, allocations: 4 kB / 9.104 GB, free: 94.41 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003551/18.42, allocations: 106.7 kB / 9.104 GB, free: 94.41 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003302/18.42, allocations: 387.5 kB / 9.104 GB, free: 94.39 MB / 0.6515 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.373e-05/18.42, allocations: 21.34 kB / 9.104 GB, free: 94.38 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004134/18.42, allocations: 1.145 MB / 9.105 GB, free: 93.34 MB / 0.6515 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/18.42, allocations: 3.812 kB / 9.105 GB, free: 93.34 MB / 0.6515 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/18.42, allocations: 1.128 MB / 9.106 GB, free: 93.14 MB / 0.6515 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/18.42, allocations: 142.6 kB / 9.107 GB, free: 93.01 MB / 0.6515 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.699e-05/18.42, allocations: 12.41 kB / 9.107 GB, free: 93.01 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/18.42, allocations: 31.05 kB / 9.107 GB, free: 93.01 MB / 0.6515 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/18.42, allocations: 35.23 kB / 9.107 GB, free: 93.01 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.224e-05/18.42, allocations: 23.12 kB / 9.107 GB, free: 93 MB / 0.6515 GB Notification: Performance of sorting global known variables: time 0.0002308/18.42, allocations: 247.8 kB / 9.107 GB, free: 92.92 MB / 0.6515 GB Notification: Performance of sort global known variables: time 1.5e-07/18.42, allocations: 0 / 9.107 GB, free: 92.92 MB / 0.6515 GB Notification: Performance of remove unused functions: time 0.0126/18.44, allocations: 1.119 MB / 9.108 GB, free: 92.75 MB / 0.6515 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 () * Number of clocked 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.1387/18.57, allocations: 23.68 MB / 9.131 GB, free: 80.05 MB / 0.6515 GB Notification: Performance of simCode: created initialization part: time 0.00129/18.58, allocations: 0.7017 MB / 9.132 GB, free: 79.59 MB / 0.6515 GB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/18.58, allocations: 0 / 9.132 GB, free: 79.59 MB / 0.6515 GB Notification: Performance of simCode: created simulation system equations: time 0.0004741/18.58, allocations: 359.8 kB / 9.132 GB, free: 79.41 MB / 0.6515 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/18.58, allocations: 256.3 kB / 9.132 GB, free: 79.27 MB / 0.6515 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/18.58, allocations: 1.624 MB / 9.134 GB, free: 77.95 MB / 0.6515 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/18.58, allocations: 0.8662 MB / 9.135 GB, free: 77.12 MB / 0.6515 GB Notification: Performance of simCode: alias equations: time 0.0004505/18.58, allocations: 238 kB / 9.135 GB, free: 76.97 MB / 0.6515 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.943e-05/18.58, allocations: 47.06 kB / 9.135 GB, free: 76.93 MB / 0.6515 GB Notification: Performance of SimCode: time 2.31e-07/18.58, allocations: 0 / 9.135 GB, free: 76.93 MB / 0.6515 GB Notification: Performance of Templates: time 0.04736/18.63, allocations: 42.71 MB / 9.177 GB, free: 45.46 MB / 0.6515 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/jenkins1/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