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.001677/0.001677, allocations: 111 kB / 21.19 MB, free: 0.6758 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.002081/0.002081, allocations: 215.5 kB / 24.48 MB, free: 3.98 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.486/1.486, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.001549/0.001549, allocations: 51.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2139, allocations: 53.36 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02833/0.2422, allocations: 24.72 MB / 457 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02638/0.2686, allocations: 22.08 MB / 479.1 MB, free: 7.758 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002282/0.2688, allocations: 7.938 kB / 479.1 MB, free: 7.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007435/0.2696, allocations: 262.5 kB / 479.4 MB, free: 7.492 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007451/0.2703, allocations: 385.8 kB / 479.8 MB, free: 7.113 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009773/0.2801, allocations: 4.116 MB / 483.9 MB, free: 2.988 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001198/0.2813, allocations: 0.9698 MB / 484.9 MB, free: 2.016 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/0.2815, allocations: 77.23 kB / 484.9 MB, free: 1.938 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006081/0.2821, allocations: 402.7 kB / 485.3 MB, free: 1.543 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004005/0.2825, allocations: 314.8 kB / 485.6 MB, free: 1.234 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.287e-05/0.2826, allocations: 36 kB / 485.7 MB, free: 1.199 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01943/0.302, allocations: 10.38 MB / 496 MB, free: 6.801 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001849/0.3022, allocations: 107.7 kB / 496.1 MB, free: 6.695 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003035/0.3025, allocations: 187.4 kB / 496.3 MB, free: 6.512 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03113/0.3336, allocations: 11.52 MB / 0.4959 GB, free: 10.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3336, allocations: 0 / 0.4959 GB, free: 10.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3336, allocations: 0 / 0.4959 GB, free: 10.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.3336, allocations: 4 kB / 0.496 GB, free: 10.98 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.005154/0.3388, allocations: 1.101 MB / 0.497 GB, free: 9.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.3388, allocations: 8.031 kB / 0.497 GB, free: 9.832 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000606/0.3394, allocations: 67.73 kB / 0.4971 GB, free: 9.766 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005054/0.3399, allocations: 260.6 kB / 0.4973 GB, free: 9.484 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.214e-05/0.34, allocations: 24.66 kB / 0.4974 GB, free: 9.457 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.768e-05/0.34, allocations: 36 kB / 0.4974 GB, free: 9.422 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.3411, allocations: 0.6112 MB / 0.498 GB, free: 8.742 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.3411, allocations: 7.953 kB / 0.498 GB, free: 8.734 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.957e-05/0.3412, allocations: 12 kB / 0.498 GB, free: 8.723 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.3412, allocations: 11.98 kB / 0.498 GB, free: 8.711 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007996/0.342, allocations: 382.3 kB / 0.4984 GB, free: 8.336 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.003733/0.3457, allocations: 2.172 MB / 0.5005 GB, free: 6.094 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000718/0.3464, allocations: 274.8 kB / 0.5008 GB, free: 5.816 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/0.3467, allocations: 128.8 kB / 0.5009 GB, free: 5.688 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001547/0.3482, allocations: 471.4 kB / 0.5014 GB, free: 5.227 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/0.3482, allocations: 34.56 kB / 0.5014 GB, free: 5.184 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.513e-06/0.3482, allocations: 0 / 0.5014 GB, free: 5.184 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.005968/0.3542, allocations: 1.155 MB / 0.5025 GB, free: 3.988 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.3543, allocations: 55.41 kB / 0.5026 GB, free: 3.922 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.3545, allocations: 236 kB / 0.5028 GB, free: 3.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/0.3545, allocations: 29.7 kB / 0.5028 GB, free: 3.645 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.3547, allocations: 196.3 kB / 0.503 GB, free: 3.449 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.3548, allocations: 130.9 kB / 0.5031 GB, free: 3.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.3549, allocations: 86.06 kB / 0.5032 GB, free: 3.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.3551, allocations: 338.8 kB / 0.5035 GB, free: 2.891 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/0.3553, allocations: 108.8 kB / 0.5036 GB, free: 2.785 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003141/0.3556, allocations: 230.1 kB / 0.5039 GB, free: 2.512 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005798/0.3562, allocations: 382 kB / 0.5042 GB, free: 2.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3562, allocations: 0 / 0.5042 GB, free: 2.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009726/0.3572, allocations: 455.2 kB / 0.5047 GB, free: 1.633 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.3572, allocations: 11.94 kB / 0.5047 GB, free: 1.621 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.3572, allocations: 8 kB / 0.5047 GB, free: 1.613 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007025/0.3642, allocations: 245.4 kB / 0.5049 GB, free: 1.367 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003522/0.3646, allocations: 91.83 kB / 0.505 GB, free: 1.277 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001598/0.3662, allocations: 1.816 MB / 0.5068 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.3664, allocations: 12 kB / 0.5068 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-05/0.3664, allocations: 20 kB / 0.5068 GB, free: 15.3 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.0002026/0.3666, allocations: 165.7 kB / 0.507 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/0.3668, allocations: 27.81 kB / 0.507 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001149/0.3679, allocations: 0.6975 MB / 0.5077 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.3679, allocations: 12.12 kB / 0.5077 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.3679, allocations: 4 kB / 0.5077 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009873/0.3689, allocations: 0.8828 MB / 0.5085 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001548/0.3705, allocations: 1.078 MB / 0.5096 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.3705, allocations: 0 / 0.5096 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002811/0.3707, allocations: 67.89 kB / 0.5097 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001796/0.3725, allocations: 184.4 kB / 0.5098 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.552e-05/0.3726, allocations: 8 kB / 0.5098 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004214/0.373, allocations: 0.5835 MB / 0.5104 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.373, allocations: 0 / 0.5104 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.3741, allocations: 0.7419 MB / 0.5111 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.713e-05/0.3742, allocations: 35.72 kB / 0.5112 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.76e-05/0.3742, allocations: 8 kB / 0.5112 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.3744, allocations: 8 kB / 0.5112 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.3745, allocations: 28.11 kB / 0.5112 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.3745, allocations: 12 kB / 0.5112 GB, free: 10.56 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002212/0.3747, allocations: 201.2 kB / 0.5114 GB, free: 10.37 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3747, allocations: 0 / 0.5114 GB, free: 10.37 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004039/0.3788, allocations: 0.7558 MB / 0.5122 GB, free: 9.609 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.02341/0.4022, allocations: 6.399 MB / 0.5184 GB, free: 3.188 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009336/0.4031, allocations: 471.3 kB / 0.5189 GB, free: 2.719 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4031, allocations: 3.938 kB / 0.5189 GB, free: 2.715 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004134/0.4035, allocations: 219.8 kB / 0.5191 GB, free: 2.496 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000943/0.4045, allocations: 166.9 kB / 0.5192 GB, free: 2.336 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.4061, allocations: 0.9143 MB / 0.5201 GB, free: 1.395 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.4063, allocations: 204.9 kB / 0.5203 GB, free: 1.176 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003736/0.4066, allocations: 175.5 kB / 0.5205 GB, free: 1 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.748e-05/0.4067, allocations: 39.42 kB / 0.5205 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4067, allocations: 11.88 kB / 0.5205 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of Templates: time 0.2037/0.6104, allocations: 29.28 MB / 0.5491 GB, free: 96.03 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/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: 8.31403116499132]