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.001964/0.001964, allocations: 92.62 kB / 20.96 MB, free: 3.473 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.002234/0.002234, allocations: 149.4 kB / 24.26 MB, free: 184 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.428/1.428, allocations: 173.4 MB / 200.8 MB, free: 9.301 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.603e-06/1.603e-06, allocations: 0 / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.772e-05/2.933e-05, allocations: 2.312 kB / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.1539/0.1539, allocations: 34.43 MB / 301.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0262/0.1801, allocations: 27.11 MB / 328.9 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005612/0.1806, allocations: 15.88 kB / 328.9 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001259/0.1819, allocations: 377.7 kB / 329.2 MB, free: 10.45 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001437/0.1833, allocations: 0.5511 MB / 329.8 MB, free: 9.895 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01586/0.1992, allocations: 5.341 MB / 335.1 MB, free: 4.527 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002108/0.2013, allocations: 1.378 MB / 336.5 MB, free: 3.141 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002912/0.2016, allocations: 125 kB / 336.6 MB, free: 3.012 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001525/0.2031, allocations: 0.7363 MB / 337.4 MB, free: 2.273 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006367/0.2038, allocations: 394.8 kB / 337.8 MB, free: 1.887 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.206e-05/0.2039, allocations: 56 kB / 337.8 MB, free: 1.832 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02534/0.2292, allocations: 12.46 MB / 350.3 MB, free: 5.344 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003726/0.2296, allocations: 167.4 kB / 350.4 MB, free: 5.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000594/0.2302, allocations: 239.6 kB / 350.7 MB, free: 4.945 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0405/0.2707, allocations: 15.56 MB / 366.2 MB, free: 5.359 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.2707, allocations: 0 / 366.2 MB, free: 5.359 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2707, allocations: 0 / 366.2 MB, free: 5.359 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.809e-06/0.2707, allocations: 4 kB / 366.2 MB, free: 5.355 MB / 314.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.008219/0.2789, allocations: 1.384 MB / 367.6 MB, free: 3.934 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.2789, allocations: 8.031 kB / 367.6 MB, free: 3.926 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008677/0.2798, allocations: 190.8 kB / 367.8 MB, free: 3.738 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006487/0.2805, allocations: 344.2 kB / 368.1 MB, free: 3.375 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.965e-05/0.2805, allocations: 33 kB / 368.2 MB, free: 3.344 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.2806, allocations: 52 kB / 368.2 MB, free: 3.293 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.2821, allocations: 0.8291 MB / 369.1 MB, free: 2.363 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.2821, allocations: 4 kB / 369.1 MB, free: 2.359 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.648e-05/0.2822, allocations: 16 kB / 369.1 MB, free: 2.344 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.2822, allocations: 12 kB / 369.1 MB, free: 2.332 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.2833, allocations: 0.5307 MB / 369.6 MB, free: 1.805 MB / 314.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.004467/0.2878, allocations: 2.747 MB / 372.4 MB, free: 14.98 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.2888, allocations: 396.7 kB / 372.8 MB, free: 14.58 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003633/0.2892, allocations: 201.3 kB / 373 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002363/0.2916, allocations: 0.6246 MB / 373.6 MB, free: 13.76 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.2916, allocations: 38.92 kB / 373.6 MB, free: 13.71 MB / 330.7 MB Notification: Performance of pre-optimization done (n=46): time 1.553e-06/0.2916, allocations: 0 / 373.6 MB, free: 13.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=54): time 0.009576/0.3012, allocations: 1.91 MB / 375.5 MB, free: 11.76 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.3012, allocations: 59.91 kB / 375.6 MB, free: 11.69 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003504/0.3016, allocations: 281.7 kB / 375.9 MB, free: 11.41 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.305e-05/0.3016, allocations: 41.64 kB / 375.9 MB, free: 11.36 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/0.3018, allocations: 237 kB / 376.1 MB, free: 11.12 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001894/0.302, allocations: 198.3 kB / 376.3 MB, free: 10.93 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001946/0.3022, allocations: 118.3 kB / 376.4 MB, free: 10.81 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002197/0.3024, allocations: 350.7 kB / 376.8 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003451/0.3028, allocations: 177.2 kB / 377 MB, free: 10.28 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005082/0.3033, allocations: 336.6 kB / 377.3 MB, free: 9.895 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009263/0.3042, allocations: 0.5458 MB / 377.8 MB, free: 9.289 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3042, allocations: 0 / 377.8 MB, free: 9.289 MB / 330.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001481/0.3057, allocations: 0.6987 MB / 378.5 MB, free: 8.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.3057, allocations: 8 kB / 378.5 MB, free: 8.562 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.3057, allocations: 4 kB / 378.5 MB, free: 8.559 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009986/0.3157, allocations: 446.5 kB / 379 MB, free: 8.113 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006677/0.3164, allocations: 140.8 kB / 379.1 MB, free: 7.977 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002921/0.3193, allocations: 2.975 MB / 382.1 MB, free: 4.828 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003282/0.3196, allocations: 16.44 kB / 382.1 MB, free: 4.812 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.906e-05/0.3197, allocations: 32 kB / 382.1 MB, free: 4.781 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.0002983/0.32, allocations: 185.7 kB / 382.3 MB, free: 4.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.3201, allocations: 59.7 kB / 382.4 MB, free: 4.531 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00185/0.322, allocations: 1.09 MB / 383.5 MB, free: 3.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.322, allocations: 8 kB / 383.5 MB, free: 3.422 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.322, allocations: 4 kB / 383.5 MB, free: 3.418 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002036/0.324, allocations: 1.106 MB / 384.6 MB, free: 2.238 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003785/0.3278, allocations: 1.592 MB / 386.2 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/0.3278, allocations: 4 kB / 386.2 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006816/0.3285, allocations: 99.88 kB / 386.3 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004897/0.3334, allocations: 349.1 kB / 386.6 MB, free: 152 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.631e-05/0.3335, allocations: 15.98 kB / 386.6 MB, free: 136 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001522/0.335, allocations: 1.152 MB / 387.8 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.335, allocations: 192 / 387.8 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002881/0.3379, allocations: 1.171 MB / 389 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.338, allocations: 43.61 kB / 389 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.3381, allocations: 15.94 kB / 389 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004332/0.3386, allocations: 12 kB / 389 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.3387, allocations: 36.47 kB / 389.1 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.747e-05/0.3388, allocations: 23.98 kB / 389.1 MB, free: 13.61 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004479/0.3392, allocations: 227.1 kB / 389.3 MB, free: 13.39 MB / 346.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3392, allocations: 0 / 389.3 MB, free: 13.39 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.008221/0.3474, allocations: 0.9741 MB / 390.3 MB, free: 12.41 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.05306/0.4005, allocations: 8.011 MB / 398.3 MB, free: 4.379 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002017/0.4025, allocations: 0.6965 MB / 399 MB, free: 3.676 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.4025, allocations: 0 / 399 MB, free: 3.676 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007346/0.4032, allocations: 359.1 kB / 399.3 MB, free: 3.324 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/0.4046, allocations: 243.3 kB / 399.6 MB, free: 3.094 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002429/0.407, allocations: 1.246 MB / 400.8 MB, free: 1.816 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.4074, allocations: 264.7 kB / 401.1 MB, free: 1.531 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005323/0.4079, allocations: 232.5 kB / 401.3 MB, free: 1.305 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.408, allocations: 56.48 kB / 401.4 MB, free: 1.25 MB / 346.7 MB Notification: Performance of SimCode: time 9.32e-07/0.408, allocations: 0 / 401.4 MB, free: 1.25 MB / 346.7 MB Notification: Performance of Templates: time 0.1578/0.5658, allocations: 35.94 MB / 437.3 MB, free: 125.2 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=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: 7.817169795976952]