Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.R134a.R134a2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001493/0.001493, allocations: 106.8 kB / 17.32 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001296/0.001296, allocations: 205.8 kB / 18.26 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 246.4 MB, free: 9.098 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 60.44 kB / 306.4 MB, free: 0.7422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08246/0.08363, allocations: 50.53 MB / 357 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.1707/0.2543, allocations: 37.43 MB / 394.4 MB, free: 14 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03064/0.285, allocations: 30.52 MB / 424.9 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005157/0.2856, allocations: 12.66 kB / 424.9 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.2866, allocations: 361.3 kB / 425.3 MB, free: 6.391 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009749/0.2876, allocations: 496.6 kB / 425.8 MB, free: 5.988 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01347/0.3011, allocations: 4.543 MB / 430.3 MB, free: 1.719 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001652/0.3028, allocations: 1.359 MB / 431.7 MB, free: 364 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000268/0.3031, allocations: 163.5 kB / 431.8 MB, free: 196 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006836/0.3038, allocations: 0.5294 MB / 432.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000446/0.3042, allocations: 458.2 kB / 432.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.955e-05/0.3043, allocations: 52 kB / 432.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0483/0.3526, allocations: 38.73 MB / 471.6 MB, free: 8.273 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000286/0.3529, allocations: 159.5 kB / 471.7 MB, free: 8.117 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004958/0.3534, allocations: 318.7 kB / 472.1 MB, free: 7.805 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0561/0.4095, allocations: 26.19 MB / 498.2 MB, free: 13.53 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.4096, allocations: 4 kB / 498.2 MB, free: 13.53 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.71e-07/0.4096, allocations: 0 / 498.2 MB, free: 13.53 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.385e-06/0.4096, allocations: 0 / 498.2 MB, free: 13.53 MB / 414.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.007428/0.417, allocations: 1.419 MB / 499.7 MB, free: 12.05 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.4171, allocations: 8.031 kB / 499.7 MB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006696/0.4178, allocations: 99.3 kB / 499.8 MB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000441/0.4182, allocations: 381.9 kB / 0.4884 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.4182, allocations: 33 kB / 0.4884 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.663e-05/0.4183, allocations: 47.75 kB / 0.4885 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.4195, allocations: 0.6282 MB / 0.4891 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.4195, allocations: 4 kB / 0.4891 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.831e-05/0.4196, allocations: 20 kB / 0.4891 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.516e-05/0.4196, allocations: 12 kB / 0.4891 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000982/0.4206, allocations: 0.5268 MB / 0.4897 GB, free: 10.22 MB / 414.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.003795/0.4244, allocations: 3.807 MB / 0.4934 GB, free: 6.109 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009183/0.4253, allocations: 407.8 kB / 0.4938 GB, free: 5.703 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003045/0.4256, allocations: 205.5 kB / 0.494 GB, free: 5.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003134/0.4288, allocations: 3.463 MB / 0.4973 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.4288, allocations: 38.94 kB / 0.4974 GB, free: 1.289 MB / 414.1 MB Notification: Performance of pre-optimization done (n=46): time 2.084e-06/0.4288, allocations: 0 / 0.4974 GB, free: 1.289 MB / 414.1 MB Notification: Performance of matching and sorting (n=54): time 0.009672/0.4385, allocations: 2.032 MB / 0.4994 GB, free: 15.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.4386, allocations: 59.83 kB / 0.4994 GB, free: 15.11 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003092/0.4389, allocations: 308.4 kB / 0.4997 GB, free: 14.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.802e-05/0.4389, allocations: 33.7 kB / 0.4997 GB, free: 14.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.4391, allocations: 228.6 kB / 0.5 GB, free: 14.54 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.4392, allocations: 189.3 kB / 0.5001 GB, free: 14.35 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001644/0.4394, allocations: 118.2 kB / 0.5003 GB, free: 14.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.4395, allocations: 354.8 kB / 0.5006 GB, free: 13.87 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003086/0.4398, allocations: 177.2 kB / 0.5008 GB, free: 13.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000409/0.4402, allocations: 328 kB / 0.5011 GB, free: 13.31 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007648/0.441, allocations: 0.5446 MB / 0.5016 GB, free: 12.71 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.441, allocations: 4 kB / 0.5016 GB, free: 12.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001235/0.4423, allocations: 0.6739 MB / 0.5023 GB, free: 12.01 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.4423, allocations: 14.75 kB / 0.5023 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.4423, allocations: 7.938 kB / 0.5023 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0103/0.4526, allocations: 446 kB / 0.5027 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005956/0.4532, allocations: 147.8 kB / 0.5029 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002119/0.4554, allocations: 3.086 MB / 0.5059 GB, free: 8.102 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004352/0.4558, allocations: 55.78 kB / 0.5059 GB, free: 8.051 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.067e-05/0.4559, allocations: 28 kB / 0.506 GB, free: 8.023 MB / 430.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.0002642/0.4562, allocations: 189.6 kB / 0.5061 GB, free: 7.828 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.4563, allocations: 43.47 kB / 0.5062 GB, free: 7.785 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001644/0.4579, allocations: 1.057 MB / 0.5072 GB, free: 6.715 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.458, allocations: 15.97 kB / 0.5072 GB, free: 6.699 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.458, allocations: 0 / 0.5072 GB, free: 6.699 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001147/0.4591, allocations: 1.095 MB / 0.5083 GB, free: 5.535 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002119/0.4612, allocations: 1.726 MB / 0.51 GB, free: 3.742 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.4613, allocations: 0 / 0.51 GB, free: 3.742 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003819/0.4617, allocations: 107.9 kB / 0.5101 GB, free: 3.637 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003329/0.465, allocations: 349 kB / 0.5104 GB, free: 3.289 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.19e-05/0.465, allocations: 23.98 kB / 0.5104 GB, free: 3.266 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006236/0.4657, allocations: 1.136 MB / 0.5115 GB, free: 2.078 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4657, allocations: 4.062 kB / 0.5115 GB, free: 2.074 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001392/0.4671, allocations: 1.127 MB / 0.5127 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.4672, allocations: 120.5 kB / 0.5128 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.895e-05/0.4673, allocations: 15.91 kB / 0.5128 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003263/0.4676, allocations: 31.92 kB / 0.5128 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.659e-05/0.4677, allocations: 36.52 kB / 0.5128 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.069e-05/0.4677, allocations: 23.98 kB / 0.5129 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002462/0.468, allocations: 247 kB / 0.5131 GB, free: 452 kB / 430.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.468, allocations: 0 / 0.5131 GB, free: 452 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.005187/0.4732, allocations: 0.9682 MB / 0.514 GB, free: 15.47 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.04277/0.516, allocations: 7.881 MB / 0.5217 GB, free: 7.574 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00182/0.5178, allocations: 0.7395 MB / 0.5225 GB, free: 6.828 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.5178, allocations: 4 kB / 0.5225 GB, free: 6.824 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005988/0.5184, allocations: 371.5 kB / 0.5228 GB, free: 6.461 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001411/0.5199, allocations: 260.3 kB / 0.5231 GB, free: 6.207 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002243/0.5221, allocations: 1.56 MB / 0.5246 GB, free: 4.621 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.5225, allocations: 0.8648 MB / 0.5254 GB, free: 3.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005163/0.5231, allocations: 236.6 kB / 0.5257 GB, free: 3.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.5232, allocations: 55.42 kB / 0.5257 GB, free: 3.445 MB / 446.1 MB Notification: Performance of SimCode: time 5.1e-07/0.5232, allocations: 0 / 0.5257 GB, free: 3.445 MB / 446.1 MB Notification: Performance of Templates: time 0.1917/0.7149, allocations: 36 MB / 0.5609 GB, free: 127.6 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_trunk_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches