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.001284/0.001284, allocations: 178.7 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0007041/0.000704, allocations: 88.86 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003402, allocations: 8 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2025, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.02413/0.2267, allocations: 34.77 MB / 409.3 MB, free: 14.01 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02357/0.2503, allocations: 28.14 MB / 437.4 MB, free: 1.801 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000514/0.2508, allocations: 4 kB / 437.4 MB, free: 1.797 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008684/0.2517, allocations: 318.3 kB / 437.8 MB, free: 1.484 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008735/0.2526, allocations: 493.3 kB / 438.2 MB, free: 1 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01009/0.2627, allocations: 3.83 MB / 442.1 MB, free: 13.16 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001712/0.2644, allocations: 1.698 MB / 443.8 MB, free: 11.45 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002134/0.2646, allocations: 122.3 kB / 443.9 MB, free: 11.33 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005907/0.2652, allocations: 474.2 kB / 444.4 MB, free: 10.86 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004553/0.2657, allocations: 422.3 kB / 444.8 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.521e-05/0.2658, allocations: 28 kB / 444.8 MB, free: 10.42 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.06275/0.3285, allocations: 51.74 MB / 496.5 MB, free: 6.641 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002939/0.3289, allocations: 111.6 kB / 496.6 MB, free: 6.531 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003043/0.3292, allocations: 145.5 kB / 496.8 MB, free: 6.383 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1903/0.5195, allocations: 13.88 MB / 0.4987 GB, free: 50.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.5196, allocations: 0 / 0.4987 GB, free: 50.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5196, allocations: 0 / 0.4987 GB, free: 50.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.5196, allocations: 0 / 0.4987 GB, free: 50.54 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.008218/0.5278, allocations: 1.314 MB / 0.5 GB, free: 49.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.5279, allocations: 8.938 kB / 0.5 GB, free: 49.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006287/0.5285, allocations: 93.78 kB / 0.5001 GB, free: 49.74 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003981/0.5289, allocations: 380.6 kB / 0.5004 GB, free: 49.51 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.053e-05/0.5289, allocations: 35.78 kB / 0.5005 GB, free: 49.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.116e-05/0.529, allocations: 47.59 kB / 0.5005 GB, free: 49.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.5301, allocations: 0.6109 MB / 0.5011 GB, free: 49.37 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.5301, allocations: 8.25 kB / 0.5011 GB, free: 49.37 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.858e-05/0.5302, allocations: 22.09 kB / 0.5011 GB, free: 49.37 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.5302, allocations: 12.47 kB / 0.5012 GB, free: 49.37 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009305/0.5311, allocations: 0.5249 MB / 0.5017 GB, free: 49.37 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.003453/0.5346, allocations: 3.808 MB / 0.5054 GB, free: 46.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008122/0.5354, allocations: 420.8 kB / 0.5058 GB, free: 46.94 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002712/0.5357, allocations: 209.1 kB / 0.506 GB, free: 46.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002391/0.5381, allocations: 3.541 MB / 0.5094 GB, free: 43.37 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.5381, allocations: 38.41 kB / 0.5095 GB, free: 43.33 MB / 378.7 MB Notification: Performance of pre-optimization done (n=46): time 3.016e-06/0.5382, allocations: 3 kB / 0.5095 GB, free: 43.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=54): time 0.008125/0.5463, allocations: 2.045 MB / 0.5115 GB, free: 42.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.217e-05/0.5463, allocations: 61.66 kB / 0.5115 GB, free: 42.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002428/0.5466, allocations: 301.8 kB / 0.5118 GB, free: 42.67 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/0.5466, allocations: 38.67 kB / 0.5119 GB, free: 42.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.244e-05/0.5467, allocations: 231.4 kB / 0.5121 GB, free: 42.49 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.82e-05/0.5468, allocations: 190.9 kB / 0.5123 GB, free: 42.37 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-05/0.5468, allocations: 14.47 kB / 0.5123 GB, free: 42.37 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.847e-05/0.5469, allocations: 347.6 kB / 0.5126 GB, free: 42.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002488/0.5472, allocations: 180.5 kB / 0.5128 GB, free: 42.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002957/0.5475, allocations: 329.6 kB / 0.5131 GB, free: 41.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003032/0.5478, allocations: 230.2 kB / 0.5133 GB, free: 41.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.5478, allocations: 2.969 kB / 0.5133 GB, free: 41.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001017/0.5488, allocations: 0.6648 MB / 0.514 GB, free: 41.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.5488, allocations: 9.031 kB / 0.514 GB, free: 41.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.5488, allocations: 6.75 kB / 0.514 GB, free: 41.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00851/0.5574, allocations: 454.5 kB / 0.5144 GB, free: 41.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005147/0.5579, allocations: 139.7 kB / 0.5146 GB, free: 41.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/0.5591, allocations: 2.994 MB / 0.5175 GB, free: 38.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003593/0.5595, allocations: 57.86 kB / 0.5175 GB, free: 38.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.951e-05/0.5596, allocations: 29.77 kB / 0.5176 GB, free: 38.89 MB / 378.7 MB 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.0001877/0.5597, allocations: 187.8 kB / 0.5177 GB, free: 38.78 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.663e-05/0.5598, allocations: 42.78 kB / 0.5178 GB, free: 38.76 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/0.561, allocations: 1.06 MB / 0.5188 GB, free: 38.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.561, allocations: 11.44 kB / 0.5188 GB, free: 38.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.561, allocations: 2.219 kB / 0.5188 GB, free: 38.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008757/0.5619, allocations: 1.08 MB / 0.5199 GB, free: 38.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/0.5636, allocations: 1.739 MB / 0.5216 GB, free: 37.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.5636, allocations: 0 / 0.5216 GB, free: 37.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003548/0.564, allocations: 101 kB / 0.5217 GB, free: 37.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003022/0.567, allocations: 358.2 kB / 0.522 GB, free: 37.85 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.331e-05/0.567, allocations: 20.12 kB / 0.522 GB, free: 37.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004107/0.5675, allocations: 1.146 MB / 0.5232 GB, free: 36.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.5675, allocations: 3.281 kB / 0.5232 GB, free: 36.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.5686, allocations: 1.13 MB / 0.5243 GB, free: 36.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.041e-05/0.5687, allocations: 142.6 kB / 0.5244 GB, free: 36.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.543e-05/0.5687, allocations: 11 kB / 0.5244 GB, free: 36.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002937/0.569, allocations: 32.64 kB / 0.5244 GB, free: 36.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.5691, allocations: 37.73 kB / 0.5245 GB, free: 36.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.439e-05/0.5691, allocations: 19.03 kB / 0.5245 GB, free: 36.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001927/0.5693, allocations: 252.6 kB / 0.5247 GB, free: 36.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5693, allocations: 0 / 0.5247 GB, free: 36.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006111/0.5755, allocations: 0.9587 MB / 0.5257 GB, free: 36.24 MB / 378.7 MB 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.04015/0.6156, allocations: 7.864 MB / 0.5334 GB, free: 28.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001262/0.6169, allocations: 0.6993 MB / 0.534 GB, free: 28.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.6169, allocations: 0 / 0.534 GB, free: 28.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004715/0.6174, allocations: 363.3 kB / 0.5344 GB, free: 28.33 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/0.6187, allocations: 256.6 kB / 0.5346 GB, free: 28.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.6205, allocations: 1.651 MB / 0.5362 GB, free: 26.87 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.6207, allocations: 0.8634 MB / 0.5371 GB, free: 26.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.6208, allocations: 59.02 kB / 0.5371 GB, free: 25.99 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6208, allocations: 0 / 0.5371 GB, free: 25.99 MB / 378.7 MB Notification: Performance of Templates: time 0.03796/0.6588, allocations: 38.53 MB / 0.5748 GB, free: 5.008 MB / 394.7 MB 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/jenkins/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