Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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.002533/0.002533, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.00314/0.00314, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.762/1.762, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3784/0.3784, allocations: 34.26 MB / 295.3 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.681e-05/2.837e-05, allocations: 2.312 kB / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.371/0.3711, allocations: 171.7 MB / 0.5362 GB, free: 140 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00829/0.3793, allocations: 5.419 MB / 0.5415 GB, free: 12.49 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006032/0.3799, allocations: 27.56 kB / 0.5415 GB, free: 12.48 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009847/0.3809, allocations: 319.2 kB / 0.5418 GB, free: 12.3 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003814/0.3847, allocations: 1.393 MB / 0.5432 GB, free: 11.54 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002704/0.3874, allocations: 1.072 MB / 0.5442 GB, free: 11.01 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002237/0.3897, allocations: 1.891 MB / 0.5461 GB, free: 10.14 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006784/0.3904, allocations: 418.8 kB / 0.5465 GB, free: 9.879 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002556/0.3929, allocations: 1.36 MB / 0.5478 GB, free: 9.117 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001343/0.3943, allocations: 0.7229 MB / 0.5485 GB, free: 8.727 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001315/0.3944, allocations: 62.88 kB / 0.5485 GB, free: 8.727 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001296/0.3957, allocations: 0.5507 MB / 0.5491 GB, free: 8.484 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003398/0.396, allocations: 292.5 kB / 0.5494 GB, free: 8.281 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003733/0.3964, allocations: 290.9 kB / 0.5496 GB, free: 8.145 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001979/0.3984, allocations: 1.39 MB / 0.551 GB, free: 7.258 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3984, allocations: 0 / 0.551 GB, free: 7.258 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3984, allocations: 0 / 0.551 GB, free: 7.258 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.318e-05/0.3984, allocations: 0 / 0.551 GB, free: 7.258 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002395/0.4008, allocations: 1.195 MB / 0.5522 GB, free: 6.344 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.4008, allocations: 8.812 kB / 0.5522 GB, free: 6.344 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009415/0.4018, allocations: 216.6 kB / 0.5524 GB, free: 6.234 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009818/0.4027, allocations: 0.4942 MB / 0.5529 GB, free: 5.867 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001633/0.4029, allocations: 153.7 kB / 0.553 GB, free: 5.715 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.403, allocations: 53.12 kB / 0.5531 GB, free: 5.699 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/0.4049, allocations: 1.12 MB / 0.5542 GB, free: 4.641 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.814e-05/0.4049, allocations: 3.938 kB / 0.5542 GB, free: 4.637 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.303e-05/0.405, allocations: 27.98 kB / 0.5542 GB, free: 4.609 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.377e-05/0.4051, allocations: 40.97 kB / 0.5542 GB, free: 4.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.4061, allocations: 459.5 kB / 0.5547 GB, free: 4.121 MB / 426.7 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.005617/0.4117, allocations: 4.158 MB / 0.5587 GB, free: 15.82 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006256/0.4124, allocations: 296.2 kB / 0.559 GB, free: 15.52 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002774/0.4126, allocations: 136.1 kB / 0.5591 GB, free: 15.38 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.4128, allocations: 16.27 kB / 0.5591 GB, free: 15.36 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.356e-05/0.4128, allocations: 41.67 kB / 0.5592 GB, free: 15.31 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 1.933e-06/0.4128, allocations: 0 / 0.5592 GB, free: 15.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.005709/0.4185, allocations: 1.38 MB / 0.5605 GB, free: 13.88 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.4186, allocations: 132.5 kB / 0.5607 GB, free: 13.72 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.4197, allocations: 0.6585 MB / 0.5613 GB, free: 13.05 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.202e-05/0.4198, allocations: 37.7 kB / 0.5613 GB, free: 13 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004073/0.4202, allocations: 455 kB / 0.5618 GB, free: 12.55 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001754/0.4204, allocations: 158.7 kB / 0.5619 GB, free: 12.39 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002902/0.4207, allocations: 180.2 kB / 0.5621 GB, free: 12.21 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003673/0.421, allocations: 0.5781 MB / 0.5627 GB, free: 11.62 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003379/0.4214, allocations: 141.9 kB / 0.5628 GB, free: 11.48 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008571/0.4222, allocations: 0.6888 MB / 0.5635 GB, free: 10.58 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001355/0.4236, allocations: 0.7861 MB / 0.5642 GB, free: 9.602 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/0.4236, allocations: 4 kB / 0.5642 GB, free: 9.598 MB / 442.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001615/0.4252, allocations: 0.7811 MB / 0.565 GB, free: 8.805 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.4252, allocations: 8 kB / 0.565 GB, free: 8.797 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/0.4253, allocations: 15.94 kB / 0.565 GB, free: 8.781 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001448/0.4267, allocations: 292 kB / 0.5653 GB, free: 8.492 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004467/0.4272, allocations: 119.8 kB / 0.5654 GB, free: 8.375 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/0.4286, allocations: 1.139 MB / 0.5665 GB, free: 7.211 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004974/0.4291, allocations: 28.69 kB / 0.5666 GB, free: 7.184 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.4292, allocations: 59.98 kB / 0.5666 GB, free: 7.125 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003888/0.4296, allocations: 252.2 kB / 0.5669 GB, free: 6.867 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001669/0.4297, allocations: 75.56 kB / 0.5669 GB, free: 6.793 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001975/0.4317, allocations: 0.7879 MB / 0.5677 GB, free: 5.996 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.4317, allocations: 8 kB / 0.5677 GB, free: 5.988 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4317, allocations: 3.938 kB / 0.5677 GB, free: 5.984 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.4317, allocations: 3.984 kB / 0.5677 GB, free: 5.98 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002283/0.434, allocations: 1.16 MB / 0.5688 GB, free: 4.746 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.434, allocations: 0 / 0.5688 GB, free: 4.746 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.4351, allocations: 196 kB / 0.569 GB, free: 4.555 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001247/0.4352, allocations: 27.67 kB / 0.5691 GB, free: 4.523 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.508e-05/0.4353, allocations: 31.23 kB / 0.5691 GB, free: 4.496 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003109/0.4384, allocations: 3.644 MB / 0.5726 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4384, allocations: 0 / 0.5726 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/0.4399, allocations: 0.7615 MB / 0.5734 GB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000333/0.4402, allocations: 95.56 kB / 0.5735 GB, free: 15.71 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.556e-05/0.4403, allocations: 23.89 kB / 0.5735 GB, free: 15.69 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00036/0.4407, allocations: 20.17 kB / 0.5735 GB, free: 15.67 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.4408, allocations: 31.95 kB / 0.5736 GB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-05/0.4409, allocations: 35.98 kB / 0.5736 GB, free: 15.6 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005772/0.4414, allocations: 402.8 kB / 0.574 GB, free: 15.21 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4414, allocations: 3.938 kB / 0.574 GB, free: 15.21 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0009863/0.4424, allocations: 255.8 kB / 0.5742 GB, free: 14.96 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007386/0.4432, allocations: 293.1 kB / 0.5745 GB, free: 14.66 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001459/0.4446, allocations: 489.4 kB / 0.575 GB, free: 14.18 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.4446, allocations: 0 / 0.575 GB, free: 14.18 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001117/0.4457, allocations: 443.4 kB / 0.5754 GB, free: 13.73 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/0.4473, allocations: 324 kB / 0.5757 GB, free: 13.44 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002263/0.4496, allocations: 1.211 MB / 0.5769 GB, free: 12.17 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003948/0.45, allocations: 328.3 kB / 0.5772 GB, free: 11.82 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009705/0.451, allocations: 420 kB / 0.5776 GB, free: 11.41 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002866/0.4513, allocations: 96.45 kB / 0.5777 GB, free: 11.32 MB / 458.7 MB Notification: Performance of SimCode: time 1.012e-06/0.4513, allocations: 0 / 0.5777 GB, free: 11.32 MB / 458.7 MB Notification: Performance of Templates: time 0.02987/0.4811, allocations: 15.46 MB / 0.5928 GB, free: 12.09 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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: 6.289211386931129]