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.0008357/0.0008357, allocations: 94.66 kB / 18 MB, free: 5.602 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.0009052/0.0009053, allocations: 177.5 kB / 18.91 MB, free: 4.738 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.414/1.414, allocations: 223.3 MB / 243 MB, free: 12 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1947/0.1947, allocations: 44.26 MB / 338.3 MB, free: 2.621 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003552, allocations: 12 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1043, allocations: 61.93 MB / 472.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.3639/0.4683, allocations: 171.1 MB / 0.629 GB, free: 7.512 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007279/0.4756, allocations: 5.416 MB / 0.6343 GB, free: 2.082 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008883/0.4765, allocations: 23.81 kB / 0.6343 GB, free: 2.059 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009593/0.4775, allocations: 274.5 kB / 0.6345 GB, free: 1.789 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003519/0.481, allocations: 1.208 MB / 0.6357 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002653/0.4837, allocations: 0.9434 MB / 0.6366 GB, free: 15.64 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002895/0.4866, allocations: 2.726 MB / 0.6393 GB, free: 12.91 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007792/0.4874, allocations: 400.5 kB / 0.6397 GB, free: 12.52 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00223/0.4896, allocations: 0.9534 MB / 0.6406 GB, free: 11.56 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001432/0.4911, allocations: 0.7744 MB / 0.6414 GB, free: 10.79 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001657/0.4913, allocations: 32 kB / 0.6414 GB, free: 10.75 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/0.4927, allocations: 0.5305 MB / 0.6419 GB, free: 10.22 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003259/0.493, allocations: 235.2 kB / 0.6421 GB, free: 9.992 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006425/0.4937, allocations: 399.9 kB / 0.6425 GB, free: 9.594 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001339/0.495, allocations: 0.9431 MB / 0.6434 GB, free: 8.648 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.495, allocations: 4 kB / 0.6435 GB, free: 8.645 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.495, allocations: 3.938 kB / 0.6435 GB, free: 8.641 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.688e-05/0.4951, allocations: 0 / 0.6435 GB, free: 8.641 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.002194/0.4973, allocations: 0.9489 MB / 0.6444 GB, free: 7.641 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.4973, allocations: 15.97 kB / 0.6444 GB, free: 7.625 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008831/0.4982, allocations: 135.1 kB / 0.6445 GB, free: 7.492 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008166/0.499, allocations: 0.5002 MB / 0.645 GB, free: 6.953 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.4991, allocations: 104.4 kB / 0.6451 GB, free: 6.836 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.4993, allocations: 51.94 kB / 0.6452 GB, free: 6.785 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.5006, allocations: 0.8136 MB / 0.646 GB, free: 5.898 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.5006, allocations: 3.906 kB / 0.646 GB, free: 5.895 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.834e-05/0.5007, allocations: 27.98 kB / 0.646 GB, free: 5.867 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.866e-05/0.5008, allocations: 48.86 kB / 0.646 GB, free: 5.82 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/0.5019, allocations: 0.6205 MB / 0.6466 GB, free: 5.199 MB / 478.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.004549/0.5064, allocations: 3.962 MB / 0.6505 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005878/0.507, allocations: 355.6 kB / 0.6508 GB, free: 0.625 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002892/0.5073, allocations: 177.3 kB / 0.651 GB, free: 460 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001116/0.5074, allocations: 89.38 kB / 0.6511 GB, free: 352 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.5075, allocations: 38.84 kB / 0.6511 GB, free: 304 kB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 1.803e-06/0.5075, allocations: 0 / 0.6511 GB, free: 304 kB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.00576/0.5133, allocations: 1.672 MB / 0.6528 GB, free: 14.55 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.167e-05/0.5134, allocations: 132.5 kB / 0.6529 GB, free: 14.39 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000763/0.5141, allocations: 0.6133 MB / 0.6535 GB, free: 13.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.684e-05/0.5142, allocations: 37.7 kB / 0.6535 GB, free: 13.73 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002774/0.5145, allocations: 366.8 kB / 0.6539 GB, free: 13.36 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.5146, allocations: 138.1 kB / 0.654 GB, free: 13.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.348e-05/0.5147, allocations: 65.67 kB / 0.6541 GB, free: 13.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.5149, allocations: 374.8 kB / 0.6544 GB, free: 12.78 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003733/0.5153, allocations: 209.8 kB / 0.6546 GB, free: 12.57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005558/0.5158, allocations: 0.5124 MB / 0.6551 GB, free: 11.91 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009733/0.5168, allocations: 0.7563 MB / 0.6559 GB, free: 11.02 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.5168, allocations: 4 kB / 0.6559 GB, free: 11.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001515/0.5184, allocations: 0.8876 MB / 0.6567 GB, free: 10.12 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.5184, allocations: 8 kB / 0.6568 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.5184, allocations: 8 kB / 0.6568 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001465/0.5199, allocations: 324.9 kB / 0.6571 GB, free: 9.781 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003938/0.5203, allocations: 119.8 kB / 0.6572 GB, free: 9.664 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001098/0.5214, allocations: 0.9373 MB / 0.6581 GB, free: 8.703 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005947/0.522, allocations: 47.98 kB / 0.6581 GB, free: 8.656 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.28e-05/0.5221, allocations: 67.98 kB / 0.6582 GB, free: 8.59 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.0003642/0.5225, allocations: 246 kB / 0.6584 GB, free: 8.34 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.5226, allocations: 67.25 kB / 0.6585 GB, free: 8.273 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001774/0.5244, allocations: 0.8631 MB / 0.6594 GB, free: 7.395 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.5244, allocations: 7.984 kB / 0.6594 GB, free: 7.387 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.5244, allocations: 0 / 0.6594 GB, free: 7.387 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.5244, allocations: 0 / 0.6594 GB, free: 7.387 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002052/0.5265, allocations: 1.458 MB / 0.6608 GB, free: 5.793 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.5265, allocations: 4 kB / 0.6608 GB, free: 5.789 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/0.5276, allocations: 212 kB / 0.661 GB, free: 5.582 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001058/0.5277, allocations: 28.75 kB / 0.661 GB, free: 5.551 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.76e-05/0.5278, allocations: 23.98 kB / 0.661 GB, free: 5.527 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001916/0.5297, allocations: 2.68 MB / 0.6637 GB, free: 2.586 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.5297, allocations: 4.031 kB / 0.6637 GB, free: 2.582 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/0.5311, allocations: 0.8129 MB / 0.6645 GB, free: 1.73 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004128/0.5315, allocations: 196.1 kB / 0.6646 GB, free: 1.52 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/0.5317, allocations: 12 kB / 0.6647 GB, free: 1.508 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005011/0.5322, allocations: 28.05 kB / 0.6647 GB, free: 1.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.5323, allocations: 39.89 kB / 0.6647 GB, free: 1.441 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.069e-05/0.5324, allocations: 43.98 kB / 0.6648 GB, free: 1.398 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005594/0.5329, allocations: 443 kB / 0.6652 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5329, allocations: 0 / 0.6652 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009351/0.5339, allocations: 255.9 kB / 0.6654 GB, free: 0.7188 MB / 494.1 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 (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.0007648/0.5346, allocations: 308.4 kB / 0.6657 GB, free: 428 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001184/0.5358, allocations: 0.5518 MB / 0.6663 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.5359, allocations: 4 kB / 0.6663 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000954/0.5368, allocations: 402.3 kB / 0.6666 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001952/0.5388, allocations: 354.8 kB / 0.667 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002462/0.5413, allocations: 1.689 MB / 0.6686 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005428/0.5418, allocations: 0.9339 MB / 0.6695 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004762/0.5423, allocations: 131.4 kB / 0.6697 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of SimCode: time 6.11e-07/0.5423, allocations: 0 / 0.6697 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of Templates: time 0.02283/0.5652, allocations: 16.37 MB / 0.6857 GB, free: 11.98 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins1/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