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.001334/0.001334, allocations: 120.8 kB / 18.46 MB, free: 4.449 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.001335/0.001335, allocations: 190.9 kB / 21.4 MB, free: 1.52 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.416/1.416, allocations: 225.6 MB / 249.8 MB, free: 3.617 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.001484/0.001484, allocations: 51.91 kB / 366.8 MB, free: 420 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09573/0.09721, allocations: 52.14 MB / 419 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02991/0.1271, allocations: 26.75 MB / 445.7 MB, free: 1.328 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2199/0.3471, allocations: 24.95 MB / 470.7 MB, free: 2.977 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004471/0.3475, allocations: 4.469 kB / 470.7 MB, free: 2.977 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009606/0.3485, allocations: 307 kB / 471 MB, free: 2.855 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009881/0.3495, allocations: 383.8 kB / 471.3 MB, free: 2.668 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01361/0.3631, allocations: 4.086 MB / 475.4 MB, free: 1.367 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001444/0.3645, allocations: 0.9486 MB / 476.4 MB, free: 1.125 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002355/0.3647, allocations: 73.8 kB / 476.4 MB, free: 1.117 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008686/0.3656, allocations: 392.3 kB / 476.8 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005843/0.3662, allocations: 321 kB / 477.1 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.679e-05/0.3663, allocations: 38.84 kB / 477.2 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02413/0.3904, allocations: 10.49 MB / 487.7 MB, free: 14.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003124/0.3907, allocations: 109.3 kB / 487.8 MB, free: 14.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005295/0.3913, allocations: 229.8 kB / 488 MB, free: 14.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03916/0.4304, allocations: 11.49 MB / 499.5 MB, free: 4.742 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.328e-06/0.4304, allocations: 4 kB / 499.5 MB, free: 4.738 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4304, allocations: 0.9375 kB / 499.5 MB, free: 4.738 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.464e-05/0.4305, allocations: 0 / 499.5 MB, free: 4.738 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.007423/0.4379, allocations: 1.175 MB / 0.4889 GB, free: 3.512 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.4379, allocations: 13.31 kB / 0.4889 GB, free: 3.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006353/0.4386, allocations: 67.73 kB / 0.489 GB, free: 3.434 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005843/0.4391, allocations: 324.2 kB / 0.4893 GB, free: 3.078 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.4392, allocations: 28.59 kB / 0.4893 GB, free: 3.051 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.065e-05/0.4392, allocations: 29.34 kB / 0.4894 GB, free: 3.023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.4403, allocations: 467.7 kB / 0.4898 GB, free: 2.531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.4403, allocations: 7.938 kB / 0.4898 GB, free: 2.523 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.934e-05/0.4404, allocations: 17.34 kB / 0.4898 GB, free: 2.508 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.4404, allocations: 8 kB / 0.4898 GB, free: 2.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008261/0.4412, allocations: 385 kB / 0.4902 GB, free: 2.129 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.003699/0.4449, allocations: 2.949 MB / 0.4931 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006964/0.4456, allocations: 291.6 kB / 0.4934 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/0.4458, allocations: 125.8 kB / 0.4935 GB, free: 14.54 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002562/0.4484, allocations: 2.461 MB / 0.4959 GB, free: 11.58 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.4484, allocations: 46.55 kB / 0.4959 GB, free: 11.53 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 1.693e-06/0.4484, allocations: 1.719 kB / 0.4959 GB, free: 11.53 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.005317/0.4537, allocations: 1.302 MB / 0.4972 GB, free: 10.15 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.4538, allocations: 52.81 kB / 0.4973 GB, free: 10.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002909/0.4541, allocations: 258.6 kB / 0.4975 GB, free: 9.832 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/0.4541, allocations: 33.7 kB / 0.4975 GB, free: 9.793 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.4542, allocations: 193.2 kB / 0.4977 GB, free: 9.602 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.4543, allocations: 130.9 kB / 0.4979 GB, free: 9.473 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.4545, allocations: 78.91 kB / 0.4979 GB, free: 9.391 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.4546, allocations: 335.6 kB / 0.4982 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/0.4548, allocations: 117.6 kB / 0.4984 GB, free: 8.941 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003174/0.4551, allocations: 233.6 kB / 0.4986 GB, free: 8.664 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005623/0.4557, allocations: 370 kB / 0.4989 GB, free: 8.262 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4557, allocations: 0 / 0.4989 GB, free: 8.262 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008531/0.4566, allocations: 463.3 kB / 0.4994 GB, free: 7.801 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.4566, allocations: 11.94 kB / 0.4994 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.4566, allocations: 4.688 kB / 0.4994 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004934/0.4615, allocations: 235 kB / 0.4996 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003567/0.4619, allocations: 88.53 kB / 0.4997 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001715/0.4636, allocations: 1.953 MB / 0.5016 GB, free: 5.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.4638, allocations: 8 kB / 0.5016 GB, free: 5.348 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.064e-05/0.4639, allocations: 20 kB / 0.5016 GB, free: 5.328 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.0002279/0.4641, allocations: 169.6 kB / 0.5018 GB, free: 5.152 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.011e-05/0.4642, allocations: 31.81 kB / 0.5018 GB, free: 5.121 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001093/0.4653, allocations: 0.6912 MB / 0.5025 GB, free: 4.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.4653, allocations: 7.984 kB / 0.5025 GB, free: 4.422 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.4653, allocations: 0 / 0.5025 GB, free: 4.422 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009143/0.4662, allocations: 0.864 MB / 0.5034 GB, free: 3.469 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001592/0.4678, allocations: 1.188 MB / 0.5045 GB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.4678, allocations: 0 / 0.5045 GB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002647/0.4681, allocations: 67.89 kB / 0.5046 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001542/0.4696, allocations: 180.5 kB / 0.5048 GB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.326e-05/0.4696, allocations: 12 kB / 0.5048 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004106/0.4701, allocations: 0.5641 MB / 0.5053 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4701, allocations: 8.031 kB / 0.5053 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.4711, allocations: 0.7352 MB / 0.506 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.4712, allocations: 116.8 kB / 0.5062 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.555e-05/0.4712, allocations: 8 kB / 0.5062 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.4714, allocations: 8 kB / 0.5062 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.4715, allocations: 27.91 kB / 0.5062 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.744e-05/0.4715, allocations: 11.98 kB / 0.5062 GB, free: 428 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002436/0.4717, allocations: 222 kB / 0.5064 GB, free: 204 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4717, allocations: 0 / 0.5064 GB, free: 204 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.004761/0.4765, allocations: 0.7519 MB / 0.5072 GB, free: 15.45 MB / 414.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.02555/0.5021, allocations: 6.415 MB / 0.5134 GB, free: 9.027 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001094/0.5032, allocations: 471.3 kB / 0.5139 GB, free: 8.559 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5032, allocations: 0 / 0.5139 GB, free: 8.559 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003917/0.5036, allocations: 212.2 kB / 0.5141 GB, free: 8.348 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.5047, allocations: 183.5 kB / 0.5142 GB, free: 8.176 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.5063, allocations: 0.9399 MB / 0.5152 GB, free: 7.207 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004312/0.5068, allocations: 0.8012 MB / 0.5159 GB, free: 6.383 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.5069, allocations: 51.36 kB / 0.516 GB, free: 6.336 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.5069, allocations: 0 / 0.516 GB, free: 6.336 MB / 414.1 MB Notification: Performance of Templates: time 0.03981/0.5467, allocations: 29.26 MB / 0.5446 GB, free: 9.059 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.74396642204374]