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.001594/0.001594, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001844/0.001844, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.459/1.459, allocations: 230.3 MB / 258 MB, free: 8.25 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.001997/0.001997, allocations: 63.89 kB / 378.8 MB, free: 2.773 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2409, allocations: 53.37 MB / 432.1 MB, free: 7.098 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.0297/0.2706, allocations: 27.07 MB / 459.2 MB, free: 11.93 MB / 366.1 MB
Notification: Performance of NFInst.instExpressions: time 0.02853/0.2991, allocations: 25.09 MB / 484.3 MB, free: 2.758 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003521/0.2995, allocations: 4 kB / 484.3 MB, free: 2.754 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0008281/0.3003, allocations: 310.3 kB / 484.6 MB, free: 2.449 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0007674/0.3011, allocations: 385.8 kB / 485 MB, free: 2.07 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.01078/0.3119, allocations: 4.125 MB / 489.1 MB, free: 13.94 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001284/0.3131, allocations: 0.9581 MB / 490 MB, free: 12.98 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002087/0.3133, allocations: 81.23 kB / 490.1 MB, free: 12.89 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0007579/0.3141, allocations: 406.5 kB / 490.5 MB, free: 12.5 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004906/0.3146, allocations: 314.8 kB / 490.8 MB, free: 12.19 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 8.135e-05/0.3147, allocations: 36 kB / 490.9 MB, free: 12.15 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.02067/0.3353, allocations: 10.55 MB / 0.4897 GB, free: 1.582 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002396/0.3356, allocations: 103.7 kB / 0.4898 GB, free: 1.48 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0004387/0.336, allocations: 231.1 kB / 0.49 GB, free: 1.254 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.03356/0.3696, allocations: 11.5 MB / 0.5012 GB, free: 5.738 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.3696, allocations: 3.938 kB / 0.5012 GB, free: 5.734 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.593e-06/0.3696, allocations: 0 / 0.5012 GB, free: 5.734 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 1.88e-05/0.3696, allocations: 0 / 0.5012 GB, free: 5.734 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.006518/0.3761, allocations: 1.117 MB / 0.5023 GB, free: 4.582 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.3762, allocations: 8.031 kB / 0.5023 GB, free: 4.574 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006569/0.3768, allocations: 71.73 kB / 0.5024 GB, free: 4.504 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005439/0.3774, allocations: 260.6 kB / 0.5026 GB, free: 4.223 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.716e-05/0.3774, allocations: 28.66 kB / 0.5027 GB, free: 4.191 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.119e-05/0.3775, allocations: 32 kB / 0.5027 GB, free: 4.16 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009842/0.3785, allocations: 463.8 kB / 0.5031 GB, free: 3.676 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.3785, allocations: 3.984 kB / 0.5031 GB, free: 3.672 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.133e-05/0.3785, allocations: 16 kB / 0.5032 GB, free: 3.656 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.3785, allocations: 8 kB / 0.5032 GB, free: 3.648 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008027/0.3793, allocations: 394.3 kB / 0.5035 GB, free: 3.262 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.003777/0.3831, allocations: 2.814 MB / 0.5063 GB, free: 248 kB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000725/0.3838, allocations: 288.3 kB / 0.5066 GB, free: 15.96 MB / 430.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.384, allocations: 124 kB / 0.5067 GB, free: 15.84 MB / 430.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.001591/0.3856, allocations: 471.5 kB / 0.5071 GB, free: 15.38 MB / 430.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/0.3857, allocations: 34.56 kB / 0.5072 GB, free: 15.33 MB / 430.1 MB
Notification: Performance of pre-optimization done (n=30): time 1.994e-06/0.3857, allocations: 0 / 0.5072 GB, free: 15.33 MB / 430.1 MB
Notification: Performance of matching and sorting (n=34): time 0.005885/0.3916, allocations: 1.154 MB / 0.5083 GB, free: 14.14 MB / 430.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.3916, allocations: 59.39 kB / 0.5083 GB, free: 14.07 MB / 430.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003122/0.3919, allocations: 261.9 kB / 0.5086 GB, free: 13.8 MB / 430.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.301e-05/0.392, allocations: 37.64 kB / 0.5086 GB, free: 13.75 MB / 430.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.3921, allocations: 188.5 kB / 0.5088 GB, free: 13.57 MB / 430.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.3922, allocations: 126.9 kB / 0.5089 GB, free: 13.44 MB / 430.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.3924, allocations: 86.08 kB / 0.509 GB, free: 13.35 MB / 430.1 MB
Notification: Performance of setup shared object (initialization): time 0.000157/0.3925, allocations: 334.8 kB / 0.5093 GB, free: 13.02 MB / 430.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.3927, allocations: 116.8 kB / 0.5094 GB, free: 12.9 MB / 430.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003196/0.3931, allocations: 222.1 kB / 0.5097 GB, free: 12.64 MB / 430.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006074/0.3937, allocations: 378 kB / 0.51 GB, free: 12.22 MB / 430.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3937, allocations: 0 / 0.51 GB, free: 12.22 MB / 430.1 MB
Notification: Performance of matching and sorting (n=50) (initialization): time 0.00102/0.3947, allocations: 470.6 kB / 0.5105 GB, free: 11.75 MB / 430.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.3947, allocations: 8 kB / 0.5105 GB, free: 11.74 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.3947, allocations: 4 kB / 0.5105 GB, free: 11.73 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.006292/0.401, allocations: 245.9 kB / 0.5107 GB, free: 11.49 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004268/0.4014, allocations: 87.89 kB / 0.5108 GB, free: 11.4 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/0.4033, allocations: 1.843 MB / 0.5126 GB, free: 9.422 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000263/0.4035, allocations: 12.06 kB / 0.5126 GB, free: 9.41 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.513e-05/0.4036, allocations: 20 kB / 0.5126 GB, free: 9.391 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.0002551/0.4038, allocations: 174.5 kB / 0.5128 GB, free: 9.211 MB / 430.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001987/0.404, allocations: 35.75 kB / 0.5128 GB, free: 9.176 MB / 430.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/0.4052, allocations: 0.6972 MB / 0.5135 GB, free: 8.465 MB / 430.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.667e-05/0.4053, allocations: 12 kB / 0.5135 GB, free: 8.453 MB / 430.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.4053, allocations: 0 / 0.5135 GB, free: 8.453 MB / 430.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001001/0.4063, allocations: 0.8788 MB / 0.5144 GB, free: 7.484 MB / 430.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/0.408, allocations: 1.187 MB / 0.5155 GB, free: 6.246 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.408, allocations: 4 kB / 0.5155 GB, free: 6.242 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002752/0.4083, allocations: 59.91 kB / 0.5156 GB, free: 6.184 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001702/0.41, allocations: 184.5 kB / 0.5158 GB, free: 6 MB / 430.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/0.41, allocations: 8 kB / 0.5158 GB, free: 5.992 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000424/0.4104, allocations: 0.5758 MB / 0.5163 GB, free: 5.391 MB / 430.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/0.4104, allocations: 3.938 kB / 0.5163 GB, free: 5.387 MB / 430.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.4116, allocations: 0.746 MB / 0.5171 GB, free: 4.617 MB / 430.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 9.147e-05/0.4116, allocations: 35.7 kB / 0.5171 GB, free: 4.582 MB / 430.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.967e-05/0.4117, allocations: 8 kB / 0.5171 GB, free: 4.574 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.4119, allocations: 7.938 kB / 0.5171 GB, free: 4.566 MB / 430.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-05/0.412, allocations: 31.89 kB / 0.5172 GB, free: 4.535 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.101e-05/0.412, allocations: 15.98 kB / 0.5172 GB, free: 4.52 MB / 430.1 MB
Notification: Performance of sorting global known variables: time 0.0002505/0.4122, allocations: 223.1 kB / 0.5174 GB, free: 4.301 MB / 430.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.4122, allocations: 0 / 0.5174 GB, free: 4.301 MB / 430.1 MB
Notification: Performance of remove unused functions: time 0.004254/0.4165, allocations: 0.7519 MB / 0.5181 GB, free: 3.547 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.02651/0.443, allocations: 6.423 MB / 0.5244 GB, free: 13.1 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.001306/0.4443, allocations: 459 kB / 0.5248 GB, free: 12.64 MB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.4443, allocations: 0 / 0.5248 GB, free: 12.64 MB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0004808/0.4448, allocations: 220.6 kB / 0.525 GB, free: 12.43 MB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.4461, allocations: 188.7 kB / 0.5252 GB, free: 12.24 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.4478, allocations: 0.9123 MB / 0.5261 GB, free: 11.3 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004584/0.4482, allocations: 0.8052 MB / 0.5269 GB, free: 10.46 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.0004572/0.4487, allocations: 204 kB / 0.5271 GB, free: 10.27 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.4488, allocations: 43.42 kB / 0.5271 GB, free: 10.23 MB / 446.1 MB
Notification: Performance of SimCode: time 6.82e-07/0.4488, allocations: 3.938 kB / 0.5271 GB, free: 10.22 MB / 446.1 MB
Notification: Performance of Templates: time 0.2372/0.686, allocations: 29.45 MB / 0.5559 GB, free: 88.59 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins/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: 7.965341498143971]