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.00162/0.001621, allocations: 182.3 kB / 16.4 MB, free: 5.746 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.09/2.09, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001153/0.001153, allocations: 97.42 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004021/0.0004023, allocations: 8 kB / 326.9 MB, free: 228 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.338, allocations: 47.58 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.04273/0.3808, allocations: 31.69 MB / 406.2 MB, free: 17.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03928/0.4202, allocations: 25.58 MB / 431.8 MB, free: 7.48 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006288/0.4209, allocations: 4 kB / 431.8 MB, free: 7.477 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001437/0.4223, allocations: 330.6 kB / 432.1 MB, free: 7.152 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001268/0.4236, allocations: 367 kB / 432.5 MB, free: 6.793 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01754/0.4412, allocations: 3.962 MB / 436.4 MB, free: 2.828 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001811/0.443, allocations: 0.7654 MB / 437.2 MB, free: 2.059 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003483/0.4434, allocations: 114.3 kB / 437.3 MB, free: 1.945 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/0.4446, allocations: 398.8 kB / 437.7 MB, free: 1.555 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006091/0.4452, allocations: 286.8 kB / 438 MB, free: 1.273 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.326e-05/0.4453, allocations: 24 kB / 438 MB, free: 1.25 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.4271/0.8724, allocations: 69.16 MB / 0.4953 GB, free: 59.09 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002926/0.8728, allocations: 112 kB / 0.4954 GB, free: 59.09 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002691/0.8731, allocations: 143.1 kB / 0.4955 GB, free: 59.06 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.08097/0.9541, allocations: 13.83 MB / 0.509 GB, free: 58.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.9541, allocations: 0.5938 kB / 0.509 GB, free: 58.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.766e-06/0.9541, allocations: 1 kB / 0.509 GB, free: 58.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.9542, allocations: 0 / 0.509 GB, free: 58.04 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.01546/0.9696, allocations: 1.321 MB / 0.5103 GB, free: 56.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.9697, allocations: 8.031 kB / 0.5103 GB, free: 56.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009352/0.9706, allocations: 95.84 kB / 0.5104 GB, free: 56.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006562/0.9713, allocations: 376.3 kB / 0.5108 GB, free: 56.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.377e-05/0.9714, allocations: 35.62 kB / 0.5108 GB, free: 56.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.9715, allocations: 48.75 kB / 0.5109 GB, free: 56.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.9731, allocations: 0.6106 MB / 0.5115 GB, free: 56.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.23e-05/0.9732, allocations: 5 kB / 0.5115 GB, free: 56.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.927e-05/0.9732, allocations: 21.45 kB / 0.5115 GB, free: 56.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/0.9733, allocations: 13.08 kB / 0.5115 GB, free: 56.03 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001416/0.9747, allocations: 0.5284 MB / 0.512 GB, free: 55.76 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.00563/0.9804, allocations: 3.812 MB / 0.5157 GB, free: 52.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.9817, allocations: 422.5 kB / 0.5161 GB, free: 52.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004078/0.9858, allocations: 3.557 MB / 0.5196 GB, free: 48.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.803e-05/0.9859, allocations: 41.5 kB / 0.5197 GB, free: 48.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=46): time 3.116e-06/0.9859, allocations: 0 / 0.5197 GB, free: 48.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=54): time 0.01372/0.9996, allocations: 2.037 MB / 0.5216 GB, free: 46.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.9997, allocations: 55.84 kB / 0.5217 GB, free: 46.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004093/1, allocations: 305.7 kB / 0.522 GB, free: 46.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.362e-05/1, allocations: 38.02 kB / 0.522 GB, free: 46.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/1, allocations: 285.9 kB / 0.5223 GB, free: 46.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000156/1.001, allocations: 191.8 kB / 0.5225 GB, free: 46.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.206e-05/1.001, allocations: 17.12 kB / 0.5225 GB, free: 46.19 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.174e-05/1.001, allocations: 333.7 kB / 0.5228 GB, free: 45.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004371/1.001, allocations: 179.4 kB / 0.523 GB, free: 45.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005197/1.002, allocations: 328.2 kB / 0.5233 GB, free: 45.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005583/1.002, allocations: 228.5 kB / 0.5235 GB, free: 45.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/1.002, allocations: 3.953 kB / 0.5235 GB, free: 45.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001879/1.004, allocations: 0.6499 MB / 0.5242 GB, free: 45.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/1.004, allocations: 4 kB / 0.5242 GB, free: 45.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/1.004, allocations: 8 kB / 0.5242 GB, free: 45.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01547/1.02, allocations: 453.2 kB / 0.5246 GB, free: 44.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/1.021, allocations: 140.2 kB / 0.5247 GB, free: 44.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002077/1.023, allocations: 3 MB / 0.5277 GB, free: 41.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007452/1.024, allocations: 55.69 kB / 0.5277 GB, free: 41.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.507e-05/1.024, allocations: 34.2 kB / 0.5277 GB, free: 41.56 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.000351/1.024, allocations: 186.8 kB / 0.5279 GB, free: 41.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/1.024, allocations: 42.27 kB / 0.528 GB, free: 41.37 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002181/1.026, allocations: 1.063 MB / 0.529 GB, free: 40.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-05/1.027, allocations: 11.36 kB / 0.529 GB, free: 40.65 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/1.027, allocations: 0 / 0.529 GB, free: 40.65 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001566/1.028, allocations: 1.085 MB / 0.5301 GB, free: 39.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003016/1.031, allocations: 1.737 MB / 0.5318 GB, free: 38.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/1.031, allocations: 2.906 kB / 0.5318 GB, free: 38.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007245/1.032, allocations: 98.2 kB / 0.5319 GB, free: 38.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00547/1.037, allocations: 360.1 kB / 0.5322 GB, free: 38.19 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/1.038, allocations: 22.42 kB / 0.5322 GB, free: 38.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000705/1.038, allocations: 1.149 MB / 0.5334 GB, free: 37.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/1.038, allocations: 0 / 0.5334 GB, free: 37.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002093/1.04, allocations: 1.124 MB / 0.5344 GB, free: 36.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000186/1.041, allocations: 142.1 kB / 0.5346 GB, free: 36.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/1.041, allocations: 17.81 kB / 0.5346 GB, free: 36.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005304/1.041, allocations: 30.77 kB / 0.5346 GB, free: 36.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.963e-05/1.041, allocations: 35.02 kB / 0.5347 GB, free: 36.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.153e-05/1.042, allocations: 21.67 kB / 0.5347 GB, free: 36.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003414/1.042, allocations: 246.4 kB / 0.5349 GB, free: 35.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.51e-07/1.042, allocations: 2.844 kB / 0.5349 GB, free: 35.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.008979/1.051, allocations: 0.9591 MB / 0.5359 GB, free: 34.97 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.07645/1.127, allocations: 7.861 MB / 0.5435 GB, free: 27.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001999/1.129, allocations: 0.6981 MB / 0.5442 GB, free: 26.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/1.129, allocations: 0 / 0.5442 GB, free: 26.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009055/1.13, allocations: 364.9 kB / 0.5446 GB, free: 26.56 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002368/1.133, allocations: 254.3 kB / 0.5448 GB, free: 26.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003277/1.136, allocations: 1.647 MB / 0.5464 GB, free: 24.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/1.137, allocations: 0.8803 MB / 0.5473 GB, free: 23.97 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002613/1.137, allocations: 54.61 kB / 0.5473 GB, free: 23.92 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/1.137, allocations: 0 / 0.5473 GB, free: 23.92 MB / 378.7 MB Notification: Performance of Templates: time 0.08727/1.224, allocations: 39.5 MB / 0.5859 GB, free: 1.156 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/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