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.001582/0.001582, allocations: 116.9 kB / 18.41 MB, free: 4.664 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.001519/0.001519, allocations: 186.9 kB / 21.34 MB, free: 1.734 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.452/1.452, allocations: 222.9 MB / 247 MB, free: 4.328 MB / 190.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.001516/0.001516, allocations: 55.91 kB / 358.7 MB, free: 8.422 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1136, allocations: 49.43 MB / 408.1 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.2603/0.374, allocations: 26.58 MB / 434.7 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02677/0.4008, allocations: 24.86 MB / 459.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005136/0.4014, allocations: 9.625 kB / 459.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.4025, allocations: 286.4 kB / 459.8 MB, free: 10.74 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00103/0.4036, allocations: 366.1 kB / 460.2 MB, free: 10.56 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01464/0.4182, allocations: 4.013 MB / 464.2 MB, free: 9.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001622/0.4199, allocations: 0.9483 MB / 465.2 MB, free: 9.008 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002702/0.4202, allocations: 112.4 kB / 465.3 MB, free: 8.988 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000692/0.4209, allocations: 383.7 kB / 465.6 MB, free: 8.902 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004267/0.4213, allocations: 302.9 kB / 465.9 MB, free: 8.812 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.162e-05/0.4214, allocations: 36.19 kB / 466 MB, free: 8.812 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02188/0.4433, allocations: 10.42 MB / 476.4 MB, free: 5.492 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003015/0.4436, allocations: 107.7 kB / 476.5 MB, free: 5.387 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004976/0.4441, allocations: 223.1 kB / 476.7 MB, free: 5.168 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03857/0.4827, allocations: 11.5 MB / 488.2 MB, free: 9.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/0.4828, allocations: 0 / 488.2 MB, free: 9.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.4828, allocations: 0 / 488.2 MB, free: 9.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.53e-05/0.4828, allocations: 0 / 488.2 MB, free: 9.66 MB / 382.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.006953/0.4898, allocations: 1.188 MB / 489.4 MB, free: 8.422 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.4898, allocations: 9.375 kB / 489.4 MB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006051/0.4905, allocations: 67.73 kB / 489.5 MB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000607/0.4911, allocations: 328.2 kB / 489.8 MB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.138e-05/0.4911, allocations: 25.97 kB / 489.8 MB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.588e-05/0.4912, allocations: 28 kB / 489.8 MB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009417/0.4921, allocations: 470.4 kB / 490.3 MB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.4922, allocations: 5.266 kB / 490.3 MB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.874e-05/0.4922, allocations: 12 kB / 490.3 MB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.4922, allocations: 11.94 kB / 490.3 MB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007396/0.493, allocations: 387.6 kB / 490.7 MB, free: 7.035 MB / 382.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.003559/0.4965, allocations: 2.958 MB / 493.7 MB, free: 3.852 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006805/0.4972, allocations: 299.5 kB / 494 MB, free: 3.555 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002158/0.4975, allocations: 136.8 kB / 494.1 MB, free: 3.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002607/0.5001, allocations: 2.468 MB / 496.6 MB, free: 468 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.5001, allocations: 32.28 kB / 496.6 MB, free: 428 kB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.244e-06/0.5001, allocations: 0 / 496.6 MB, free: 428 kB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.005239/0.5054, allocations: 1.301 MB / 497.9 MB, free: 15.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.5055, allocations: 55.41 kB / 498 MB, free: 14.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003115/0.5058, allocations: 270.6 kB / 498.2 MB, free: 14.71 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.5058, allocations: 29.7 kB / 498.2 MB, free: 14.67 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.506, allocations: 188.5 kB / 498.4 MB, free: 14.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.991e-05/0.5061, allocations: 126.9 kB / 498.6 MB, free: 14.36 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.5062, allocations: 86.02 kB / 498.6 MB, free: 14.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.5064, allocations: 342.8 kB / 499 MB, free: 13.92 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/0.5066, allocations: 112.8 kB / 499.1 MB, free: 13.81 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003285/0.5069, allocations: 226.1 kB / 499.3 MB, free: 13.54 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005335/0.5075, allocations: 377.1 kB / 499.7 MB, free: 13.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5075, allocations: 0 / 499.7 MB, free: 13.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008404/0.5083, allocations: 458.8 kB / 0.4884 GB, free: 12.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.5084, allocations: 13.97 kB / 0.4884 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.5084, allocations: 4 kB / 0.4884 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004376/0.5128, allocations: 241.8 kB / 0.4886 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003738/0.5132, allocations: 87.89 kB / 0.4887 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001757/0.5149, allocations: 1.939 MB / 0.4906 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002459/0.5152, allocations: 13.12 kB / 0.4906 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.083e-05/0.5152, allocations: 16 kB / 0.4906 GB, free: 10.19 MB / 398.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.000243/0.5155, allocations: 170.5 kB / 0.4908 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.185e-05/0.5156, allocations: 31.81 kB / 0.4908 GB, free: 9.984 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.5167, allocations: 0.701 MB / 0.4915 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.218e-06/0.5167, allocations: 4 kB / 0.4915 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.5167, allocations: 0 / 0.4915 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009444/0.5177, allocations: 0.864 MB / 0.4924 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/0.5193, allocations: 1.191 MB / 0.4935 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.5193, allocations: 4 kB / 0.4935 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002493/0.5195, allocations: 62.34 kB / 0.4936 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001474/0.521, allocations: 180.3 kB / 0.4938 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.477e-05/0.5211, allocations: 12 kB / 0.4938 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004238/0.5215, allocations: 0.5757 MB / 0.4943 GB, free: 6.215 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5215, allocations: 0 / 0.4943 GB, free: 6.215 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.5225, allocations: 0.7314 MB / 0.4951 GB, free: 5.461 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.5227, allocations: 109 kB / 0.4952 GB, free: 5.336 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.749e-05/0.5227, allocations: 12 kB / 0.4952 GB, free: 5.324 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.5229, allocations: 8 kB / 0.4952 GB, free: 5.316 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.13e-05/0.523, allocations: 31.84 kB / 0.4952 GB, free: 5.285 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-05/0.523, allocations: 15.98 kB / 0.4952 GB, free: 5.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002638/0.5233, allocations: 225.9 kB / 0.4954 GB, free: 5.047 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5233, allocations: 0 / 0.4954 GB, free: 5.047 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004619/0.5279, allocations: 0.7441 MB / 0.4962 GB, free: 4.301 MB / 398.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.02547/0.5534, allocations: 6.421 MB / 0.5024 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001166/0.5546, allocations: 495 kB / 0.5029 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.5546, allocations: 0 / 0.5029 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004258/0.555, allocations: 217.1 kB / 0.5031 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.5562, allocations: 192.6 kB / 0.5033 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.5578, allocations: 0.9346 MB / 0.5042 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.5582, allocations: 0.8051 MB / 0.505 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.5583, allocations: 43.42 kB / 0.505 GB, free: 11.14 MB / 414.1 MB Notification: Performance of SimCode: time 3.5e-07/0.5583, allocations: 4 kB / 0.505 GB, free: 11.13 MB / 414.1 MB Notification: Performance of Templates: time 0.04011/0.5985, allocations: 29.22 MB / 0.5336 GB, free: 13.89 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.903604545048438]