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.0009309/0.0009308, allocations: 195.9 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.197/1.197, allocations: 226.6 MB / 244.3 MB, free: 8.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006839/0.0006839, allocations: 98.14 kB / 296.4 MB, free: 6.992 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001955/0.0001957, allocations: 4 kB / 356.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1752, allocations: 51.3 MB / 407.5 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.01528/0.1905, allocations: 24.61 MB / 432.1 MB, free: 3.168 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01978/0.2103, allocations: 22.85 MB / 455 MB, free: 12.26 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002825/0.2107, allocations: 7.938 kB / 455 MB, free: 12.25 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006043/0.2113, allocations: 234.7 kB / 455.2 MB, free: 12.02 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000578/0.2119, allocations: 334.2 kB / 455.5 MB, free: 11.69 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006772/0.2186, allocations: 3 MB / 458.5 MB, free: 8.684 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001024/0.2197, allocations: 1.169 MB / 459.7 MB, free: 7.512 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.2198, allocations: 86.02 kB / 459.8 MB, free: 7.426 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004295/0.2203, allocations: 334.7 kB / 460.1 MB, free: 7.098 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003036/0.2206, allocations: 302.8 kB / 460.4 MB, free: 6.801 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.745e-05/0.2206, allocations: 16 kB / 460.4 MB, free: 6.785 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04435/0.265, allocations: 40.22 MB / 0.4889 GB, free: 14.54 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.2652, allocations: 83.7 kB / 0.489 GB, free: 14.45 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001757/0.2654, allocations: 109.5 kB / 0.4891 GB, free: 14.34 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02545/0.2908, allocations: 10.69 MB / 0.4995 GB, free: 3.641 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.2909, allocations: 0 / 0.4995 GB, free: 3.641 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2909, allocations: 3.938 kB / 0.4995 GB, free: 3.637 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.2909, allocations: 0 / 0.4995 GB, free: 3.637 MB / 378.7 MB 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.005594/0.2965, allocations: 1.068 MB / 0.5006 GB, free: 2.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.2966, allocations: 12.03 kB / 0.5006 GB, free: 2.508 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004599/0.297, allocations: 71.58 kB / 0.5006 GB, free: 2.438 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003669/0.2974, allocations: 310.3 kB / 0.5009 GB, free: 2.094 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.2974, allocations: 28.66 kB / 0.501 GB, free: 2.066 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.629e-05/0.2975, allocations: 28 kB / 0.501 GB, free: 2.039 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007904/0.2983, allocations: 463.8 kB / 0.5014 GB, free: 1.547 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.2983, allocations: 0 / 0.5014 GB, free: 1.547 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.532e-05/0.2983, allocations: 12 kB / 0.5014 GB, free: 1.535 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.2984, allocations: 8 kB / 0.5014 GB, free: 1.527 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006386/0.299, allocations: 386.3 kB / 0.5018 GB, free: 1.152 MB / 378.7 MB 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.1459/0.445, allocations: 2.939 MB / 0.5047 GB, free: 90.26 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005564/0.4455, allocations: 296.7 kB / 0.505 GB, free: 90.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.4457, allocations: 128.4 kB / 0.5051 GB, free: 90.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001683/0.4474, allocations: 2.539 MB / 0.5076 GB, free: 87.69 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/0.4474, allocations: 37.31 kB / 0.5076 GB, free: 87.65 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 2.004e-06/0.4474, allocations: 0 / 0.5076 GB, free: 87.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.004366/0.4518, allocations: 1.287 MB / 0.5089 GB, free: 86.97 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.896e-05/0.4518, allocations: 56.09 kB / 0.5089 GB, free: 86.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.452, allocations: 257.1 kB / 0.5092 GB, free: 86.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.4521, allocations: 38.45 kB / 0.5092 GB, free: 86.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.139e-05/0.4522, allocations: 192.4 kB / 0.5094 GB, free: 86.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.699e-05/0.4522, allocations: 123.5 kB / 0.5095 GB, free: 86.47 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.545e-05/0.4522, allocations: 5.375 kB / 0.5095 GB, free: 86.47 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.201e-05/0.4523, allocations: 344.7 kB / 0.5098 GB, free: 86.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.4525, allocations: 112.3 kB / 0.5099 GB, free: 86.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.4527, allocations: 221.8 kB / 0.5102 GB, free: 85.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.4529, allocations: 151.4 kB / 0.5103 GB, free: 85.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4529, allocations: 0 / 0.5103 GB, free: 85.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007065/0.4536, allocations: 468.2 kB / 0.5107 GB, free: 85.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.4536, allocations: 7.219 kB / 0.5108 GB, free: 85.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.4536, allocations: 4.703 kB / 0.5108 GB, free: 85.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004299/0.4579, allocations: 234.3 kB / 0.511 GB, free: 85.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000345/0.4583, allocations: 92.05 kB / 0.5111 GB, free: 85.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008765/0.4592, allocations: 1.836 MB / 0.5129 GB, free: 83.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.4594, allocations: 41.05 kB / 0.5129 GB, free: 83.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.921e-05/0.4594, allocations: 18 kB / 0.5129 GB, free: 83.71 MB / 378.7 MB 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.0001338/0.4596, allocations: 158.9 kB / 0.5131 GB, free: 83.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.533e-05/0.4597, allocations: 36.66 kB / 0.5131 GB, free: 83.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009388/0.4606, allocations: 0.6943 MB / 0.5138 GB, free: 83.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.926e-06/0.4606, allocations: 11.81 kB / 0.5138 GB, free: 83.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.4606, allocations: 0 / 0.5138 GB, free: 83.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005861/0.4612, allocations: 0.8607 MB / 0.5146 GB, free: 82.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.4623, allocations: 1.197 MB / 0.5158 GB, free: 81.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.4623, allocations: 0 / 0.5158 GB, free: 81.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002235/0.4625, allocations: 65.94 kB / 0.5159 GB, free: 81.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001514/0.464, allocations: 183.1 kB / 0.516 GB, free: 81.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.464, allocations: 13.44 kB / 0.5161 GB, free: 81.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001919/0.4642, allocations: 0.5773 MB / 0.5166 GB, free: 81.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4643, allocations: 3 kB / 0.5166 GB, free: 81.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006551/0.4649, allocations: 0.7261 MB / 0.5173 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.063e-05/0.465, allocations: 131 kB / 0.5175 GB, free: 80.72 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.036e-05/0.465, allocations: 11.94 kB / 0.5175 GB, free: 80.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.4652, allocations: 26.69 kB / 0.5175 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-05/0.4653, allocations: 21.75 kB / 0.5175 GB, free: 80.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.4653, allocations: 15.42 kB / 0.5175 GB, free: 80.69 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001505/0.4655, allocations: 218.9 kB / 0.5177 GB, free: 80.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4655, allocations: 3 kB / 0.5177 GB, free: 80.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003594/0.4691, allocations: 0.7351 MB / 0.5185 GB, free: 80.5 MB / 378.7 MB 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.02966/0.4987, allocations: 6.394 MB / 0.5247 GB, free: 75.44 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007686/0.4995, allocations: 485.3 kB / 0.5252 GB, free: 74.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.4996, allocations: 0 / 0.5252 GB, free: 74.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002816/0.4998, allocations: 216.2 kB / 0.5254 GB, free: 74.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009715/0.5008, allocations: 197 kB / 0.5256 GB, free: 74.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.502, allocations: 1.112 MB / 0.5266 GB, free: 73.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/0.5021, allocations: 0.8012 MB / 0.5274 GB, free: 72.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.092e-05/0.5022, allocations: 43.42 kB / 0.5275 GB, free: 72.61 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.5022, allocations: 0 / 0.5275 GB, free: 72.61 MB / 378.7 MB Notification: Performance of Templates: time 0.0273/0.5295, allocations: 29.24 MB / 0.556 GB, free: 43.34 MB / 378.7 MB 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/jenkins/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