Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001343/0.001343, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001504/0.001504, allocations: 210.5 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 230.5 MB / 258.1 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 63.91 kB / 379 MB, free: 2.336 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2771, allocations: 53.42 MB / 432.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03066/0.3077, allocations: 24.71 MB / 457.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0281/0.3358, allocations: 22.08 MB / 479.2 MB, free: 7.609 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004026/0.3362, allocations: 11.94 kB / 479.2 MB, free: 7.598 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008749/0.3371, allocations: 270.5 kB / 479.5 MB, free: 7.332 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008422/0.3379, allocations: 389.8 kB / 479.8 MB, free: 6.949 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01183/0.3498, allocations: 4.101 MB / 483.9 MB, free: 2.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001471/0.3512, allocations: 0.9698 MB / 484.9 MB, free: 1.867 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002284/0.3515, allocations: 69.23 kB / 485 MB, free: 1.797 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000763/0.3522, allocations: 402.6 kB / 485.4 MB, free: 1.402 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000429/0.3527, allocations: 294.8 kB / 485.7 MB, free: 1.113 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.43e-05/0.3527, allocations: 36 kB / 485.7 MB, free: 1.078 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02025/0.373, allocations: 10.15 MB / 495.8 MB, free: 6.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002672/0.3732, allocations: 103.7 kB / 495.9 MB, free: 6.809 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003692/0.3736, allocations: 203.3 kB / 496.1 MB, free: 6.609 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03454/0.4082, allocations: 11.51 MB / 0.4958 GB, free: 11.09 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.944e-06/0.4082, allocations: 4 kB / 0.4958 GB, free: 11.09 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.4082, allocations: 3.938 kB / 0.4958 GB, free: 11.08 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.119e-05/0.4082, allocations: 0 / 0.4958 GB, free: 11.08 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.006256/0.4144, allocations: 1.097 MB / 0.4968 GB, free: 9.949 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.4145, allocations: 15.98 kB / 0.4969 GB, free: 9.934 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006903/0.4152, allocations: 67.73 kB / 0.4969 GB, free: 9.867 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006344/0.4158, allocations: 260.6 kB / 0.4972 GB, free: 9.586 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.386e-05/0.4159, allocations: 24.66 kB / 0.4972 GB, free: 9.559 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.111e-05/0.4159, allocations: 32 kB / 0.4972 GB, free: 9.527 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.417, allocations: 0.6074 MB / 0.4978 GB, free: 8.852 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.417, allocations: 3.953 kB / 0.4978 GB, free: 8.848 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.453e-05/0.4171, allocations: 23.94 kB / 0.4978 GB, free: 8.824 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.4171, allocations: 8 kB / 0.4978 GB, free: 8.816 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008162/0.4179, allocations: 382.3 kB / 0.4982 GB, free: 8.441 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.003856/0.4218, allocations: 2.18 MB / 0.5003 GB, free: 6.191 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007282/0.4225, allocations: 277.8 kB / 0.5006 GB, free: 5.914 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002303/0.4227, allocations: 125.6 kB / 0.5007 GB, free: 5.789 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001548/0.4243, allocations: 471.4 kB / 0.5012 GB, free: 5.328 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/0.4243, allocations: 38.56 kB / 0.5012 GB, free: 5.281 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.964e-06/0.4243, allocations: 0 / 0.5012 GB, free: 5.281 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.00583/0.4302, allocations: 1.147 MB / 0.5023 GB, free: 4.094 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.4302, allocations: 55.41 kB / 0.5024 GB, free: 4.027 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002936/0.4305, allocations: 232 kB / 0.5026 GB, free: 3.789 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.191e-05/0.4305, allocations: 33.7 kB / 0.5026 GB, free: 3.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.4307, allocations: 200.3 kB / 0.5028 GB, free: 3.551 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.4308, allocations: 130.9 kB / 0.503 GB, free: 3.422 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.4309, allocations: 82.11 kB / 0.503 GB, free: 3.336 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.4311, allocations: 334.8 kB / 0.5033 GB, free: 3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002385/0.4313, allocations: 116.8 kB / 0.5035 GB, free: 2.887 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003295/0.4317, allocations: 225.3 kB / 0.5037 GB, free: 2.621 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005823/0.4322, allocations: 381.4 kB / 0.504 GB, free: 2.199 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.4322, allocations: 0 / 0.504 GB, free: 2.199 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001001/0.4332, allocations: 454.8 kB / 0.5045 GB, free: 1.742 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.4333, allocations: 15.88 kB / 0.5045 GB, free: 1.727 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.4333, allocations: 4 kB / 0.5045 GB, free: 1.723 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00571/0.439, allocations: 245.9 kB / 0.5047 GB, free: 1.477 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003958/0.4394, allocations: 91.89 kB / 0.5048 GB, free: 1.387 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001779/0.4412, allocations: 1.816 MB / 0.5066 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000362/0.4415, allocations: 16.06 kB / 0.5066 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.312e-05/0.4416, allocations: 20 kB / 0.5066 GB, free: 15.41 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.000313/0.4419, allocations: 169.5 kB / 0.5068 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/0.4421, allocations: 35.81 kB / 0.5068 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/0.4433, allocations: 0.7084 MB / 0.5075 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/0.4433, allocations: 11.94 kB / 0.5075 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.4433, allocations: 0 / 0.5075 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000992/0.4443, allocations: 0.8827 MB / 0.5084 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00181/0.4461, allocations: 1.074 MB / 0.5094 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.4461, allocations: 0 / 0.5094 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002632/0.4464, allocations: 63.91 kB / 0.5095 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001553/0.448, allocations: 184.4 kB / 0.5097 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/0.448, allocations: 12 kB / 0.5097 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004308/0.4484, allocations: 0.5718 MB / 0.5102 GB, free: 11.53 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4484, allocations: 4.031 kB / 0.5102 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.4496, allocations: 0.7459 MB / 0.511 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.783e-05/0.4497, allocations: 31.77 kB / 0.511 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.579e-05/0.4497, allocations: 11.94 kB / 0.511 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.4499, allocations: 12 kB / 0.511 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.45, allocations: 23.89 kB / 0.511 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.962e-05/0.45, allocations: 12 kB / 0.5111 GB, free: 10.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002357/0.4502, allocations: 201.2 kB / 0.5113 GB, free: 10.47 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4502, allocations: 0 / 0.5113 GB, free: 10.47 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00448/0.4547, allocations: 0.752 MB / 0.512 GB, free: 9.715 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02702/0.4817, allocations: 6.403 MB / 0.5182 GB, free: 3.289 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00119/0.4829, allocations: 470.6 kB / 0.5187 GB, free: 2.816 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.4829, allocations: 0 / 0.5187 GB, free: 2.816 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004765/0.4834, allocations: 223.7 kB / 0.5189 GB, free: 2.594 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.4845, allocations: 165 kB / 0.5191 GB, free: 2.434 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.4864, allocations: 0.9379 MB / 0.52 GB, free: 1.461 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.4866, allocations: 200.9 kB / 0.5202 GB, free: 1.246 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.4867, allocations: 39.44 kB / 0.5202 GB, free: 1.211 MB / 430.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4867, allocations: 0 / 0.5202 GB, free: 1.211 MB / 430.1 MB Notification: Performance of Templates: time 0.2752/0.7619, allocations: 29.24 MB / 0.5488 GB, free: 92.98 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_trunk_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.83429651428014]