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.002711/0.002711, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.002952/0.002952, allocations: 161.6 kB / 25.03 MB, free: 8.93 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.338/1.338, allocations: 158.6 MB / 186.8 MB, free: 2.906 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 1.994e-06/1.994e-06, allocations: 0 / 250.4 MB, free: 3.93 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.625e-05/2.824e-05, allocations: 6.109 kB / 250.4 MB, free: 3.926 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.05097/0.05099, allocations: 38.64 MB / 289 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.167/0.218, allocations: 30.67 MB / 319.7 MB, free: 14.39 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007299/0.2187, allocations: 9.25 kB / 319.7 MB, free: 14.39 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.2199, allocations: 389.7 kB / 320.1 MB, free: 14.34 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001235/0.2212, allocations: 0.5502 MB / 320.6 MB, free: 14.2 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01664/0.2378, allocations: 5.339 MB / 326 MB, free: 13.54 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001789/0.2396, allocations: 1.377 MB / 327.3 MB, free: 13.2 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002543/0.2399, allocations: 124.6 kB / 327.5 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001034/0.2409, allocations: 0.7327 MB / 328.2 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005096/0.2414, allocations: 399.7 kB / 328.6 MB, free: 13.07 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.855e-05/0.2415, allocations: 55.06 kB / 328.6 MB, free: 13.07 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02334/0.2648, allocations: 12.47 MB / 341.1 MB, free: 8.512 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002922/0.2651, allocations: 163 kB / 341.3 MB, free: 8.367 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004537/0.2656, allocations: 244.7 kB / 341.5 MB, free: 8.141 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04714/0.3127, allocations: 15.57 MB / 357.1 MB, free: 8.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/0.3127, allocations: 0 / 357.1 MB, free: 8.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.471e-06/0.3127, allocations: 4 kB / 357.1 MB, free: 8.906 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.3127, allocations: 1.312 kB / 357.1 MB, free: 8.906 MB / 298.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.009452/0.3222, allocations: 1.521 MB / 358.6 MB, free: 7.352 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.3222, allocations: 15.98 kB / 358.6 MB, free: 7.336 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009512/0.3232, allocations: 188.2 kB / 358.8 MB, free: 7.152 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006763/0.3239, allocations: 335.3 kB / 359.1 MB, free: 6.801 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.164e-05/0.3239, allocations: 37 kB / 359.2 MB, free: 6.766 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.627e-05/0.324, allocations: 48 kB / 359.2 MB, free: 6.719 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.3255, allocations: 0.8398 MB / 360 MB, free: 5.781 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/0.3256, allocations: 3.938 kB / 360 MB, free: 5.777 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.186e-05/0.3256, allocations: 20 kB / 360.1 MB, free: 5.758 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.3257, allocations: 13.34 kB / 360.1 MB, free: 5.746 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.327, allocations: 463.6 kB / 360.5 MB, free: 5.297 MB / 298.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.005535/0.3325, allocations: 3.461 MB / 364 MB, free: 1.766 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.3336, allocations: 407.2 kB / 364.4 MB, free: 1.359 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003677/0.334, allocations: 192.3 kB / 364.6 MB, free: 1.168 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00182/0.3358, allocations: 0.5401 MB / 365.1 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.248e-05/0.3358, allocations: 41.75 kB / 365.2 MB, free: 0.582 MB / 298.7 MB Notification: Performance of pre-optimization done (n=46): time 2.084e-06/0.3358, allocations: 0 / 365.2 MB, free: 0.582 MB / 298.7 MB Notification: Performance of matching and sorting (n=54): time 0.009078/0.3449, allocations: 1.867 MB / 367 MB, free: 14.68 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.345, allocations: 63.84 kB / 367.1 MB, free: 14.6 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005029/0.3455, allocations: 372.2 kB / 367.5 MB, free: 14.22 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.475e-05/0.3455, allocations: 37.7 kB / 367.5 MB, free: 14.18 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004245/0.346, allocations: 295.2 kB / 367.8 MB, free: 13.89 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002049/0.3462, allocations: 210.2 kB / 368 MB, free: 13.69 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002306/0.3464, allocations: 144 kB / 368.1 MB, free: 13.54 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000339/0.3467, allocations: 0.5469 MB / 368.7 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003356/0.3471, allocations: 175 kB / 368.8 MB, free: 12.81 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000591/0.3477, allocations: 405.2 kB / 369.2 MB, free: 12.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.3487, allocations: 0.6238 MB / 369.9 MB, free: 11.64 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3487, allocations: 4.75 kB / 369.9 MB, free: 11.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001482/0.3502, allocations: 0.7037 MB / 370.6 MB, free: 10.91 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.3502, allocations: 9.406 kB / 370.6 MB, free: 10.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.3502, allocations: 4 kB / 370.6 MB, free: 10.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009878/0.3601, allocations: 464.8 kB / 371 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006207/0.3607, allocations: 143.2 kB / 371.2 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003684/0.3644, allocations: 4.346 MB / 375.5 MB, free: 5.742 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003065/0.3647, allocations: 16 kB / 375.5 MB, free: 5.727 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.713e-05/0.3647, allocations: 28.81 kB / 375.6 MB, free: 5.699 MB / 314.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.0003121/0.365, allocations: 233.1 kB / 375.8 MB, free: 5.461 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.3652, allocations: 64.5 kB / 375.9 MB, free: 5.398 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001626/0.3668, allocations: 0.8394 MB / 376.7 MB, free: 4.543 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/0.3668, allocations: 11.98 kB / 376.7 MB, free: 4.531 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.3668, allocations: 0.8125 kB / 376.7 MB, free: 4.531 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001251/0.3681, allocations: 0.862 MB / 377.6 MB, free: 3.594 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00244/0.3705, allocations: 1.421 MB / 379 MB, free: 2.137 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.3705, allocations: 0 / 379 MB, free: 2.137 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004267/0.371, allocations: 100.6 kB / 379.1 MB, free: 2.039 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003227/0.3742, allocations: 343.5 kB / 379.4 MB, free: 1.699 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.324e-05/0.3742, allocations: 12 kB / 379.4 MB, free: 1.688 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001265/0.3755, allocations: 1.641 MB / 381.1 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3755, allocations: 0 / 381.1 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001848/0.3774, allocations: 1.029 MB / 382.1 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.3775, allocations: 40.44 kB / 382.1 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.579e-05/0.3775, allocations: 12 kB / 382.2 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002431/0.3778, allocations: 13.69 kB / 382.2 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.327e-05/0.3779, allocations: 36.42 kB / 382.2 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.677e-05/0.3779, allocations: 27.92 kB / 382.2 MB, free: 14.8 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003238/0.3782, allocations: 275.8 kB / 382.5 MB, free: 14.54 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3782, allocations: 0 / 382.5 MB, free: 14.54 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.006085/0.3843, allocations: 0.979 MB / 383.5 MB, free: 13.56 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.03404/0.4184, allocations: 8.014 MB / 391.5 MB, free: 5.711 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001996/0.4204, allocations: 0.7274 MB / 392.2 MB, free: 4.965 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.872e-06/0.4204, allocations: 4 kB / 392.2 MB, free: 4.961 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006766/0.421, allocations: 320.8 kB / 392.5 MB, free: 4.648 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/0.4225, allocations: 258 kB / 392.8 MB, free: 4.402 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/0.4251, allocations: 1.201 MB / 394 MB, free: 3.172 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.4254, allocations: 264.7 kB / 394.3 MB, free: 2.887 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005516/0.4259, allocations: 243.8 kB / 394.5 MB, free: 2.648 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.4261, allocations: 44.5 kB / 394.5 MB, free: 2.605 MB / 330.7 MB Notification: Performance of SimCode: time 1.242e-06/0.4261, allocations: 0 / 394.5 MB, free: 2.605 MB / 330.7 MB Notification: Performance of Templates: time 0.06239/0.4885, allocations: 36.07 MB / 430.6 MB, free: 14.53 MB / 378.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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 240] 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.995773834991269]