Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001944/0.001944, allocations: 103.5 kB / 20.43 MB, free: 1.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002249/0.002249, allocations: 180.1 kB / 23.7 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 225.7 MB / 252.5 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 47.92 kB / 370.9 MB, free: 9.273 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2325, allocations: 52.19 MB / 423.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.04067/0.2732, allocations: 34.69 MB / 457.8 MB, free: 11.69 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.035/0.3082, allocations: 27.14 MB / 484.9 MB, free: 464 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005114/0.3087, allocations: 11.94 kB / 484.9 MB, free: 452 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001216/0.3099, allocations: 373.8 kB / 485.3 MB, free: 76 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001344/0.3113, allocations: 0.5361 MB / 485.8 MB, free: 15.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01479/0.3261, allocations: 5.238 MB / 491.1 MB, free: 10.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002056/0.3281, allocations: 1.386 MB / 492.4 MB, free: 8.895 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003141/0.3284, allocations: 118.9 kB / 492.6 MB, free: 8.773 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.3296, allocations: 0.545 MB / 493.1 MB, free: 8.227 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007882/0.3304, allocations: 442.1 kB / 493.5 MB, free: 7.793 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.3305, allocations: 52 kB / 493.6 MB, free: 7.742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0264/0.3569, allocations: 12.43 MB / 0.4942 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002944/0.3572, allocations: 159.4 kB / 0.4943 GB, free: 11.13 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005158/0.3577, allocations: 271.1 kB / 0.4946 GB, free: 10.86 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0424/0.4001, allocations: 14.94 MB / 0.5092 GB, free: 11.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.4001, allocations: 0 / 0.5092 GB, free: 11.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4001, allocations: 0 / 0.5092 GB, free: 11.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.231e-05/0.4001, allocations: 0 / 0.5092 GB, free: 11.91 MB / 430.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.007704/0.4078, allocations: 1.392 MB / 0.5105 GB, free: 10.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.4079, allocations: 8.031 kB / 0.5105 GB, free: 10.47 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007265/0.4086, allocations: 99.61 kB / 0.5106 GB, free: 10.37 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007206/0.4093, allocations: 328.2 kB / 0.5109 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.056e-05/0.4094, allocations: 37 kB / 0.511 GB, free: 9.988 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.209e-05/0.4094, allocations: 47.94 kB / 0.511 GB, free: 9.941 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/0.411, allocations: 0.8252 MB / 0.5118 GB, free: 9.02 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/0.411, allocations: 0 / 0.5118 GB, free: 9.02 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.955e-05/0.411, allocations: 24 kB / 0.5118 GB, free: 8.996 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.946e-05/0.4111, allocations: 16 kB / 0.5119 GB, free: 8.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.4122, allocations: 0.5268 MB / 0.5124 GB, free: 8.457 MB / 430.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.004475/0.4167, allocations: 2.736 MB / 0.515 GB, free: 5.645 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009707/0.4177, allocations: 392.2 kB / 0.5154 GB, free: 5.254 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000346/0.418, allocations: 204.7 kB / 0.5156 GB, free: 5.055 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002067/0.4201, allocations: 0.6207 MB / 0.5162 GB, free: 4.434 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.4201, allocations: 34.94 kB / 0.5163 GB, free: 4.391 MB / 430.1 MB Notification: Performance of pre-optimization done (n=46): time 1.783e-06/0.4201, allocations: 4 kB / 0.5163 GB, free: 4.387 MB / 430.1 MB Notification: Performance of matching and sorting (n=54): time 0.009302/0.4294, allocations: 1.884 MB / 0.5181 GB, free: 2.461 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.4295, allocations: 55.84 kB / 0.5182 GB, free: 2.395 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003202/0.4298, allocations: 281.7 kB / 0.5184 GB, free: 2.109 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.698e-05/0.4298, allocations: 37.7 kB / 0.5185 GB, free: 2.066 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.43, allocations: 237 kB / 0.5187 GB, free: 1.832 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.4302, allocations: 206.2 kB / 0.5189 GB, free: 1.629 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/0.4304, allocations: 118.3 kB / 0.519 GB, free: 1.508 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.4305, allocations: 346.8 kB / 0.5193 GB, free: 1.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003359/0.4309, allocations: 189.2 kB / 0.5195 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004823/0.4313, allocations: 332 kB / 0.5198 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008781/0.4322, allocations: 0.5446 MB / 0.5204 GB, free: 15.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4322, allocations: 0 / 0.5204 GB, free: 15.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001359/0.4336, allocations: 0.6659 MB / 0.521 GB, free: 15.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.4336, allocations: 8 kB / 0.521 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.4336, allocations: 4.562 kB / 0.521 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009127/0.4427, allocations: 457.9 kB / 0.5215 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005852/0.4433, allocations: 139.8 kB / 0.5216 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002346/0.4457, allocations: 2.963 MB / 0.5245 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002883/0.4459, allocations: 16 kB / 0.5245 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.965e-05/0.446, allocations: 35.97 kB / 0.5245 GB, free: 11.51 MB / 446.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.0002798/0.4463, allocations: 189.6 kB / 0.5247 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.4464, allocations: 40.05 kB / 0.5247 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001733/0.4481, allocations: 1.079 MB / 0.5258 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/0.4481, allocations: 15.92 kB / 0.5258 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.4482, allocations: 0 / 0.5258 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001401/0.4496, allocations: 1.114 MB / 0.5269 GB, free: 8.973 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00241/0.452, allocations: 1.588 MB / 0.5285 GB, free: 7.344 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.452, allocations: 0 / 0.5285 GB, free: 7.344 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004048/0.4524, allocations: 103.9 kB / 0.5286 GB, free: 7.242 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003051/0.4554, allocations: 357 kB / 0.5289 GB, free: 6.887 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.614e-05/0.4555, allocations: 16.06 kB / 0.5289 GB, free: 6.871 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008298/0.4563, allocations: 1.156 MB / 0.53 GB, free: 5.664 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.4563, allocations: 0 / 0.53 GB, free: 5.664 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.458, allocations: 1.144 MB / 0.5312 GB, free: 4.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.072e-05/0.458, allocations: 47.61 kB / 0.5312 GB, free: 4.453 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.671e-05/0.4581, allocations: 15.94 kB / 0.5312 GB, free: 4.438 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/0.4584, allocations: 12 kB / 0.5312 GB, free: 4.426 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.72e-05/0.4584, allocations: 36.47 kB / 0.5313 GB, free: 4.387 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.329e-05/0.4585, allocations: 19.98 kB / 0.5313 GB, free: 4.367 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002693/0.4587, allocations: 235.2 kB / 0.5315 GB, free: 4.137 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4587, allocations: 0 / 0.5315 GB, free: 4.137 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00511/0.4639, allocations: 0.978 MB / 0.5325 GB, free: 3.156 MB / 446.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.2094/0.6732, allocations: 7.87 MB / 0.5401 GB, free: 103.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001462/0.6747, allocations: 0.6971 MB / 0.5408 GB, free: 103.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.6747, allocations: 3.969 kB / 0.5408 GB, free: 103.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004954/0.6752, allocations: 350.3 kB / 0.5412 GB, free: 103.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.6765, allocations: 235.7 kB / 0.5414 GB, free: 103.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.6785, allocations: 1.339 MB / 0.5427 GB, free: 102.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.6788, allocations: 266.5 kB / 0.543 GB, free: 102.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004643/0.6792, allocations: 232.5 kB / 0.5432 GB, free: 102.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.6793, allocations: 52.64 kB / 0.5432 GB, free: 102.6 MB / 446.1 MB Notification: Performance of SimCode: time 5.41e-07/0.6793, allocations: 0 / 0.5432 GB, free: 102.6 MB / 446.1 MB Notification: Performance of Templates: time 0.03814/0.7175, allocations: 36.47 MB / 0.5788 GB, free: 68.63 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.R134a.R134a2.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: 9.07828407920897]