Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.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.001856/0.001856, allocations: 108.6 kB / 21.18 MB, free: 0.7617 MB / 14.72 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.002226/0.002226, allocations: 189.2 kB / 24.48 MB, free: 4.164 MB / 14.72 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.474/1.474, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 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.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 47.94 kB / 371.7 MB, free: 9.355 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2662, allocations: 52.19 MB / 423.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03113/0.2974, allocations: 26.97 MB / 450.9 MB, free: 3.621 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02933/0.3267, allocations: 25.04 MB / 475.9 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004498/0.3271, allocations: 11.94 kB / 475.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009972/0.3281, allocations: 306.3 kB / 476.2 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001063/0.3292, allocations: 377.9 kB / 476.6 MB, free: 9.809 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01174/0.3409, allocations: 4.13 MB / 480.7 MB, free: 5.668 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001463/0.3424, allocations: 0.9658 MB / 481.7 MB, free: 4.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002522/0.3427, allocations: 85.22 kB / 481.8 MB, free: 4.613 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008002/0.3435, allocations: 394.6 kB / 482.2 MB, free: 4.227 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005606/0.344, allocations: 314.8 kB / 482.5 MB, free: 3.918 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.001e-05/0.3441, allocations: 43.94 kB / 482.5 MB, free: 3.875 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02011/0.3642, allocations: 10.54 MB / 493 MB, free: 9.312 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002734/0.3645, allocations: 107.7 kB / 493.1 MB, free: 9.207 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004896/0.365, allocations: 223.1 kB / 493.4 MB, free: 8.988 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02871/0.3937, allocations: 11.49 MB / 0.493 GB, free: 13.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3937, allocations: 0 / 0.493 GB, free: 13.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.3937, allocations: 0 / 0.493 GB, free: 13.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.93e-05/0.3937, allocations: 0 / 0.493 GB, free: 13.48 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.006447/0.4001, allocations: 1.117 MB / 0.4941 GB, free: 12.33 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.4002, allocations: 8.031 kB / 0.4941 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006732/0.4009, allocations: 67.73 kB / 0.4942 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006051/0.4015, allocations: 264.6 kB / 0.4944 GB, free: 11.97 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/0.4015, allocations: 20.66 kB / 0.4945 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.162e-05/0.4016, allocations: 36 kB / 0.4945 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.4026, allocations: 467.7 kB / 0.4949 GB, free: 11.42 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.4026, allocations: 0 / 0.4949 GB, free: 11.42 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.59e-05/0.4027, allocations: 16 kB / 0.495 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.4027, allocations: 8 kB / 0.495 GB, free: 11.4 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008027/0.4035, allocations: 394.3 kB / 0.4953 GB, free: 11.01 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.004024/0.4075, allocations: 2.822 MB / 0.4981 GB, free: 7.984 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007001/0.4082, allocations: 278.8 kB / 0.4984 GB, free: 7.703 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/0.4084, allocations: 124.8 kB / 0.4985 GB, free: 7.578 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001554/0.41, allocations: 467.4 kB / 0.4989 GB, free: 7.121 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.41, allocations: 34.56 kB / 0.499 GB, free: 7.078 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 3.076e-06/0.41, allocations: 0 / 0.499 GB, free: 7.078 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.005452/0.4155, allocations: 1.149 MB / 0.5001 GB, free: 5.891 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.522e-05/0.4155, allocations: 59.41 kB / 0.5001 GB, free: 5.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003543/0.4159, allocations: 257.9 kB / 0.5004 GB, free: 5.559 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.098e-05/0.4159, allocations: 33.7 kB / 0.5004 GB, free: 5.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.4161, allocations: 196.4 kB / 0.5006 GB, free: 5.324 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.4162, allocations: 130.8 kB / 0.5007 GB, free: 5.195 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.4163, allocations: 78.12 kB / 0.5008 GB, free: 5.113 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.4165, allocations: 338.8 kB / 0.5011 GB, free: 4.773 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.4167, allocations: 116.8 kB / 0.5012 GB, free: 4.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003091/0.417, allocations: 222.1 kB / 0.5015 GB, free: 4.391 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005918/0.4176, allocations: 382 kB / 0.5018 GB, free: 3.969 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.4176, allocations: 0 / 0.5018 GB, free: 3.969 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009375/0.4185, allocations: 458.7 kB / 0.5023 GB, free: 3.508 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.4185, allocations: 8 kB / 0.5023 GB, free: 3.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.4186, allocations: 4 kB / 0.5023 GB, free: 3.496 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004879/0.4234, allocations: 237.8 kB / 0.5025 GB, free: 3.258 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004061/0.4238, allocations: 91.89 kB / 0.5026 GB, free: 3.168 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/0.4257, allocations: 1.847 MB / 0.5044 GB, free: 1.184 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002774/0.4259, allocations: 8 kB / 0.5044 GB, free: 1.176 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.339e-05/0.426, allocations: 23.98 kB / 0.5044 GB, free: 1.152 MB / 414.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.0002538/0.4262, allocations: 157.8 kB / 0.5046 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.4264, allocations: 39.97 kB / 0.5046 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/0.4275, allocations: 0.7047 MB / 0.5053 GB, free: 240 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.4276, allocations: 7.984 kB / 0.5053 GB, free: 232 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.4276, allocations: 0 / 0.5053 GB, free: 232 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001038/0.4286, allocations: 0.8829 MB / 0.5062 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/0.4304, allocations: 1.182 MB / 0.5073 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.4304, allocations: 0 / 0.5073 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002753/0.4306, allocations: 67.91 kB / 0.5074 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001597/0.4322, allocations: 176.5 kB / 0.5075 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.28e-05/0.4323, allocations: 12 kB / 0.5076 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004363/0.4327, allocations: 0.5797 MB / 0.5081 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.4327, allocations: 3.969 kB / 0.5081 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.4338, allocations: 0.7383 MB / 0.5089 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.975e-05/0.4339, allocations: 23.84 kB / 0.5089 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.539e-05/0.4339, allocations: 19.89 kB / 0.5089 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.4341, allocations: 12.16 kB / 0.5089 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.605e-05/0.4342, allocations: 35.77 kB / 0.5089 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-05/0.4342, allocations: 11.98 kB / 0.5089 GB, free: 12.29 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002483/0.4344, allocations: 223.1 kB / 0.5092 GB, free: 12.08 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4344, allocations: 0 / 0.5092 GB, free: 12.08 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004462/0.4389, allocations: 0.7481 MB / 0.5099 GB, free: 11.33 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.02586/0.4648, allocations: 6.399 MB / 0.5161 GB, free: 4.906 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.4659, allocations: 473.8 kB / 0.5166 GB, free: 4.434 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.4659, allocations: 0 / 0.5166 GB, free: 4.434 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004798/0.4664, allocations: 212.9 kB / 0.5168 GB, free: 4.223 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.4676, allocations: 184.7 kB / 0.517 GB, free: 4.047 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/0.4694, allocations: 0.9451 MB / 0.5179 GB, free: 3.066 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/0.4698, allocations: 0.8013 MB / 0.5187 GB, free: 2.238 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.4699, allocations: 51.42 kB / 0.5187 GB, free: 2.191 MB / 430.1 MB Notification: Performance of SimCode: time 8.41e-07/0.4699, allocations: 3.938 kB / 0.5187 GB, free: 2.188 MB / 430.1 MB Notification: Performance of Templates: time 0.2655/0.7354, allocations: 29.26 MB / 0.5473 GB, free: 98.68 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 11.003744549117982]