Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.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.001445/0.001445, allocations: 100.3 kB / 21.73 MB, free: 2.699 MB / 18.57 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.00146/0.00146, allocations: 160.5 kB / 25.02 MB, free: 8.418 MB / 18.57 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 1.394/1.394, allocations: 158.6 MB / 186.8 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] 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.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 250.4 MB, free: 7.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.805e-05/3.018e-05, allocations: 2.312 kB / 250.4 MB, free: 7.82 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.07108/0.07111, allocations: 34.44 MB / 284.8 MB, free: 5.258 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.04188/0.113, allocations: 27.1 MB / 311.9 MB, free: 10.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005893/0.1136, allocations: 7.938 kB / 311.9 MB, free: 10.06 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001231/0.1148, allocations: 393.5 kB / 312.3 MB, free: 9.672 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001323/0.1161, allocations: 0.5511 MB / 312.9 MB, free: 9.117 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01686/0.133, allocations: 5.349 MB / 318.2 MB, free: 3.742 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002137/0.1351, allocations: 1.378 MB / 319.6 MB, free: 2.355 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002887/0.1354, allocations: 115 kB / 319.7 MB, free: 2.242 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001246/0.1367, allocations: 0.7323 MB / 320.4 MB, free: 1.508 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006426/0.1373, allocations: 406.8 kB / 320.8 MB, free: 1.109 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001213/0.1374, allocations: 52 kB / 320.9 MB, free: 1.059 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03618/0.1736, allocations: 12.46 MB / 333.3 MB, free: 4.566 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003735/0.174, allocations: 159.4 kB / 333.5 MB, free: 4.41 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000656/0.1746, allocations: 239.6 kB / 333.7 MB, free: 4.176 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04093/0.2156, allocations: 15.56 MB / 349.3 MB, free: 4.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.2156, allocations: 0 / 349.3 MB, free: 4.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2156, allocations: 0 / 349.3 MB, free: 4.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.188e-06/0.2156, allocations: 0 / 349.3 MB, free: 4.59 MB / 330.7 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.007804/0.2234, allocations: 1.392 MB / 350.7 MB, free: 3.156 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.2234, allocations: 11.98 kB / 350.7 MB, free: 3.145 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008972/0.2243, allocations: 198.7 kB / 350.9 MB, free: 2.949 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000676/0.225, allocations: 328.3 kB / 351.2 MB, free: 2.602 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.436e-05/0.225, allocations: 41 kB / 351.3 MB, free: 2.562 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.2251, allocations: 52 kB / 351.3 MB, free: 2.512 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001491/0.2266, allocations: 0.8241 MB / 352.1 MB, free: 1.598 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.2267, allocations: 3.938 kB / 352.1 MB, free: 1.594 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.916e-05/0.2267, allocations: 20 kB / 352.2 MB, free: 1.574 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.2267, allocations: 15.94 kB / 352.2 MB, free: 1.559 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.2279, allocations: 0.5268 MB / 352.7 MB, free: 1.031 MB / 330.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.1075/0.3354, allocations: 2.729 MB / 355.4 MB, free: 96.99 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008874/0.3362, allocations: 391.2 kB / 355.8 MB, free: 96.96 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002852/0.3365, allocations: 195.8 kB / 356 MB, free: 96.95 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001796/0.3383, allocations: 0.6372 MB / 356.6 MB, free: 96.84 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.3383, allocations: 40.81 kB / 356.7 MB, free: 96.8 MB / 330.7 MB Notification: Performance of pre-optimization done (n=46): time 2.084e-06/0.3383, allocations: 2.625 kB / 356.7 MB, free: 96.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=54): time 0.008369/0.3467, allocations: 1.91 MB / 358.6 MB, free: 96.1 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.039e-05/0.3467, allocations: 63.77 kB / 358.7 MB, free: 96.03 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.3469, allocations: 276.2 kB / 358.9 MB, free: 95.88 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.347, allocations: 37.08 kB / 359 MB, free: 95.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.291e-05/0.3471, allocations: 235 kB / 359.2 MB, free: 95.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.308e-05/0.3471, allocations: 208.8 kB / 359.4 MB, free: 95.52 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.3473, allocations: 113.6 kB / 359.5 MB, free: 95.46 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.912e-05/0.3473, allocations: 348.7 kB / 359.8 MB, free: 95.13 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002413/0.3476, allocations: 183.6 kB / 360 MB, free: 95.06 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003057/0.3479, allocations: 333.5 kB / 360.3 MB, free: 94.82 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006025/0.3485, allocations: 0.5446 MB / 360.9 MB, free: 94.47 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3485, allocations: 3.094 kB / 360.9 MB, free: 94.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001082/0.3495, allocations: 0.7063 MB / 361.6 MB, free: 94.16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.3496, allocations: 6.906 kB / 361.6 MB, free: 94.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.3496, allocations: 5.094 kB / 361.6 MB, free: 94.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009363/0.3589, allocations: 446.8 kB / 362 MB, free: 93.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000507/0.3594, allocations: 138.5 kB / 362.2 MB, free: 93.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/0.3607, allocations: 2.964 MB / 365.1 MB, free: 90.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002788/0.361, allocations: 20.81 kB / 365.2 MB, free: 90.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.16e-05/0.361, allocations: 27.42 kB / 365.2 MB, free: 90.73 MB / 330.7 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.0001968/0.3612, allocations: 189.4 kB / 365.4 MB, free: 90.54 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.3614, allocations: 60.58 kB / 365.4 MB, free: 90.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.3626, allocations: 1.08 MB / 366.5 MB, free: 89.45 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.3626, allocations: 16.7 kB / 366.5 MB, free: 89.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.3626, allocations: 0 / 366.5 MB, free: 89.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008492/0.3635, allocations: 1.107 MB / 367.6 MB, free: 88.25 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/0.365, allocations: 1.59 MB / 369.2 MB, free: 86.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.365, allocations: 5.594 kB / 369.2 MB, free: 86.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000351/0.3654, allocations: 100.7 kB / 369.3 MB, free: 86.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002921/0.3683, allocations: 349.9 kB / 369.7 MB, free: 86.19 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.157e-05/0.3683, allocations: 15.98 kB / 369.7 MB, free: 86.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004077/0.3687, allocations: 1.153 MB / 370.8 MB, free: 84.97 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3687, allocations: 0 / 370.8 MB, free: 84.97 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.3699, allocations: 1.16 MB / 372 MB, free: 83.79 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.536e-05/0.3699, allocations: 49.08 kB / 372.1 MB, free: 83.75 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.562e-05/0.37, allocations: 23.09 kB / 372.1 MB, free: 83.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.3702, allocations: 15.94 kB / 372.1 MB, free: 83.71 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.186e-05/0.3703, allocations: 36.42 kB / 372.1 MB, free: 83.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.17e-05/0.3703, allocations: 20.81 kB / 372.1 MB, free: 83.65 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001787/0.3705, allocations: 231 kB / 372.4 MB, free: 83.43 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3705, allocations: 0.7812 kB / 372.4 MB, free: 83.43 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.005026/0.3755, allocations: 0.9732 MB / 373.3 MB, free: 82.61 MB / 330.7 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.02824/0.4037, allocations: 8.007 MB / 381.4 MB, free: 74.98 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001401/0.4051, allocations: 0.6926 MB / 382 MB, free: 74.29 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4052, allocations: 6.281 kB / 382.1 MB, free: 74.28 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004906/0.4056, allocations: 355.1 kB / 382.4 MB, free: 73.94 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.4069, allocations: 242.6 kB / 382.6 MB, free: 73.71 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.4085, allocations: 1.238 MB / 383.9 MB, free: 72.53 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.4087, allocations: 268.6 kB / 384.1 MB, free: 72.24 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004146/0.4091, allocations: 240.7 kB / 384.4 MB, free: 72 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.4092, allocations: 52.48 kB / 384.4 MB, free: 71.95 MB / 330.7 MB Notification: Performance of SimCode: time 9.82e-07/0.4092, allocations: 0 / 384.4 MB, free: 71.95 MB / 330.7 MB Notification: Performance of Templates: time 0.03851/0.4477, allocations: 35.95 MB / 420.4 MB, free: 36 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 7.823334340006113]