Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.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.001419/0.001419, allocations: 107.6 kB / 21.18 MB, free: 452 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.001712/0.001712, allocations: 213.5 kB / 24.47 MB, free: 3.777 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.435/1.435, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.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.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 51.92 kB / 347.7 MB, free: 9.379 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2632, allocations: 49.16 MB / 396.9 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.0365/0.2997, allocations: 34.72 MB / 431.6 MB, free: 420 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03583/0.3355, allocations: 27.15 MB / 458.7 MB, free: 5.172 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008199/0.3363, allocations: 11.94 kB / 458.7 MB, free: 5.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001422/0.3378, allocations: 373.9 kB / 459.1 MB, free: 4.793 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001622/0.3394, allocations: 0.5361 MB / 459.6 MB, free: 4.254 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01716/0.3565, allocations: 5.241 MB / 464.9 MB, free: 15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002492/0.359, allocations: 1.371 MB / 466.2 MB, free: 13.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000362/0.3594, allocations: 122.8 kB / 466.4 MB, free: 13.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001423/0.3608, allocations: 0.5489 MB / 466.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009234/0.3617, allocations: 442.1 kB / 467.3 MB, free: 12.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001546/0.3619, allocations: 56 kB / 467.4 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02855/0.3904, allocations: 12.43 MB / 479.8 MB, free: 15.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003131/0.3908, allocations: 155.4 kB / 480 MB, free: 15.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005737/0.3913, allocations: 279 kB / 480.3 MB, free: 15.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0451/0.4364, allocations: 14.94 MB / 495.2 MB, free: 0.6133 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4364, allocations: 0 / 495.2 MB, free: 0.6133 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4364, allocations: 0 / 495.2 MB, free: 0.6133 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.341e-05/0.4365, allocations: 0 / 495.2 MB, free: 0.6133 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.007644/0.4441, allocations: 1.392 MB / 496.6 MB, free: 15.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.4441, allocations: 11.98 kB / 496.6 MB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007673/0.4449, allocations: 103.6 kB / 496.7 MB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006914/0.4456, allocations: 320.3 kB / 497 MB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.677e-05/0.4456, allocations: 33 kB / 497 MB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-05/0.4457, allocations: 51.95 kB / 497.1 MB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/0.4472, allocations: 0.8252 MB / 497.9 MB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.4472, allocations: 0 / 497.9 MB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.377e-05/0.4473, allocations: 24 kB / 497.9 MB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.4473, allocations: 19.94 kB / 498 MB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.4485, allocations: 0.519 MB / 498.5 MB, free: 13.16 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.004548/0.453, allocations: 2.728 MB / 0.4895 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.4541, allocations: 400 kB / 0.4898 GB, free: 9.957 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003769/0.4545, allocations: 197.3 kB / 0.49 GB, free: 9.762 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002173/0.4566, allocations: 0.6284 MB / 0.4906 GB, free: 9.133 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.4567, allocations: 38.94 kB / 0.4907 GB, free: 9.086 MB / 414.1 MB Notification: Performance of pre-optimization done (n=46): time 2.234e-06/0.4567, allocations: 0 / 0.4907 GB, free: 9.086 MB / 414.1 MB Notification: Performance of matching and sorting (n=54): time 0.009645/0.4663, allocations: 1.881 MB / 0.4925 GB, free: 7.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.4664, allocations: 59.84 kB / 0.4926 GB, free: 7.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003592/0.4667, allocations: 281.7 kB / 0.4928 GB, free: 6.805 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.434e-05/0.4668, allocations: 37.7 kB / 0.4929 GB, free: 6.762 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/0.467, allocations: 245 kB / 0.4931 GB, free: 6.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002003/0.4672, allocations: 198.2 kB / 0.4933 GB, free: 6.324 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001927/0.4674, allocations: 122.3 kB / 0.4934 GB, free: 6.199 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.4676, allocations: 346.8 kB / 0.4938 GB, free: 5.852 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003521/0.4679, allocations: 181.2 kB / 0.4939 GB, free: 5.672 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005047/0.4684, allocations: 336 kB / 0.4942 GB, free: 5.285 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009094/0.4693, allocations: 0.5407 MB / 0.4948 GB, free: 4.684 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.4694, allocations: 0 / 0.4948 GB, free: 4.684 MB / 414.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001386/0.4707, allocations: 0.6775 MB / 0.4954 GB, free: 3.988 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.4708, allocations: 8 kB / 0.4954 GB, free: 3.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.4708, allocations: 4.562 kB / 0.4955 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008931/0.4797, allocations: 450 kB / 0.4959 GB, free: 3.527 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006643/0.4804, allocations: 143.8 kB / 0.496 GB, free: 3.387 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002759/0.4831, allocations: 2.959 MB / 0.4989 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003986/0.4835, allocations: 16 kB / 0.4989 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.447e-05/0.4836, allocations: 28 kB / 0.4989 GB, free: 208 kB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,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 (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000316/0.4839, allocations: 189.6 kB / 0.4991 GB, free: 8 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/0.4841, allocations: 43.8 kB / 0.4992 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001848/0.4859, allocations: 1.083 MB / 0.5002 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/0.486, allocations: 12 kB / 0.5002 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.486, allocations: 0 / 0.5002 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001474/0.4874, allocations: 1.11 MB / 0.5013 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00279/0.4902, allocations: 1.592 MB / 0.5029 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.4902, allocations: 4.062 kB / 0.5029 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004329/0.4907, allocations: 107.8 kB / 0.503 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003109/0.4938, allocations: 349.1 kB / 0.5033 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.325e-05/0.4938, allocations: 15.98 kB / 0.5033 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009449/0.4948, allocations: 1.152 MB / 0.5045 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4948, allocations: 0 / 0.5045 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001951/0.4967, allocations: 1.147 MB / 0.5056 GB, free: 9.191 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/0.4969, allocations: 47.62 kB / 0.5056 GB, free: 9.145 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.145e-05/0.497, allocations: 19.89 kB / 0.5056 GB, free: 9.125 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002852/0.4973, allocations: 12 kB / 0.5057 GB, free: 9.113 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.948e-05/0.4974, allocations: 36.42 kB / 0.5057 GB, free: 9.078 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.298e-05/0.4974, allocations: 23.98 kB / 0.5057 GB, free: 9.055 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003317/0.4977, allocations: 231.2 kB / 0.5059 GB, free: 8.832 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4977, allocations: 4 kB / 0.5059 GB, free: 8.828 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006807/0.5046, allocations: 0.9702 MB / 0.5069 GB, free: 7.855 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse5.phase,$cse6,$cse7.phase,$cse8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.03375/0.5383, allocations: 7.865 MB / 0.5146 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002017/0.5403, allocations: 0.6914 MB / 0.5152 GB, free: 15.26 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.5403, allocations: 3.938 kB / 0.5152 GB, free: 15.26 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007515/0.5411, allocations: 351.2 kB / 0.5156 GB, free: 14.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/0.5426, allocations: 245.2 kB / 0.5158 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002785/0.5454, allocations: 1.349 MB / 0.5171 GB, free: 13.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.5457, allocations: 268.7 kB / 0.5174 GB, free: 13 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006361/0.5463, allocations: 232.9 kB / 0.5176 GB, free: 12.78 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/0.5465, allocations: 47.42 kB / 0.5177 GB, free: 12.73 MB / 446.1 MB Notification: Performance of SimCode: time 1.352e-06/0.5465, allocations: 0 / 0.5177 GB, free: 12.73 MB / 446.1 MB Notification: Performance of Templates: time 0.05789/0.6044, allocations: 36.46 MB / 0.5533 GB, free: 8.18 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.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: 9.001350639387965]