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.0007872/0.0007872, allocations: 97.83 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009262/0.0009263, allocations: 200.4 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.7 MB / 246.8 MB, free: 11.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002219/0.0002219, allocations: 4 kB / 307.7 MB, free: 0.8438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08748/0.08772, allocations: 51.53 MB / 359.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.1865/0.2742, allocations: 36.6 MB / 395.9 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03242/0.3067, allocations: 31.11 MB / 427 MB, free: 6.426 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006194/0.3073, allocations: 7.938 kB / 427 MB, free: 6.418 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001244/0.3086, allocations: 346.3 kB / 427.3 MB, free: 6.078 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001378/0.31, allocations: 0.5091 MB / 427.8 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01278/0.3228, allocations: 4.163 MB / 432 MB, free: 1.395 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002113/0.3249, allocations: 2.034 MB / 434 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002298/0.3251, allocations: 127.2 kB / 434.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006435/0.3258, allocations: 458.2 kB / 434.6 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004826/0.3263, allocations: 458.2 kB / 435 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.162e-05/0.3263, allocations: 28 kB / 435.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04631/0.3727, allocations: 35.3 MB / 470.4 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003217/0.373, allocations: 123.5 kB / 470.5 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006075/0.3736, allocations: 316.5 kB / 470.8 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.055/0.4286, allocations: 26.12 MB / 496.9 MB, free: 200 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.4287, allocations: 8 kB / 496.9 MB, free: 192 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4287, allocations: 0 / 496.9 MB, free: 192 kB / 398.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.4287, allocations: 0 / 496.9 MB, free: 192 kB / 398.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.007584/0.4363, allocations: 1.318 MB / 498.2 MB, free: 14.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.4364, allocations: 8.031 kB / 498.3 MB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006394/0.437, allocations: 87.39 kB / 498.3 MB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004394/0.4375, allocations: 382 kB / 498.7 MB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.4375, allocations: 37 kB / 498.7 MB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.664e-05/0.4376, allocations: 43.94 kB / 498.8 MB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.4387, allocations: 0.6244 MB / 499.4 MB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.4387, allocations: 7.938 kB / 499.4 MB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.18e-05/0.4388, allocations: 24 kB / 499.4 MB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.4388, allocations: 12 kB / 499.5 MB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009395/0.4397, allocations: 0.5268 MB / 500 MB, free: 12.99 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.00361/0.4433, allocations: 3.803 MB / 0.492 GB, free: 8.879 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008508/0.4442, allocations: 415.8 kB / 0.4924 GB, free: 8.465 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002965/0.4445, allocations: 209 kB / 0.4926 GB, free: 8.262 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003091/0.4476, allocations: 3.545 MB / 0.496 GB, free: 4.016 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.4477, allocations: 42.94 kB / 0.4961 GB, free: 3.965 MB / 414.1 MB Notification: Performance of pre-optimization done (n=46): time 2.214e-06/0.4477, allocations: 0 / 0.4961 GB, free: 3.965 MB / 414.1 MB Notification: Performance of matching and sorting (n=54): time 0.009211/0.4569, allocations: 2.041 MB / 0.4981 GB, free: 1.844 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.4569, allocations: 67.72 kB / 0.4981 GB, free: 1.766 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003201/0.4573, allocations: 304.5 kB / 0.4984 GB, free: 1.465 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.228e-05/0.4573, allocations: 37.7 kB / 0.4985 GB, free: 1.422 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.4575, allocations: 232.6 kB / 0.4987 GB, free: 1.188 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.4576, allocations: 185.3 kB / 0.4989 GB, free: 1.004 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.942e-05/0.4577, allocations: 57.69 kB / 0.4989 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002049/0.4579, allocations: 350.8 kB / 0.4992 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003014/0.4582, allocations: 177.2 kB / 0.4994 GB, free: 428 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003901/0.4586, allocations: 336.1 kB / 0.4997 GB, free: 24 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007959/0.4594, allocations: 0.5446 MB / 0.5003 GB, free: 15.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4594, allocations: 4 kB / 0.5003 GB, free: 15.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001336/0.4608, allocations: 0.6737 MB / 0.5009 GB, free: 14.72 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.4608, allocations: 8 kB / 0.5009 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.4608, allocations: 4 kB / 0.5009 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009614/0.4704, allocations: 454.3 kB / 0.5014 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000556/0.471, allocations: 143.6 kB / 0.5015 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002095/0.4731, allocations: 3.01 MB / 0.5045 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003776/0.4735, allocations: 43.92 kB / 0.5045 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.128e-05/0.4736, allocations: 35.98 kB / 0.5045 GB, free: 10.82 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.0002468/0.4738, allocations: 186.2 kB / 0.5047 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.878e-05/0.4739, allocations: 39.53 kB / 0.5047 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001584/0.4755, allocations: 1.055 MB / 0.5058 GB, free: 9.523 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/0.4755, allocations: 19.92 kB / 0.5058 GB, free: 9.504 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.4755, allocations: 0 / 0.5058 GB, free: 9.504 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001119/0.4767, allocations: 1.083 MB / 0.5069 GB, free: 8.352 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002075/0.4788, allocations: 1.746 MB / 0.5086 GB, free: 6.539 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.4788, allocations: 64 / 0.5086 GB, free: 6.539 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003967/0.4792, allocations: 99.89 kB / 0.5087 GB, free: 6.441 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003273/0.4825, allocations: 361 kB / 0.509 GB, free: 6.082 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.4825, allocations: 15.98 kB / 0.509 GB, free: 6.066 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000671/0.4832, allocations: 1.152 MB / 0.5101 GB, free: 4.863 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.4832, allocations: 4.031 kB / 0.5101 GB, free: 4.859 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/0.4846, allocations: 1.123 MB / 0.5112 GB, free: 3.711 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.4847, allocations: 140.5 kB / 0.5114 GB, free: 3.555 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.92e-05/0.4848, allocations: 15.92 kB / 0.5114 GB, free: 3.539 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003047/0.4851, allocations: 39.92 kB / 0.5114 GB, free: 3.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.179e-05/0.4852, allocations: 32.52 kB / 0.5115 GB, free: 3.469 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.621e-05/0.4852, allocations: 19.98 kB / 0.5115 GB, free: 3.449 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002505/0.4855, allocations: 251 kB / 0.5117 GB, free: 3.207 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4855, allocations: 0 / 0.5117 GB, free: 3.207 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004982/0.4905, allocations: 0.9643 MB / 0.5127 GB, free: 2.242 MB / 430.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.0403/0.5308, allocations: 7.869 MB / 0.5203 GB, free: 10.35 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001463/0.5323, allocations: 0.7084 MB / 0.521 GB, free: 9.637 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.5323, allocations: 0 / 0.521 GB, free: 9.637 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005643/0.5329, allocations: 355.6 kB / 0.5214 GB, free: 9.289 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/0.5344, allocations: 260.5 kB / 0.5216 GB, free: 9.039 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.5366, allocations: 1.657 MB / 0.5232 GB, free: 7.355 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.537, allocations: 0.865 MB / 0.5241 GB, free: 6.465 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004942/0.5375, allocations: 240.6 kB / 0.5243 GB, free: 6.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.5376, allocations: 51.42 kB / 0.5244 GB, free: 6.18 MB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.5376, allocations: 0 / 0.5244 GB, free: 6.18 MB / 446.1 MB Notification: Performance of Templates: time 0.193/0.7306, allocations: 35.44 MB / 0.559 GB, free: 129.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