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.002506/0.002506, allocations: 95.86 kB / 20.96 MB, free: 3.457 MB / 18.57 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.002835/0.002835, allocations: 149.1 kB / 24.26 MB, free: 164 kB / 18.57 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.549/1.549, allocations: 173.3 MB / 200.8 MB, free: 9.309 MB / 186.7 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 1.884e-06/1.884e-06, allocations: 0 / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.39e-05/4.579e-05, allocations: 2.312 kB / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.1535/0.1535, allocations: 38.62 MB / 305.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.03188/0.1854, allocations: 30.69 MB / 336.6 MB, free: 3.957 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006175/0.186, allocations: 7.938 kB / 336.6 MB, free: 3.949 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.1873, allocations: 377.6 kB / 337 MB, free: 3.578 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001449/0.1887, allocations: 0.555 MB / 337.6 MB, free: 3.02 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01608/0.2048, allocations: 5.349 MB / 342.9 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002149/0.2069, allocations: 1.367 MB / 344.3 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002985/0.2072, allocations: 129 kB / 344.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00131/0.2085, allocations: 0.7362 MB / 345.1 MB, free: 11.4 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006741/0.2092, allocations: 394.8 kB / 345.5 MB, free: 11.01 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.833e-05/0.2093, allocations: 52 kB / 345.6 MB, free: 10.96 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02758/0.2369, allocations: 12.46 MB / 358 MB, free: 14.47 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003563/0.2373, allocations: 163.5 kB / 358.2 MB, free: 14.31 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005549/0.2378, allocations: 243.6 kB / 358.4 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04708/0.2849, allocations: 15.56 MB / 374 MB, free: 14.49 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2849, allocations: 0 / 374 MB, free: 14.49 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2849, allocations: 4 kB / 374 MB, free: 14.48 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.2849, allocations: 0 / 374 MB, free: 14.48 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.008024/0.2929, allocations: 1.535 MB / 375.5 MB, free: 12.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.293, allocations: 12.03 kB / 375.5 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000867/0.2938, allocations: 182.8 kB / 375.7 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006155/0.2945, allocations: 347 kB / 376.1 MB, free: 12.35 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.538e-05/0.2945, allocations: 37 kB / 376.1 MB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.111e-05/0.2946, allocations: 51.94 kB / 376.1 MB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.2963, allocations: 0.8338 MB / 377 MB, free: 11.31 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.2963, allocations: 0 / 377 MB, free: 11.31 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.007e-05/0.2963, allocations: 24 kB / 377 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.2964, allocations: 12 kB / 377 MB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.2974, allocations: 471.5 kB / 377.5 MB, free: 10.82 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.005212/0.3026, allocations: 3.448 MB / 380.9 MB, free: 7.277 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.3036, allocations: 412.5 kB / 381.3 MB, free: 6.859 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003452/0.304, allocations: 200.1 kB / 381.5 MB, free: 6.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001727/0.3057, allocations: 0.5389 MB / 382.1 MB, free: 6.121 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/0.3057, allocations: 37.77 kB / 382.1 MB, free: 6.074 MB / 330.7 MB Notification: Performance of pre-optimization done (n=46): time 2.265e-06/0.3057, allocations: 3.938 kB / 382.1 MB, free: 6.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=54): time 0.008997/0.3147, allocations: 1.861 MB / 384 MB, free: 4.164 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.3148, allocations: 59.91 kB / 384 MB, free: 4.094 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004234/0.3152, allocations: 376.2 kB / 384.4 MB, free: 3.711 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.635e-05/0.3153, allocations: 33.7 kB / 384.4 MB, free: 3.672 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002532/0.3155, allocations: 303.7 kB / 384.7 MB, free: 3.371 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001999/0.3157, allocations: 202.3 kB / 384.9 MB, free: 3.172 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002295/0.3159, allocations: 147.9 kB / 385.1 MB, free: 3.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003249/0.3163, allocations: 0.5469 MB / 385.6 MB, free: 2.461 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003402/0.3166, allocations: 181.2 kB / 385.8 MB, free: 2.281 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005553/0.3172, allocations: 400.7 kB / 386.2 MB, free: 1.809 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009961/0.3182, allocations: 0.6205 MB / 386.8 MB, free: 1.102 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3182, allocations: 0 / 386.8 MB, free: 1.102 MB / 330.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001457/0.3196, allocations: 0.7069 MB / 387.5 MB, free: 384 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.3196, allocations: 8 kB / 387.5 MB, free: 376 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.3196, allocations: 4 kB / 387.5 MB, free: 372 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009489/0.3291, allocations: 459.1 kB / 388 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000642/0.3298, allocations: 147.7 kB / 388.1 MB, free: 15.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003635/0.3334, allocations: 4.352 MB / 392.5 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003089/0.3337, allocations: 16 kB / 392.5 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.767e-05/0.3338, allocations: 31.98 kB / 392.5 MB, free: 11.15 MB / 346.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.0003081/0.3341, allocations: 224.4 kB / 392.7 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/0.3343, allocations: 63.7 kB / 392.8 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001629/0.3359, allocations: 0.8409 MB / 393.6 MB, free: 9.992 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.601e-05/0.3359, allocations: 11.98 kB / 393.6 MB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.3359, allocations: 0 / 393.6 MB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001232/0.3371, allocations: 0.8659 MB / 394.5 MB, free: 9.043 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002397/0.3395, allocations: 1.413 MB / 395.9 MB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.3395, allocations: 3.938 kB / 395.9 MB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004272/0.34, allocations: 99.88 kB / 396 MB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003327/0.3433, allocations: 334.8 kB / 396.3 MB, free: 7.137 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.606e-05/0.3433, allocations: 19.92 kB / 396.4 MB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00121/0.3445, allocations: 1.643 MB / 398 MB, free: 5.41 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3445, allocations: 0 / 398 MB, free: 5.41 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/0.3465, allocations: 1.032 MB / 399 MB, free: 4.352 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.3466, allocations: 47.59 kB / 399.1 MB, free: 4.305 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.687e-05/0.3467, allocations: 12 kB / 399.1 MB, free: 4.293 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/0.347, allocations: 12 kB / 399.1 MB, free: 4.281 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.558e-05/0.347, allocations: 36.42 kB / 399.1 MB, free: 4.246 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.907e-05/0.3471, allocations: 20 kB / 399.2 MB, free: 4.227 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003133/0.3474, allocations: 275.1 kB / 399.4 MB, free: 3.961 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3474, allocations: 0 / 399.4 MB, free: 3.961 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005837/0.3532, allocations: 0.9779 MB / 400.4 MB, free: 2.98 MB / 346.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.03293/0.3862, allocations: 8 MB / 408.4 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001757/0.3879, allocations: 0.743 MB / 409.2 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.3879, allocations: 4 kB / 409.2 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006608/0.3886, allocations: 317.9 kB / 409.5 MB, free: 9.883 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/0.39, allocations: 256.1 kB / 409.7 MB, free: 9.641 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002279/0.3923, allocations: 1.207 MB / 410.9 MB, free: 8.402 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.3926, allocations: 264.7 kB / 411.2 MB, free: 8.117 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005152/0.3931, allocations: 224.7 kB / 411.4 MB, free: 7.898 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.3932, allocations: 48.48 kB / 411.5 MB, free: 7.852 MB / 362.7 MB Notification: Performance of SimCode: time 9.91e-07/0.3932, allocations: 0 / 411.5 MB, free: 7.852 MB / 362.7 MB Notification: Performance of Templates: time 0.1755/0.5688, allocations: 36.07 MB / 447.5 MB, free: 121.9 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 240] 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: 8.261725637945347]