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.001986/0.001986, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002403/0.002403, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.457/1.457, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.001706/0.001706, allocations: 51.92 kB / 378.3 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2551, allocations: 53.37 MB / 431.6 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03283/0.2879, allocations: 27.07 MB / 458.7 MB, free: 11.78 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02999/0.3179, allocations: 25.07 MB / 483.8 MB, free: 2.625 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004707/0.3184, allocations: 11.94 kB / 483.8 MB, free: 2.613 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009721/0.3193, allocations: 310.3 kB / 484.1 MB, free: 2.309 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008637/0.3202, allocations: 385.9 kB / 484.5 MB, free: 1.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01346/0.3337, allocations: 4.123 MB / 488.6 MB, free: 13.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001876/0.3355, allocations: 0.962 MB / 489.6 MB, free: 12.83 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003387/0.3359, allocations: 77.23 kB / 489.6 MB, free: 12.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.3369, allocations: 402.6 kB / 490 MB, free: 12.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000646/0.3376, allocations: 322.7 kB / 490.3 MB, free: 12.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.374e-05/0.3377, allocations: 36 kB / 490.4 MB, free: 12.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02087/0.3586, allocations: 10.54 MB / 0.4892 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002398/0.3588, allocations: 107.7 kB / 0.4893 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004366/0.3592, allocations: 231.1 kB / 0.4895 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02893/0.3882, allocations: 11.51 MB / 0.5007 GB, free: 5.59 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3882, allocations: 4 kB / 0.5007 GB, free: 5.586 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3882, allocations: 0 / 0.5007 GB, free: 5.586 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.927e-05/0.3882, allocations: 0 / 0.5007 GB, free: 5.586 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.006361/0.3946, allocations: 1.113 MB / 0.5018 GB, free: 4.438 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.3946, allocations: 8.031 kB / 0.5018 GB, free: 4.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006531/0.3953, allocations: 67.73 kB / 0.5019 GB, free: 4.363 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000559/0.3958, allocations: 268.6 kB / 0.5022 GB, free: 4.074 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.3958, allocations: 20.66 kB / 0.5022 GB, free: 4.051 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.058e-05/0.3959, allocations: 32 kB / 0.5022 GB, free: 4.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009967/0.3969, allocations: 467.7 kB / 0.5026 GB, free: 3.531 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.397, allocations: 0 / 0.5026 GB, free: 3.531 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.24e-05/0.397, allocations: 16 kB / 0.5027 GB, free: 3.516 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.397, allocations: 8 kB / 0.5027 GB, free: 3.508 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008337/0.3978, allocations: 398.2 kB / 0.5031 GB, free: 3.117 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.004099/0.4019, allocations: 2.814 MB / 0.5058 GB, free: 100 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007658/0.4027, allocations: 278.8 kB / 0.5061 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/0.4029, allocations: 120.8 kB / 0.5062 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001598/0.4045, allocations: 467.4 kB / 0.5066 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.4046, allocations: 38.56 kB / 0.5067 GB, free: 15.19 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 2.244e-06/0.4046, allocations: 0 / 0.5067 GB, free: 15.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.006016/0.4106, allocations: 1.167 MB / 0.5078 GB, free: 13.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.4106, allocations: 51.41 kB / 0.5079 GB, free: 13.92 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003254/0.411, allocations: 257.9 kB / 0.5081 GB, free: 13.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/0.411, allocations: 33.7 kB / 0.5081 GB, free: 13.62 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.4111, allocations: 192.4 kB / 0.5083 GB, free: 13.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.4113, allocations: 130.9 kB / 0.5084 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.4114, allocations: 82.08 kB / 0.5085 GB, free: 13.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.4116, allocations: 342.8 kB / 0.5088 GB, free: 12.87 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.4118, allocations: 116.8 kB / 0.509 GB, free: 12.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003356/0.4121, allocations: 230 kB / 0.5092 GB, free: 12.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006018/0.4127, allocations: 370 kB / 0.5095 GB, free: 12.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.4127, allocations: 4 kB / 0.5095 GB, free: 12.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00101/0.4137, allocations: 462.7 kB / 0.51 GB, free: 11.6 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.4137, allocations: 4.438 kB / 0.51 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.4138, allocations: 8 kB / 0.51 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006184/0.4199, allocations: 249.4 kB / 0.5102 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003789/0.4203, allocations: 83.84 kB / 0.5103 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/0.422, allocations: 1.847 MB / 0.5121 GB, free: 9.273 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002407/0.4223, allocations: 12.22 kB / 0.5121 GB, free: 9.262 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/0.4223, allocations: 20 kB / 0.5121 GB, free: 9.242 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.0002381/0.4225, allocations: 165.7 kB / 0.5123 GB, free: 9.07 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001939/0.4227, allocations: 39.73 kB / 0.5123 GB, free: 9.031 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001222/0.424, allocations: 0.6939 MB / 0.513 GB, free: 8.324 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.424, allocations: 7.984 kB / 0.513 GB, free: 8.316 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.424, allocations: 4 kB / 0.513 GB, free: 8.312 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001032/0.425, allocations: 0.8866 MB / 0.5139 GB, free: 7.336 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001738/0.4267, allocations: 1.179 MB / 0.515 GB, free: 6.105 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.4267, allocations: 0 / 0.515 GB, free: 6.105 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002782/0.427, allocations: 59.97 kB / 0.5151 GB, free: 6.047 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001727/0.4288, allocations: 192.3 kB / 0.5153 GB, free: 5.855 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.083e-05/0.4288, allocations: 12 kB / 0.5153 GB, free: 5.844 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004408/0.4292, allocations: 0.572 MB / 0.5158 GB, free: 5.246 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.4292, allocations: 3.938 kB / 0.5159 GB, free: 5.242 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.4304, allocations: 0.7498 MB / 0.5166 GB, free: 4.469 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.995e-05/0.4305, allocations: 35.72 kB / 0.5166 GB, free: 4.434 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.436e-05/0.4305, allocations: 12 kB / 0.5166 GB, free: 4.422 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.4307, allocations: 4 kB / 0.5166 GB, free: 4.418 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.4308, allocations: 31.89 kB / 0.5167 GB, free: 4.387 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/0.4308, allocations: 8 kB / 0.5167 GB, free: 4.379 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000257/0.4311, allocations: 223.1 kB / 0.5169 GB, free: 4.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4311, allocations: 4.062 kB / 0.5169 GB, free: 4.156 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004191/0.4352, allocations: 0.7597 MB / 0.5176 GB, free: 3.395 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.02727/0.4625, allocations: 6.415 MB / 0.5239 GB, free: 12.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001134/0.4637, allocations: 463.7 kB / 0.5243 GB, free: 12.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.4637, allocations: 4.125 kB / 0.5243 GB, free: 12.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004535/0.4641, allocations: 219.7 kB / 0.5246 GB, free: 12.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.4652, allocations: 179.7 kB / 0.5247 GB, free: 12.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.467, allocations: 0.9183 MB / 0.5256 GB, free: 11.15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004775/0.4674, allocations: 0.8091 MB / 0.5264 GB, free: 10.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004526/0.4679, allocations: 199.3 kB / 0.5266 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.319e-05/0.468, allocations: 39.44 kB / 0.5266 GB, free: 10.08 MB / 446.1 MB Notification: Performance of SimCode: time 8.51e-07/0.468, allocations: 0 / 0.5266 GB, free: 10.08 MB / 446.1 MB Notification: Performance of Templates: time 0.2292/0.6972, allocations: 29.49 MB / 0.5554 GB, free: 88.39 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: 8.352199228014797]