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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 111.8 kB / 17.07 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 194.9 kB / 18.01 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009048/0.0009048, allocations: 43.94 kB / 351.3 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2461, allocations: 49.42 MB / 400.7 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03482/0.281, allocations: 37.65 MB / 438.4 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03096/0.312, allocations: 30.6 MB / 469 MB, free: 4.391 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005163/0.3125, allocations: 8 kB / 469 MB, free: 4.383 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.3136, allocations: 405.7 kB / 469.4 MB, free: 3.984 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001018/0.3147, allocations: 0.5166 MB / 469.9 MB, free: 3.465 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01318/0.3279, allocations: 5.135 MB / 475 MB, free: 14.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001893/0.3298, allocations: 1.355 MB / 476.4 MB, free: 12.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002777/0.3301, allocations: 174.5 kB / 476.5 MB, free: 12.78 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007857/0.3309, allocations: 0.5371 MB / 477.1 MB, free: 12.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000517/0.3314, allocations: 434.3 kB / 477.5 MB, free: 11.81 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.738e-05/0.3315, allocations: 56 kB / 477.6 MB, free: 11.76 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0232/0.3547, allocations: 12.8 MB / 490.4 MB, free: 14.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000262/0.355, allocations: 151.5 kB / 490.5 MB, free: 14.79 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004634/0.3554, allocations: 322.8 kB / 490.8 MB, free: 14.47 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04007/0.3955, allocations: 14.92 MB / 0.4939 GB, free: 15.53 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3956, allocations: 0 / 0.4939 GB, free: 15.53 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3956, allocations: 0 / 0.4939 GB, free: 15.53 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.3956, allocations: 0 / 0.4939 GB, free: 15.53 MB / 430.1 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.00736/0.403, allocations: 1.483 MB / 0.4953 GB, free: 13.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.403, allocations: 11.89 kB / 0.4954 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006829/0.4037, allocations: 91.61 kB / 0.4954 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005158/0.4042, allocations: 394.1 kB / 0.4958 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.12e-05/0.4043, allocations: 37 kB / 0.4959 GB, free: 13.42 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.032e-05/0.4043, allocations: 44 kB / 0.4959 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.4055, allocations: 0.6244 MB / 0.4965 GB, free: 12.71 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.4055, allocations: 4 kB / 0.4965 GB, free: 12.7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.733e-05/0.4056, allocations: 16 kB / 0.4965 GB, free: 12.69 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.4056, allocations: 12 kB / 0.4965 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009806/0.4066, allocations: 0.5346 MB / 0.4971 GB, free: 12.14 MB / 430.1 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.003811/0.4104, allocations: 3.808 MB / 0.5008 GB, free: 8.031 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00089/0.4113, allocations: 411.8 kB / 0.5012 GB, free: 7.621 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003063/0.4116, allocations: 205.5 kB / 0.5014 GB, free: 7.418 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003052/0.4147, allocations: 3.462 MB / 0.5047 GB, free: 3.254 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.4147, allocations: 38.94 kB / 0.5048 GB, free: 3.207 MB / 430.1 MB Notification: Performance of pre-optimization done (n=46): time 2.545e-06/0.4147, allocations: 4 kB / 0.5048 GB, free: 3.203 MB / 430.1 MB Notification: Performance of matching and sorting (n=54): time 0.009154/0.4239, allocations: 2.033 MB / 0.5068 GB, free: 1.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.424, allocations: 67.78 kB / 0.5068 GB, free: 1.012 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003212/0.4243, allocations: 316.4 kB / 0.5071 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.4243, allocations: 33.7 kB / 0.5072 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.4245, allocations: 229.2 kB / 0.5074 GB, free: 436 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.4246, allocations: 194.3 kB / 0.5076 GB, free: 240 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.4248, allocations: 118.3 kB / 0.5077 GB, free: 116 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.4249, allocations: 358.8 kB / 0.508 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002922/0.4252, allocations: 173.2 kB / 0.5082 GB, free: 15.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003922/0.4256, allocations: 336 kB / 0.5085 GB, free: 15.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007485/0.4264, allocations: 0.5446 MB / 0.509 GB, free: 14.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.4264, allocations: 4 kB / 0.509 GB, free: 14.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00121/0.4276, allocations: 0.6775 MB / 0.5097 GB, free: 13.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.4276, allocations: 14.59 kB / 0.5097 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.4277, allocations: 7.984 kB / 0.5097 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009123/0.4368, allocations: 446.6 kB / 0.5102 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005459/0.4374, allocations: 143.7 kB / 0.5103 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001973/0.4393, allocations: 3.085 MB / 0.5133 GB, free: 9.992 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002894/0.4396, allocations: 19.92 kB / 0.5133 GB, free: 9.973 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.898e-05/0.4397, allocations: 32 kB / 0.5134 GB, free: 9.941 MB / 446.1 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 (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002293/0.4399, allocations: 193.8 kB / 0.5135 GB, free: 9.742 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.44, allocations: 43.75 kB / 0.5136 GB, free: 9.699 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001479/0.4415, allocations: 1.048 MB / 0.5146 GB, free: 8.633 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/0.4416, allocations: 11.98 kB / 0.5146 GB, free: 8.621 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.4416, allocations: 0 / 0.5146 GB, free: 8.621 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001156/0.4427, allocations: 1.099 MB / 0.5157 GB, free: 7.445 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002072/0.4448, allocations: 1.726 MB / 0.5174 GB, free: 5.656 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.4448, allocations: 0 / 0.5174 GB, free: 5.656 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003849/0.4452, allocations: 107.8 kB / 0.5175 GB, free: 5.551 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002869/0.4481, allocations: 345.1 kB / 0.5178 GB, free: 5.207 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.532e-05/0.4482, allocations: 12 kB / 0.5178 GB, free: 5.195 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006929/0.4489, allocations: 1.155 MB / 0.5189 GB, free: 3.988 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4489, allocations: 0 / 0.5189 GB, free: 3.988 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.4503, allocations: 1.136 MB / 0.5201 GB, free: 2.832 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.115e-05/0.4504, allocations: 120.8 kB / 0.5202 GB, free: 2.695 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.66e-05/0.4505, allocations: 19.98 kB / 0.5202 GB, free: 2.676 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002458/0.4508, allocations: 15.94 kB / 0.5202 GB, free: 2.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.387e-05/0.4508, allocations: 32.52 kB / 0.5202 GB, free: 2.629 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.892e-05/0.4509, allocations: 23.92 kB / 0.5203 GB, free: 2.605 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002488/0.4511, allocations: 251 kB / 0.5205 GB, free: 2.363 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4511, allocations: 0 / 0.5205 GB, free: 2.363 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004899/0.456, allocations: 0.974 MB / 0.5215 GB, free: 1.387 MB / 446.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02895/0.485, allocations: 7.885 MB / 0.5292 GB, free: 9.477 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001596/0.4866, allocations: 0.7124 MB / 0.5298 GB, free: 8.746 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.4866, allocations: 3.938 kB / 0.5299 GB, free: 8.742 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005911/0.4872, allocations: 371.5 kB / 0.5302 GB, free: 8.383 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/0.4887, allocations: 261 kB / 0.5305 GB, free: 8.129 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002128/0.4908, allocations: 1.342 MB / 0.5318 GB, free: 6.766 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.4912, allocations: 0.8648 MB / 0.5326 GB, free: 5.871 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004919/0.4917, allocations: 244.7 kB / 0.5328 GB, free: 5.629 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.4918, allocations: 51.42 kB / 0.5329 GB, free: 5.578 MB / 462.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4918, allocations: 0 / 0.5329 GB, free: 5.578 MB / 462.1 MB Notification: Performance of Templates: time 0.2126/0.7044, allocations: 36.17 MB / 0.5682 GB, free: 105.2 MB / 462.1 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches