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.0009258/0.0009258, allocations: 95.3 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00101/0.00101, allocations: 201.7 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.7 MB / 247.4 MB, free: 10.98 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002603/0.0002603, allocations: 8 kB / 308.4 MB, free: 0.7969 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09111/0.09138, allocations: 51.53 MB / 359.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.2081/0.2995, allocations: 36.6 MB / 396.5 MB, free: 14.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03663/0.3362, allocations: 31.13 MB / 427.6 MB, free: 6.406 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008033/0.3371, allocations: 7.938 kB / 427.6 MB, free: 6.398 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001612/0.3387, allocations: 338.3 kB / 428 MB, free: 6.066 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001604/0.3403, allocations: 0.5052 MB / 428.5 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01562/0.356, allocations: 4.155 MB / 432.6 MB, free: 1.398 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002528/0.3585, allocations: 2.038 MB / 434.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003501/0.3589, allocations: 127.2 kB / 434.8 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001099/0.36, allocations: 462.2 kB / 435.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008086/0.3608, allocations: 454.2 kB / 435.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.3609, allocations: 24 kB / 435.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05046/0.4114, allocations: 35.3 MB / 471 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003248/0.4118, allocations: 123.5 kB / 471.1 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005953/0.4124, allocations: 312.5 kB / 471.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03037/0.4428, allocations: 13.88 MB / 485.3 MB, free: 12.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.4428, allocations: 0 / 485.3 MB, free: 12.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.506e-06/0.4428, allocations: 0 / 485.3 MB, free: 12.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.29e-05/0.4429, allocations: 7.938 kB / 485.3 MB, free: 12.51 MB / 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.008676/0.4515, allocations: 1.314 MB / 486.6 MB, free: 11.14 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.4516, allocations: 8.031 kB / 486.6 MB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008118/0.4524, allocations: 91.39 kB / 486.7 MB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005826/0.453, allocations: 381.9 kB / 487.1 MB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.547e-05/0.4531, allocations: 33 kB / 487.1 MB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.22e-05/0.4532, allocations: 52 kB / 487.2 MB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.4545, allocations: 0.6205 MB / 487.8 MB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.4545, allocations: 7.938 kB / 487.8 MB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.8e-05/0.4546, allocations: 16 kB / 487.8 MB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/0.4546, allocations: 12 kB / 487.8 MB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.4556, allocations: 0.5307 MB / 488.4 MB, free: 9.312 MB / 398.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.004238/0.4599, allocations: 3.803 MB / 492.2 MB, free: 5.203 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009371/0.4608, allocations: 403.8 kB / 492.6 MB, free: 4.801 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003124/0.4612, allocations: 220.8 kB / 492.8 MB, free: 4.586 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003311/0.4645, allocations: 3.541 MB / 496.3 MB, free: 352 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.4646, allocations: 50.86 kB / 496.4 MB, free: 292 kB / 398.1 MB Notification: Performance of pre-optimization done (n=46): time 2.464e-06/0.4646, allocations: 0 / 496.4 MB, free: 292 kB / 398.1 MB Notification: Performance of matching and sorting (n=54): time 0.009528/0.4741, allocations: 2.045 MB / 498.4 MB, free: 14.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.4742, allocations: 59.83 kB / 498.5 MB, free: 14.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000352/0.4745, allocations: 316.4 kB / 498.8 MB, free: 13.78 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.677e-05/0.4746, allocations: 29.7 kB / 498.8 MB, free: 13.74 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/0.4748, allocations: 236.6 kB / 499.1 MB, free: 13.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.4749, allocations: 189.3 kB / 499.2 MB, free: 13.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.314e-05/0.475, allocations: 57.69 kB / 499.3 MB, free: 13.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.4751, allocations: 354.7 kB / 499.6 MB, free: 12.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003088/0.4755, allocations: 173.2 kB / 499.8 MB, free: 12.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004155/0.4759, allocations: 332.1 kB / 0.4884 GB, free: 12.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000766/0.4767, allocations: 0.5523 MB / 0.489 GB, free: 11.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.4767, allocations: 0 / 0.489 GB, free: 11.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001287/0.478, allocations: 0.6735 MB / 0.4896 GB, free: 11.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.478, allocations: 8 kB / 0.4896 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.478, allocations: 4 kB / 0.4896 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009284/0.4873, allocations: 454.6 kB / 0.4901 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006328/0.488, allocations: 139.8 kB / 0.4902 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002049/0.49, allocations: 3.006 MB / 0.4931 GB, free: 7.219 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004812/0.4906, allocations: 48 kB / 0.4932 GB, free: 7.172 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.838e-05/0.4906, allocations: 28 kB / 0.4932 GB, free: 7.145 MB / 414.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.000281/0.4909, allocations: 189.6 kB / 0.4934 GB, free: 6.949 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.491, allocations: 43.47 kB / 0.4934 GB, free: 6.906 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001647/0.4927, allocations: 1.067 MB / 0.4945 GB, free: 5.824 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/0.4927, allocations: 12 kB / 0.4945 GB, free: 5.812 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4927, allocations: 0 / 0.4945 GB, free: 5.812 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001202/0.4939, allocations: 1.091 MB / 0.4955 GB, free: 4.652 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002287/0.4962, allocations: 1.734 MB / 0.4972 GB, free: 2.852 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.4963, allocations: 0 / 0.4972 GB, free: 2.852 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004031/0.4967, allocations: 103.9 kB / 0.4973 GB, free: 2.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003297/0.5, allocations: 357 kB / 0.4977 GB, free: 2.395 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.416e-05/0.5001, allocations: 20.06 kB / 0.4977 GB, free: 2.375 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007448/0.5008, allocations: 1.151 MB / 0.4988 GB, free: 1.172 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5008, allocations: 0 / 0.4988 GB, free: 1.172 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.5024, allocations: 1.127 MB / 0.4999 GB, free: 20 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002089/0.5026, allocations: 140.5 kB / 0.5 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.017e-05/0.5027, allocations: 16.19 kB / 0.5001 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003394/0.503, allocations: 35.81 kB / 0.5001 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.514e-05/0.5031, allocations: 32.52 kB / 0.5001 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.715e-05/0.5032, allocations: 23.98 kB / 0.5002 GB, free: 15.76 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002893/0.5035, allocations: 247 kB / 0.5004 GB, free: 15.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5035, allocations: 0 / 0.5004 GB, free: 15.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006034/0.5095, allocations: 0.9643 MB / 0.5013 GB, free: 14.55 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.04365/0.5532, allocations: 7.856 MB / 0.509 GB, free: 6.676 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001612/0.5548, allocations: 0.7084 MB / 0.5097 GB, free: 5.961 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.5549, allocations: 0 / 0.5097 GB, free: 5.961 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006489/0.5555, allocations: 363.5 kB / 0.51 GB, free: 5.605 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001638/0.5572, allocations: 264.5 kB / 0.5103 GB, free: 5.348 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/0.5598, allocations: 1.687 MB / 0.5119 GB, free: 3.625 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004127/0.5602, allocations: 0.8611 MB / 0.5128 GB, free: 2.738 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.5604, allocations: 59.42 kB / 0.5128 GB, free: 2.68 MB / 430.1 MB Notification: Performance of SimCode: time 8.52e-07/0.5604, allocations: 4 kB / 0.5128 GB, free: 2.676 MB / 430.1 MB Notification: Performance of Templates: time 0.2284/0.7887, allocations: 38.67 MB / 0.5506 GB, free: 132.2 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches