Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 103.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 242.2 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1968/0.1968, allocations: 44.19 MB / 336.6 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 57.38 kB / 408.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1104, allocations: 60.82 MB / 469.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.3915/0.5019, allocations: 175.2 MB / 0.6294 GB, free: 1.324 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006989/0.509, allocations: 5.337 MB / 0.6346 GB, free: 11.97 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006732/0.5097, allocations: 23.81 kB / 0.6346 GB, free: 11.95 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008609/0.5106, allocations: 317.9 kB / 0.6349 GB, free: 11.64 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002923/0.5135, allocations: 1.328 MB / 0.6362 GB, free: 10.31 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002333/0.5159, allocations: 1.064 MB / 0.6373 GB, free: 9.25 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001839/0.5177, allocations: 1.841 MB / 0.6391 GB, free: 7.406 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005458/0.5183, allocations: 463.1 kB / 0.6395 GB, free: 6.949 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001715/0.52, allocations: 1.063 MB / 0.6405 GB, free: 5.883 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/0.5211, allocations: 0.7471 MB / 0.6413 GB, free: 5.133 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.5212, allocations: 64 kB / 0.6413 GB, free: 5.07 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.5224, allocations: 0.5813 MB / 0.6419 GB, free: 4.488 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003055/0.5227, allocations: 259.3 kB / 0.6421 GB, free: 4.234 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003796/0.5231, allocations: 398.2 kB / 0.6425 GB, free: 3.844 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00146/0.5246, allocations: 1.293 MB / 0.6438 GB, free: 2.547 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.5246, allocations: 0 / 0.6438 GB, free: 2.547 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.5246, allocations: 0 / 0.6438 GB, free: 2.547 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.5246, allocations: 4 kB / 0.6438 GB, free: 2.543 MB / 478.1 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.001921/0.5265, allocations: 1.095 MB / 0.6449 GB, free: 1.395 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.5266, allocations: 8.031 kB / 0.6449 GB, free: 1.387 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007884/0.5274, allocations: 137.7 kB / 0.645 GB, free: 1.254 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006948/0.5281, allocations: 0.5079 MB / 0.6455 GB, free: 0.707 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.5282, allocations: 104.4 kB / 0.6456 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.682e-05/0.5283, allocations: 48 kB / 0.6456 GB, free: 0.543 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.5294, allocations: 0.8136 MB / 0.6464 GB, free: 15.66 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.5295, allocations: 7.938 kB / 0.6464 GB, free: 15.65 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.262e-05/0.5295, allocations: 27.98 kB / 0.6465 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.319e-05/0.5296, allocations: 40.92 kB / 0.6465 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.5306, allocations: 0.6244 MB / 0.6471 GB, free: 14.96 MB / 494.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.004058/0.5347, allocations: 3.976 MB / 0.651 GB, free: 10.72 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005233/0.5352, allocations: 355.6 kB / 0.6513 GB, free: 10.37 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002535/0.5355, allocations: 173.3 kB / 0.6515 GB, free: 10.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/0.5356, allocations: 85.39 kB / 0.6516 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.5356, allocations: 42.83 kB / 0.6516 GB, free: 10.04 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.793e-06/0.5356, allocations: 0 / 0.6516 GB, free: 10.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005299/0.5409, allocations: 1.67 MB / 0.6533 GB, free: 8.305 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.402e-05/0.541, allocations: 132.5 kB / 0.6534 GB, free: 8.145 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006365/0.5417, allocations: 0.6132 MB / 0.654 GB, free: 7.523 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.653e-05/0.5417, allocations: 37.7 kB / 0.654 GB, free: 7.48 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/0.542, allocations: 366.9 kB / 0.6544 GB, free: 7.117 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.5421, allocations: 150 kB / 0.6545 GB, free: 6.969 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002039/0.5423, allocations: 158.5 kB / 0.6547 GB, free: 6.809 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.5424, allocations: 370.8 kB / 0.655 GB, free: 6.438 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000341/0.5428, allocations: 205.9 kB / 0.6552 GB, free: 6.234 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000511/0.5433, allocations: 0.5163 MB / 0.6557 GB, free: 5.574 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008345/0.5442, allocations: 0.7514 MB / 0.6565 GB, free: 4.684 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.5442, allocations: 4 kB / 0.6565 GB, free: 4.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001315/0.5455, allocations: 0.8912 MB / 0.6573 GB, free: 3.777 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.5455, allocations: 11.98 kB / 0.6573 GB, free: 3.766 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.5455, allocations: 12 kB / 0.6574 GB, free: 3.754 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001277/0.5468, allocations: 309.2 kB / 0.6576 GB, free: 3.449 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003588/0.5472, allocations: 119.8 kB / 0.6578 GB, free: 3.332 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001008/0.5482, allocations: 0.9293 MB / 0.6587 GB, free: 2.379 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004563/0.5487, allocations: 32.05 kB / 0.6587 GB, free: 2.348 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.164e-05/0.5488, allocations: 67.98 kB / 0.6588 GB, free: 2.281 MB / 494.1 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.0003415/0.5491, allocations: 249.8 kB / 0.659 GB, free: 2.027 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.5492, allocations: 68.03 kB / 0.6591 GB, free: 1.961 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00171/0.551, allocations: 0.8684 MB / 0.6599 GB, free: 1.074 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.551, allocations: 4 kB / 0.6599 GB, free: 1.07 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.551, allocations: 4 kB / 0.6599 GB, free: 1.066 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.551, allocations: 3.984 kB / 0.6599 GB, free: 1.062 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001864/0.5529, allocations: 1.461 MB / 0.6614 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.5529, allocations: 4 kB / 0.6614 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.5539, allocations: 211.9 kB / 0.6616 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.374e-05/0.554, allocations: 20.84 kB / 0.6616 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.241e-05/0.5541, allocations: 23.98 kB / 0.6616 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001823/0.5559, allocations: 2.873 MB / 0.6644 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.5559, allocations: 8.016 kB / 0.6644 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.5571, allocations: 0.8208 MB / 0.6652 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002815/0.5574, allocations: 184.2 kB / 0.6654 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.5575, allocations: 11.98 kB / 0.6654 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004062/0.5579, allocations: 20 kB / 0.6654 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.558, allocations: 43.89 kB / 0.6655 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-05/0.5581, allocations: 51.98 kB / 0.6655 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005955/0.5587, allocations: 439 kB / 0.6659 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5587, allocations: 4 kB / 0.6659 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009732/0.5597, allocations: 244 kB / 0.6662 GB, free: 10.2 MB / 0.4981 GB 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 (39): * Single equations (assignments): 37 * 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.0008946/0.5606, allocations: 313.9 kB / 0.6665 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001288/0.5619, allocations: 0.6013 MB / 0.6671 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.5619, allocations: 4 kB / 0.6671 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009728/0.5629, allocations: 422.6 kB / 0.6675 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/0.5647, allocations: 361.6 kB / 0.6678 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/0.5672, allocations: 1.346 MB / 0.6691 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007601/0.568, allocations: 0.93 MB / 0.67 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001561/0.5696, allocations: 465.8 kB / 0.6705 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004749/0.57, allocations: 107.4 kB / 0.6706 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of SimCode: time 1.814e-06/0.5701, allocations: 0 / 0.6706 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of Templates: time 0.02904/0.5991, allocations: 17.43 MB / 0.6876 GB, free: 4.363 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches