Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009979/0.0009979, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001598/0.002595, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001092/0.002209, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7638/0.7638, allocations: 158.6 MB / 171.1 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1482/0.9121, allocations: 49.49 MB / 220.6 MB, free: 1.441 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 221.8 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.811e-05/1.937e-05, allocations: 2.312 kB / 221.9 MB, free: 152 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.01532/0.01534, allocations: 10.74 MB / 232.6 MB, free: 5.367 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007811/0.02315, allocations: 9.234 MB / 241.8 MB, free: 12.1 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002667/0.02342, allocations: 7.938 kB / 241.8 MB, free: 12.09 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003742/0.0238, allocations: 147.1 kB / 242 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005623/0.02436, allocations: 397.5 kB / 242.4 MB, free: 11.56 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003714/0.02807, allocations: 1.802 MB / 244.2 MB, free: 9.75 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008888/0.02896, allocations: 1.005 MB / 245.2 MB, free: 8.738 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.02912, allocations: 81.08 kB / 245.2 MB, free: 8.656 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006144/0.02973, allocations: 0.5225 MB / 245.8 MB, free: 8.133 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002954/0.03003, allocations: 255.2 kB / 246 MB, free: 7.883 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.382e-05/0.03007, allocations: 40 kB / 246.1 MB, free: 7.844 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005835/0.03591, allocations: 5.422 MB / 251.5 MB, free: 2.41 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.03603, allocations: 87.72 kB / 251.6 MB, free: 2.324 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002256/0.03626, allocations: 143.8 kB / 251.7 MB, free: 2.184 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006818/0.04308, allocations: 4.713 MB / 256.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.418e-05/0.04309, allocations: 3.984 kB / 256.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.04309, allocations: 0 / 256.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.73e-05/0.04311, allocations: 4 kB / 256.4 MB, free: 13.46 MB / 266.7 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.002444/0.04555, allocations: 1.453 MB / 257.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.04558, allocations: 8.031 kB / 257.9 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003631/0.04595, allocations: 216.4 kB / 258.1 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.04621, allocations: 224.5 kB / 258.3 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.04623, allocations: 24.66 kB / 258.3 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.903e-05/0.04628, allocations: 36 kB / 258.4 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004503/0.04673, allocations: 0.5047 MB / 258.9 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.04674, allocations: 0 / 258.9 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.04677, allocations: 23.98 kB / 258.9 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.04677, allocations: 11.94 kB / 258.9 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002473/0.04702, allocations: 203 kB / 259.1 MB, free: 10.62 MB / 266.7 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.001628/0.04865, allocations: 1.924 MB / 261 MB, free: 8.633 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002809/0.04893, allocations: 174.4 kB / 261.2 MB, free: 8.453 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.385e-05/0.04899, allocations: 65.31 kB / 261.3 MB, free: 8.387 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002667/0.04926, allocations: 147.8 kB / 261.4 MB, free: 8.242 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.04928, allocations: 38.56 kB / 261.5 MB, free: 8.195 MB / 266.7 MB Notification: Performance of pre-optimization done (n=30): time 1.693e-06/0.04929, allocations: 4 kB / 261.5 MB, free: 8.191 MB / 266.7 MB Notification: Performance of matching and sorting (n=34): time 0.002341/0.05163, allocations: 0.8455 MB / 262.3 MB, free: 7.309 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.404e-05/0.05165, allocations: 59.34 kB / 262.4 MB, free: 7.238 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.05178, allocations: 219.2 kB / 262.6 MB, free: 7.012 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.0518, allocations: 33.7 kB / 262.6 MB, free: 6.973 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.839e-05/0.05187, allocations: 180.4 kB / 262.8 MB, free: 6.793 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000308/0.05217, allocations: 122.9 kB / 262.9 MB, free: 6.672 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.097e-05/0.05226, allocations: 90.12 kB / 263 MB, free: 6.578 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.368e-05/0.05233, allocations: 334.8 kB / 263.3 MB, free: 6.242 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.834e-05/0.05238, allocations: 44.98 kB / 263.4 MB, free: 6.199 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.05248, allocations: 166.6 kB / 263.5 MB, free: 5.988 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.05266, allocations: 252.2 kB / 263.8 MB, free: 5.691 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.05267, allocations: 4 kB / 263.8 MB, free: 5.688 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002891/0.05296, allocations: 283 kB / 264.1 MB, free: 5.398 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.05297, allocations: 8 kB / 264.1 MB, free: 5.391 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.05298, allocations: 4 kB / 264.1 MB, free: 5.387 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001836/0.05481, allocations: 209.4 kB / 264.3 MB, free: 5.176 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.05506, allocations: 107.8 kB / 264.4 MB, free: 5.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008147/0.05587, allocations: 1.696 MB / 266.1 MB, free: 3.258 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.056, allocations: 8 kB / 266.1 MB, free: 3.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.05602, allocations: 16 kB / 266.1 MB, free: 3.234 MB / 266.7 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 (volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.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.0001282/0.05615, allocations: 136.7 kB / 266.2 MB, free: 3.09 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.301e-05/0.05619, allocations: 35.97 kB / 266.3 MB, free: 3.055 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004064/0.0566, allocations: 443.5 kB / 266.7 MB, free: 2.609 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.05661, allocations: 7.938 kB / 266.7 MB, free: 2.602 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.05661, allocations: 0 / 266.7 MB, free: 2.602 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002788/0.05689, allocations: 0.5645 MB / 267.3 MB, free: 1.945 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000614/0.0575, allocations: 0.6543 MB / 267.9 MB, free: 1.266 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.0575, allocations: 0 / 267.9 MB, free: 1.266 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/0.05767, allocations: 83.83 kB / 268 MB, free: 1.184 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.202e-05/0.0577, allocations: 31.7 kB / 268 MB, free: 1.152 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005877/0.05829, allocations: 155.4 kB / 268.2 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.05831, allocations: 7.984 kB / 268.2 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001791/0.05849, allocations: 0.5227 MB / 268.7 MB, free: 448 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.05849, allocations: 8.062 kB / 268.7 MB, free: 440 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003623/0.05886, allocations: 471.7 kB / 269.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.022e-05/0.05889, allocations: 19.88 kB / 269.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.405e-05/0.05897, allocations: 8 kB / 269.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.05899, allocations: 23.7 kB / 269.2 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.05901, allocations: 11.98 kB / 269.2 MB, free: 15.88 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.908e-05/0.05908, allocations: 82.77 kB / 269.3 MB, free: 15.79 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.05908, allocations: 0 / 269.3 MB, free: 15.79 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001117/0.0602, allocations: 371.2 kB / 269.7 MB, free: 15.43 MB / 282.7 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.007378/0.06757, allocations: 3.497 MB / 273.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004952/0.06807, allocations: 323.9 kB / 273.5 MB, free: 11.59 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.696e-05/0.06809, allocations: 4 kB / 273.5 MB, free: 11.59 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.06823, allocations: 127.3 kB / 273.6 MB, free: 11.46 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004948/0.06873, allocations: 200.9 kB / 273.8 MB, free: 11.26 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004951/0.07368, allocations: 0.7981 MB / 274.6 MB, free: 10.43 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.818e-05/0.07375, allocations: 118.8 kB / 274.7 MB, free: 10.29 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000243/0.07399, allocations: 167 kB / 274.9 MB, free: 10.13 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002305/0.07422, allocations: 163.2 kB / 275.1 MB, free: 9.969 MB / 282.7 MB Notification: Performance of SimCode: time 1.633e-06/0.07422, allocations: 0 / 275.1 MB, free: 9.969 MB / 282.7 MB Notification: Performance of Templates: time 0.1124/0.1866, allocations: 21.81 MB / 296.9 MB, free: 34.34 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.783244038000703]