Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001278/0.001278, allocations: 107 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001402/0.001402, allocations: 215.7 kB / 23 MB, free: 5.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 230.2 MB / 256.2 MB, free: 8.531 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 63.89 kB / 376.5 MB, free: 3.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2579, allocations: 53.33 MB / 429.8 MB, free: 7.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.04172/0.2996, allocations: 38.31 MB / 468.1 MB, free: 1.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03668/0.3363, allocations: 30.86 MB / 499 MB, free: 2.125 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005733/0.3369, allocations: 11.88 kB / 499 MB, free: 2.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0014/0.3383, allocations: 425.7 kB / 499.4 MB, free: 1.695 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001451/0.3397, allocations: 0.5283 MB / 499.9 MB, free: 1.164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01518/0.3549, allocations: 5.244 MB / 0.4933 GB, free: 11.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002095/0.357, allocations: 1.363 MB / 0.4947 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003445/0.3573, allocations: 122.7 kB / 0.4948 GB, free: 10.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001135/0.3585, allocations: 0.5527 MB / 0.4953 GB, free: 9.859 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007757/0.3592, allocations: 454.2 kB / 0.4958 GB, free: 9.414 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001367/0.3594, allocations: 52 kB / 0.4958 GB, free: 9.363 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02406/0.3834, allocations: 12.9 MB / 0.5084 GB, free: 12.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002902/0.3837, allocations: 155.5 kB / 0.5086 GB, free: 12.28 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005273/0.3843, allocations: 322.8 kB / 0.5089 GB, free: 11.96 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03578/0.42, allocations: 14.94 MB / 0.5234 GB, free: 13.01 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.4201, allocations: 7.984 kB / 0.5235 GB, free: 13 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.4201, allocations: 0 / 0.5235 GB, free: 13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.4201, allocations: 0 / 0.5235 GB, free: 13 MB / 446.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.007589/0.4277, allocations: 1.475 MB / 0.5249 GB, free: 11.47 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.4277, allocations: 12.03 kB / 0.5249 GB, free: 11.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008227/0.4285, allocations: 103.6 kB / 0.525 GB, free: 11.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006144/0.4291, allocations: 382.1 kB / 0.5254 GB, free: 10.94 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.302e-05/0.4292, allocations: 37 kB / 0.5254 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.665e-05/0.4292, allocations: 48 kB / 0.5255 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.4305, allocations: 0.6205 MB / 0.5261 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.104e-05/0.4305, allocations: 11.95 kB / 0.5261 GB, free: 10.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.046e-05/0.4306, allocations: 19.94 kB / 0.5261 GB, free: 10.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.4306, allocations: 12 kB / 0.5261 GB, free: 10.15 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.4317, allocations: 0.5346 MB / 0.5266 GB, free: 9.617 MB / 446.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.004664/0.4363, allocations: 3.796 MB / 0.5303 GB, free: 5.516 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009891/0.4373, allocations: 400.6 kB / 0.5307 GB, free: 5.117 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003146/0.4376, allocations: 198.6 kB / 0.5309 GB, free: 4.922 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003768/0.4414, allocations: 3.466 MB / 0.5343 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/0.4415, allocations: 34.94 kB / 0.5343 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 2.415e-06/0.4415, allocations: 0 / 0.5343 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.2059/0.6473, allocations: 2.03 MB / 0.5363 GB, free: 97.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.6474, allocations: 61.31 kB / 0.5364 GB, free: 97.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003114/0.6477, allocations: 314.3 kB / 0.5367 GB, free: 97.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.6477, allocations: 37.45 kB / 0.5367 GB, free: 97.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.6478, allocations: 230.7 kB / 0.5369 GB, free: 97.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.6479, allocations: 201.5 kB / 0.5371 GB, free: 97.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.6481, allocations: 115.5 kB / 0.5372 GB, free: 97.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.777e-05/0.6482, allocations: 354.1 kB / 0.5376 GB, free: 96.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002881/0.6484, allocations: 177.8 kB / 0.5377 GB, free: 96.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003583/0.6488, allocations: 329.8 kB / 0.538 GB, free: 96.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006689/0.6495, allocations: 0.5438 MB / 0.5386 GB, free: 96.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.6495, allocations: 1.344 kB / 0.5386 GB, free: 96.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00129/0.6508, allocations: 0.6758 MB / 0.5392 GB, free: 95.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.6508, allocations: 8.281 kB / 0.5392 GB, free: 95.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.6508, allocations: 7.516 kB / 0.5392 GB, free: 95.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01221/0.663, allocations: 473.3 kB / 0.5397 GB, free: 95.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005727/0.6636, allocations: 142.1 kB / 0.5398 GB, free: 95.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/0.665, allocations: 3.087 MB / 0.5428 GB, free: 92.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000333/0.6654, allocations: 16.19 kB / 0.5429 GB, free: 92.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.156e-05/0.6654, allocations: 34.88 kB / 0.5429 GB, free: 92.56 MB / 446.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.0002476/0.6657, allocations: 190.8 kB / 0.5431 GB, free: 92.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000226/0.6659, allocations: 47.67 kB / 0.5431 GB, free: 92.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001492/0.6674, allocations: 1.049 MB / 0.5441 GB, free: 91.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/0.6674, allocations: 11.45 kB / 0.5442 GB, free: 91.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.6674, allocations: 2.75 kB / 0.5442 GB, free: 91.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009645/0.6684, allocations: 1.083 MB / 0.5452 GB, free: 91.19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001803/0.6702, allocations: 1.733 MB / 0.5469 GB, free: 90.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.6702, allocations: 0.8906 kB / 0.5469 GB, free: 90.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003612/0.6705, allocations: 99.67 kB / 0.547 GB, free: 90.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003024/0.6736, allocations: 361.2 kB / 0.5474 GB, free: 90.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.618e-05/0.6736, allocations: 17.62 kB / 0.5474 GB, free: 90.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004151/0.674, allocations: 1.141 MB / 0.5485 GB, free: 89.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.674, allocations: 4.719 kB / 0.5485 GB, free: 89.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.6752, allocations: 1.134 MB / 0.5496 GB, free: 88.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.867e-05/0.6753, allocations: 123.1 kB / 0.5497 GB, free: 88.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.485e-05/0.6753, allocations: 18.53 kB / 0.5497 GB, free: 88.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/0.6756, allocations: 8.812 kB / 0.5497 GB, free: 88.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.153e-05/0.6756, allocations: 39.28 kB / 0.5498 GB, free: 88.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.403e-05/0.6757, allocations: 20.33 kB / 0.5498 GB, free: 88.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001889/0.6758, allocations: 253.1 kB / 0.55 GB, free: 88.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6758, allocations: 0.8125 kB / 0.55 GB, free: 88.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004912/0.6808, allocations: 0.9818 MB / 0.551 GB, free: 88.11 MB / 446.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.02607/0.7068, allocations: 7.893 MB / 0.5587 GB, free: 82.35 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001446/0.7083, allocations: 0.6805 MB / 0.5594 GB, free: 81.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.7083, allocations: 4 kB / 0.5594 GB, free: 81.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000482/0.7088, allocations: 352.8 kB / 0.5597 GB, free: 81.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.71, allocations: 259.2 kB / 0.56 GB, free: 81.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.7117, allocations: 1.338 MB / 0.5613 GB, free: 80.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.7119, allocations: 0.8672 MB / 0.5621 GB, free: 79.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003901/0.7123, allocations: 250.7 kB / 0.5624 GB, free: 79.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.514e-05/0.7124, allocations: 49.55 kB / 0.5624 GB, free: 79 MB / 446.1 MB Notification: Performance of SimCode: time 5.81e-07/0.7124, allocations: 3.938 kB / 0.5624 GB, free: 78.99 MB / 446.1 MB Notification: Performance of Templates: time 0.0369/0.7493, allocations: 36.53 MB / 0.5981 GB, free: 42.52 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_trunk_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 8.728245111182332]