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.001501/0.001501, allocations: 108.6 kB / 21.18 MB, free: 0.7617 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.001871/0.001871, allocations: 189.2 kB / 24.48 MB, free: 4.164 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.519/1.519, allocations: 225.6 MB / 253.3 MB, free: 13.05 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.001583/0.001583, allocations: 47.92 kB / 371.7 MB, free: 9.367 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2743, allocations: 52.19 MB / 423.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.04145/0.3158, allocations: 38.21 MB / 462.1 MB, free: 8.344 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03652/0.3523, allocations: 30.82 MB / 492.9 MB, free: 9.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006533/0.3529, allocations: 7.938 kB / 492.9 MB, free: 9.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00141/0.3543, allocations: 433.6 kB / 493.4 MB, free: 8.984 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001458/0.3558, allocations: 0.5322 MB / 493.9 MB, free: 8.449 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01714/0.3729, allocations: 5.282 MB / 499.2 MB, free: 3.156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002647/0.3756, allocations: 1.379 MB / 0.4888 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004069/0.376, allocations: 130.8 kB / 0.4889 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001351/0.3773, allocations: 0.5411 MB / 0.4895 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009543/0.3783, allocations: 458.2 kB / 0.4899 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001544/0.3785, allocations: 59.94 kB / 0.49 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02617/0.4046, allocations: 12.95 MB / 0.5026 GB, free: 3.617 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003709/0.405, allocations: 151.5 kB / 0.5027 GB, free: 3.469 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007006/0.4057, allocations: 322.7 kB / 0.5031 GB, free: 3.152 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04188/0.4476, allocations: 14.93 MB / 0.5176 GB, free: 4.203 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.4476, allocations: 0 / 0.5176 GB, free: 4.203 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4476, allocations: 0 / 0.5176 GB, free: 4.203 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.275e-05/0.4476, allocations: 3.938 kB / 0.5176 GB, free: 4.199 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.01293/0.4605, allocations: 1.404 MB / 0.519 GB, free: 2.758 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/0.4606, allocations: 16.02 kB / 0.519 GB, free: 2.742 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007887/0.4614, allocations: 91.62 kB / 0.5191 GB, free: 2.652 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007677/0.4622, allocations: 324.2 kB / 0.5194 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.871e-05/0.4622, allocations: 41 kB / 0.5195 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.055e-05/0.4623, allocations: 48 kB / 0.5195 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.4636, allocations: 0.6166 MB / 0.5201 GB, free: 1.555 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.31e-05/0.4636, allocations: 7.938 kB / 0.5201 GB, free: 1.547 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.49e-05/0.4637, allocations: 20 kB / 0.5201 GB, free: 1.527 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.062e-05/0.4637, allocations: 12 kB / 0.5201 GB, free: 1.516 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.4648, allocations: 0.5307 MB / 0.5207 GB, free: 0.9883 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.00514/0.4699, allocations: 3.684 MB / 0.5243 GB, free: 13.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009512/0.4709, allocations: 395.7 kB / 0.5246 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003148/0.4712, allocations: 196.8 kB / 0.5248 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001986/0.4732, allocations: 0.6246 MB / 0.5254 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/0.4732, allocations: 38.94 kB / 0.5255 GB, free: 11.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 2.494e-06/0.4732, allocations: 0 / 0.5255 GB, free: 11.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.009088/0.4823, allocations: 1.876 MB / 0.5273 GB, free: 9.855 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/0.4824, allocations: 67.78 kB / 0.5274 GB, free: 9.777 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003784/0.4828, allocations: 312.4 kB / 0.5277 GB, free: 9.465 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.234e-05/0.4828, allocations: 37.64 kB / 0.5277 GB, free: 9.422 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.483, allocations: 241.1 kB / 0.5279 GB, free: 9.184 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.4831, allocations: 198.2 kB / 0.5281 GB, free: 8.988 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/0.4833, allocations: 118.3 kB / 0.5282 GB, free: 8.867 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.4835, allocations: 350.8 kB / 0.5286 GB, free: 8.516 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003128/0.4838, allocations: 181.2 kB / 0.5287 GB, free: 8.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004475/0.4842, allocations: 332.1 kB / 0.5291 GB, free: 7.953 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008203/0.485, allocations: 0.5484 MB / 0.5296 GB, free: 7.344 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.485, allocations: 0 / 0.5296 GB, free: 7.344 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001327/0.4864, allocations: 0.6737 MB / 0.5303 GB, free: 6.656 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.4864, allocations: 11.94 kB / 0.5303 GB, free: 6.645 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.4864, allocations: 4 kB / 0.5303 GB, free: 6.641 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008875/0.4953, allocations: 446.6 kB / 0.5307 GB, free: 6.195 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006258/0.4959, allocations: 139.8 kB / 0.5308 GB, free: 6.059 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002427/0.4983, allocations: 2.997 MB / 0.5338 GB, free: 2.875 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003836/0.4987, allocations: 15.94 kB / 0.5338 GB, free: 2.859 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.693e-05/0.4988, allocations: 32.06 kB / 0.5338 GB, free: 2.828 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.0003154/0.4991, allocations: 189.9 kB / 0.534 GB, free: 2.633 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.4992, allocations: 43.77 kB / 0.534 GB, free: 2.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001633/0.5008, allocations: 1.075 MB / 0.5351 GB, free: 1.492 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/0.5009, allocations: 15.98 kB / 0.5351 GB, free: 1.477 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.5009, allocations: 0 / 0.5351 GB, free: 1.477 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001248/0.5021, allocations: 1.106 MB / 0.5362 GB, free: 308 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2672/0.7693, allocations: 1.74 MB / 0.5379 GB, free: 103.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.7693, allocations: 1.844 kB / 0.5379 GB, free: 103.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004018/0.7697, allocations: 100.2 kB / 0.538 GB, free: 103.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003169/0.7729, allocations: 354.6 kB / 0.5383 GB, free: 103.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.652e-05/0.7729, allocations: 13.95 kB / 0.5383 GB, free: 103.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005227/0.7734, allocations: 1.155 MB / 0.5394 GB, free: 102.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.7734, allocations: 0 / 0.5394 GB, free: 102.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/0.7748, allocations: 1.145 MB / 0.5406 GB, free: 101.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.7749, allocations: 48.58 kB / 0.5406 GB, free: 101.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.24e-05/0.775, allocations: 17.39 kB / 0.5406 GB, free: 101.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.7752, allocations: 12.09 kB / 0.5406 GB, free: 101.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.812e-05/0.7753, allocations: 40.23 kB / 0.5407 GB, free: 101.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.198e-05/0.7753, allocations: 21.55 kB / 0.5407 GB, free: 101.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002584/0.7756, allocations: 251.2 kB / 0.5409 GB, free: 101.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7756, allocations: 0 / 0.5409 GB, free: 101.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006053/0.7817, allocations: 0.9754 MB / 0.5419 GB, free: 101.5 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.02865/0.8103, allocations: 7.882 MB / 0.5496 GB, free: 97.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001597/0.8119, allocations: 0.7015 MB / 0.5503 GB, free: 97.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.8119, allocations: 0 / 0.5503 GB, free: 97.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005623/0.8125, allocations: 348.3 kB / 0.5506 GB, free: 97.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/0.8138, allocations: 262.8 kB / 0.5509 GB, free: 97.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.8157, allocations: 1.387 MB / 0.5522 GB, free: 96.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.8159, allocations: 0.8672 MB / 0.5531 GB, free: 95.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.816, allocations: 55.09 kB / 0.5531 GB, free: 95.25 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.816, allocations: 4 kB / 0.5531 GB, free: 95.24 MB / 446.1 MB Notification: Performance of Templates: time 0.037/0.853, allocations: 38.74 MB / 0.5909 GB, free: 57.25 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/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_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: 12.142808568896726]