Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001353/0.001353, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 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.001478/0.001478, allocations: 211.6 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.493/1.493, allocations: 230.6 MB / 257.5 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 47.92 kB / 378.2 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2416, allocations: 53.37 MB / 431.6 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02968/0.2713, allocations: 24.71 MB / 456.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02853/0.2998, allocations: 22.08 MB / 478.4 MB, free: 7.797 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005017/0.3003, allocations: 4 kB / 478.4 MB, free: 7.793 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.3014, allocations: 274.4 kB / 478.6 MB, free: 7.523 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.3024, allocations: 381.9 kB / 479 MB, free: 7.148 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01326/0.3156, allocations: 4.126 MB / 483.1 MB, free: 3.016 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001572/0.3172, allocations: 0.9582 MB / 484.1 MB, free: 2.055 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002318/0.3174, allocations: 83.48 kB / 484.2 MB, free: 1.973 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007882/0.3182, allocations: 406.5 kB / 484.6 MB, free: 1.574 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005055/0.3187, allocations: 310.8 kB / 484.9 MB, free: 1.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.961e-05/0.3188, allocations: 36 kB / 484.9 MB, free: 1.234 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01974/0.3385, allocations: 10.38 MB / 495.3 MB, free: 6.836 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002982/0.3388, allocations: 107.7 kB / 495.4 MB, free: 6.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004118/0.3392, allocations: 195.3 kB / 495.6 MB, free: 6.539 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02724/0.3665, allocations: 11.51 MB / 0.4952 GB, free: 11.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3665, allocations: 0 / 0.4952 GB, free: 11.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3665, allocations: 0 / 0.4952 GB, free: 11.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.3665, allocations: 7.875 kB / 0.4952 GB, free: 11.01 MB / 414.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.006068/0.3726, allocations: 1.111 MB / 0.4963 GB, free: 9.867 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.3726, allocations: 8.031 kB / 0.4963 GB, free: 9.859 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006313/0.3732, allocations: 71.73 kB / 0.4964 GB, free: 9.789 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005415/0.3738, allocations: 260.6 kB / 0.4966 GB, free: 9.508 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.174e-05/0.3738, allocations: 28.66 kB / 0.4967 GB, free: 9.477 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.066e-05/0.3739, allocations: 32 kB / 0.4967 GB, free: 9.445 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.375, allocations: 0.6035 MB / 0.4973 GB, free: 8.773 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.375, allocations: 7.953 kB / 0.4973 GB, free: 8.766 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.631e-05/0.375, allocations: 16 kB / 0.4973 GB, free: 8.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.375, allocations: 8 kB / 0.4973 GB, free: 8.742 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000797/0.3758, allocations: 386.3 kB / 0.4977 GB, free: 8.363 MB / 414.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.003862/0.3797, allocations: 2.172 MB / 0.4998 GB, free: 6.121 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007184/0.3804, allocations: 274.8 kB / 0.5001 GB, free: 5.844 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.3806, allocations: 128.8 kB / 0.5002 GB, free: 5.715 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001566/0.3822, allocations: 463.4 kB / 0.5006 GB, free: 5.262 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.3822, allocations: 38.56 kB / 0.5007 GB, free: 5.215 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.024e-06/0.3822, allocations: 0 / 0.5007 GB, free: 5.215 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.005921/0.3882, allocations: 1.159 MB / 0.5018 GB, free: 4.016 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.3882, allocations: 55.41 kB / 0.5018 GB, free: 3.949 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.3885, allocations: 232 kB / 0.5021 GB, free: 3.711 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.552e-05/0.3885, allocations: 37.7 kB / 0.5021 GB, free: 3.668 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.3887, allocations: 192.3 kB / 0.5023 GB, free: 3.477 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.3888, allocations: 130.9 kB / 0.5024 GB, free: 3.348 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.3889, allocations: 78.12 kB / 0.5025 GB, free: 3.266 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.3891, allocations: 338.8 kB / 0.5028 GB, free: 2.926 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.3893, allocations: 112.8 kB / 0.5029 GB, free: 2.816 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003176/0.3896, allocations: 228.3 kB / 0.5031 GB, free: 2.547 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005881/0.3902, allocations: 378 kB / 0.5035 GB, free: 2.129 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3902, allocations: 0 / 0.5035 GB, free: 2.129 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009814/0.3912, allocations: 458.8 kB / 0.5039 GB, free: 1.668 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.3912, allocations: 11.94 kB / 0.5039 GB, free: 1.656 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.3912, allocations: 7.938 kB / 0.5039 GB, free: 1.648 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00668/0.3979, allocations: 245.9 kB / 0.5042 GB, free: 1.402 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004242/0.3983, allocations: 87.89 kB / 0.5043 GB, free: 1.316 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001855/0.4002, allocations: 1.809 MB / 0.506 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002805/0.4004, allocations: 16 kB / 0.506 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/0.4006, allocations: 23.92 kB / 0.5061 GB, free: 15.34 MB / 430.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.000241/0.4008, allocations: 174 kB / 0.5062 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.401, allocations: 27.81 kB / 0.5063 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001203/0.4022, allocations: 0.7014 MB / 0.5069 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.4022, allocations: 11.94 kB / 0.507 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.4022, allocations: 0 / 0.507 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009934/0.4032, allocations: 0.8828 MB / 0.5078 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001567/0.4048, allocations: 1.082 MB / 0.5089 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.4048, allocations: 0 / 0.5089 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000301/0.4051, allocations: 67.91 kB / 0.5089 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001843/0.4069, allocations: 180.4 kB / 0.5091 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.519e-05/0.4069, allocations: 12 kB / 0.5091 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005241/0.4075, allocations: 0.5797 MB / 0.5097 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4075, allocations: 4 kB / 0.5097 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.4086, allocations: 0.738 MB / 0.5104 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.392e-05/0.4087, allocations: 31.73 kB / 0.5104 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.218e-05/0.4088, allocations: 12 kB / 0.5105 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.409, allocations: 8 kB / 0.5105 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.409, allocations: 27.89 kB / 0.5105 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.993e-05/0.409, allocations: 11.98 kB / 0.5105 GB, free: 10.59 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002748/0.4093, allocations: 201.2 kB / 0.5107 GB, free: 10.4 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4093, allocations: 0 / 0.5107 GB, free: 10.4 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004687/0.414, allocations: 0.7519 MB / 0.5114 GB, free: 9.645 MB / 430.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.0262/0.4402, allocations: 6.411 MB / 0.5177 GB, free: 3.211 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001077/0.4413, allocations: 466.6 kB / 0.5181 GB, free: 2.746 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.368e-05/0.4413, allocations: 0.875 kB / 0.5181 GB, free: 2.746 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004232/0.4417, allocations: 219.7 kB / 0.5183 GB, free: 2.527 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.4427, allocations: 160.2 kB / 0.5185 GB, free: 2.371 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.4444, allocations: 0.9127 MB / 0.5194 GB, free: 1.43 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.4446, allocations: 200.9 kB / 0.5196 GB, free: 1.215 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003914/0.445, allocations: 183.4 kB / 0.5198 GB, free: 1.031 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.658e-05/0.4451, allocations: 43.38 kB / 0.5198 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4451, allocations: 0 / 0.5198 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of Templates: time 0.2385/0.6836, allocations: 29.29 MB / 0.5484 GB, free: 96.05 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.940622324123979]