Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.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.002006/0.002006, allocations: 84.69 kB / 21.44 MB, free: 296 kB / 14.72 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.002884/0.002884, allocations: 160.9 kB / 24.7 MB, free: 3.551 MB / 14.72 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.371/1.371, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 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.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.123e-06/2.123e-06, allocations: 0 / 299 MB, free: 8.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.319e-05/3.532e-05, allocations: 2.281 kB / 299 MB, free: 8.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03123/0.03126, allocations: 24.45 MB / 323.4 MB, free: 188 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1966/0.2279, allocations: 22.02 MB / 345.4 MB, free: 8.227 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005495/0.2284, allocations: 8.25 kB / 345.4 MB, free: 8.223 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009476/0.2294, allocations: 273.5 kB / 345.7 MB, free: 8.086 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008578/0.2302, allocations: 393.2 kB / 346.1 MB, free: 7.844 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01363/0.2439, allocations: 4.162 MB / 350.3 MB, free: 5.828 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001324/0.2452, allocations: 0.9601 MB / 351.2 MB, free: 5.359 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002493/0.2454, allocations: 81.12 kB / 351.3 MB, free: 5.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007126/0.2461, allocations: 0.5101 MB / 351.8 MB, free: 5.113 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00035/0.2465, allocations: 282.6 kB / 352.1 MB, free: 5.023 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.672e-05/0.2466, allocations: 37.09 kB / 352.1 MB, free: 5.023 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0184/0.265, allocations: 10.17 MB / 362.3 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000326/0.2653, allocations: 107.6 kB / 362.4 MB, free: 14.15 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006793/0.266, allocations: 167.7 kB / 362.6 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03906/0.305, allocations: 12 MB / 374.5 MB, free: 1.973 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.305, allocations: 0 / 374.5 MB, free: 1.973 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.305, allocations: 4.562 kB / 374.5 MB, free: 1.969 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.305, allocations: 0 / 374.5 MB, free: 1.969 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.007123/0.3122, allocations: 1.099 MB / 375.6 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.885e-05/0.3122, allocations: 15.98 kB / 375.7 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006034/0.3128, allocations: 63.73 kB / 375.7 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005837/0.3134, allocations: 265.1 kB / 376 MB, free: 492 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/0.3134, allocations: 27 kB / 376 MB, free: 468 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.45e-05/0.3135, allocations: 33.72 kB / 376 MB, free: 436 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.3147, allocations: 0.6074 MB / 376.7 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.3147, allocations: 0 / 376.7 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.173e-05/0.3147, allocations: 19.94 kB / 376.7 MB, free: 15.72 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.3147, allocations: 8 kB / 376.7 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000811/0.3156, allocations: 384 kB / 377.1 MB, free: 15.34 MB / 334.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.003456/0.319, allocations: 2.168 MB / 379.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007317/0.3197, allocations: 277.7 kB / 379.5 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002235/0.32, allocations: 129.9 kB / 379.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001623/0.3216, allocations: 470.2 kB / 380.1 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/0.3216, allocations: 38.56 kB / 380.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 1.954e-06/0.3216, allocations: 0 / 380.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.005715/0.3273, allocations: 1.135 MB / 381.3 MB, free: 11.04 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.3274, allocations: 57.12 kB / 381.3 MB, free: 10.97 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.3277, allocations: 232 kB / 381.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.278e-05/0.3277, allocations: 29.7 kB / 381.6 MB, free: 10.7 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.3279, allocations: 200.2 kB / 381.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.328, allocations: 126.9 kB / 381.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.3281, allocations: 83.91 kB / 382 MB, free: 10.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.3283, allocations: 335.8 kB / 382.3 MB, free: 9.953 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/0.3285, allocations: 113.8 kB / 382.4 MB, free: 9.844 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003408/0.3289, allocations: 234.6 kB / 382.6 MB, free: 9.562 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006465/0.3295, allocations: 374.2 kB / 383 MB, free: 9.156 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3295, allocations: 0 / 383 MB, free: 9.156 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009559/0.3305, allocations: 462 kB / 383.4 MB, free: 8.695 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.3305, allocations: 8 kB / 383.5 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.3305, allocations: 5.156 kB / 383.5 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004979/0.3355, allocations: 230 kB / 383.7 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003917/0.3359, allocations: 92.48 kB / 383.8 MB, free: 8.363 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001871/0.3378, allocations: 1.812 MB / 385.6 MB, free: 6.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/0.338, allocations: 19.94 kB / 385.6 MB, free: 6.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.963e-05/0.3381, allocations: 27.92 kB / 385.6 MB, free: 6.383 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.0002726/0.3383, allocations: 167.2 kB / 385.8 MB, free: 6.215 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.221e-05/0.3384, allocations: 23.86 kB / 385.8 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.3396, allocations: 0.7096 MB / 386.5 MB, free: 5.477 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.3396, allocations: 12 kB / 386.5 MB, free: 5.465 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.3396, allocations: 0 / 386.5 MB, free: 5.465 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001041/0.3407, allocations: 0.8763 MB / 387.4 MB, free: 4.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/0.3424, allocations: 1.091 MB / 388.5 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.3424, allocations: 0 / 388.5 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002644/0.3427, allocations: 68.53 kB / 388.6 MB, free: 3.301 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001652/0.3443, allocations: 176.5 kB / 388.8 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/0.3444, allocations: 8.875 kB / 388.8 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004546/0.3448, allocations: 0.5797 MB / 389.3 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.3448, allocations: 3.984 kB / 389.3 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.3459, allocations: 0.7435 MB / 390.1 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.16e-05/0.346, allocations: 35.72 kB / 390.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.281e-05/0.3461, allocations: 11.95 kB / 390.1 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.3463, allocations: 9.375 kB / 390.1 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/0.3463, allocations: 23.95 kB / 390.2 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.491e-05/0.3464, allocations: 15.98 kB / 390.2 MB, free: 1.652 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002412/0.3466, allocations: 201.2 kB / 390.4 MB, free: 1.457 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3466, allocations: 0 / 390.4 MB, free: 1.457 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.006667/0.3533, allocations: 0.7441 MB / 391.1 MB, free: 0.7109 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0285/0.3818, allocations: 6.51 MB / 397.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001096/0.3829, allocations: 462.5 kB / 398.1 MB, free: 9.719 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.3829, allocations: 4 kB / 398.1 MB, free: 9.715 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004372/0.3833, allocations: 216 kB / 398.3 MB, free: 9.504 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.3844, allocations: 173 kB / 398.5 MB, free: 9.336 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.3861, allocations: 0.8311 MB / 399.3 MB, free: 8.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.3863, allocations: 200.9 kB / 399.5 MB, free: 8.266 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003839/0.3867, allocations: 179.2 kB / 399.7 MB, free: 8.094 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.511e-05/0.3868, allocations: 44.42 kB / 399.7 MB, free: 8.051 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3868, allocations: 4 kB / 399.7 MB, free: 8.047 MB / 350.1 MB Notification: Performance of Templates: time 0.04601/0.4328, allocations: 28.61 MB / 428.3 MB, free: 11.39 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.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.924453943967819]