Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001571/0.001571, allocations: 102.6 kB / 16.94 MB, free: 6.184 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.001811/0.001811, allocations: 191.6 kB / 17.86 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.769/1.769, allocations: 205.1 MB / 223.7 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2011/0.2011, allocations: 43.52 MB / 314.6 MB, free: 0.5234 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 65.25 kB / 383.4 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08352/0.0851, allocations: 57.79 MB / 441.2 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.3658/0.4509, allocations: 180.6 MB / 0.6072 GB, free: 8.023 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006591/0.4575, allocations: 5.739 MB / 0.6128 GB, free: 5.387 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004668/0.458, allocations: 21 kB / 0.6128 GB, free: 5.379 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008489/0.4589, allocations: 320 kB / 0.6131 GB, free: 5.105 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003738/0.4627, allocations: 1.565 MB / 0.6146 GB, free: 3.949 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002884/0.4656, allocations: 1.245 MB / 0.6159 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001817/0.4674, allocations: 1.85 MB / 0.6177 GB, free: 2.023 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005757/0.468, allocations: 469.1 kB / 0.6181 GB, free: 1.719 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00227/0.4703, allocations: 1.221 MB / 0.6193 GB, free: 1 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.4714, allocations: 0.7498 MB / 0.62 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.4715, allocations: 62.69 kB / 0.6201 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/0.473, allocations: 0.7377 MB / 0.6208 GB, free: 232 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002429/0.4732, allocations: 265.7 kB / 0.6211 GB, free: 48 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000388/0.4736, allocations: 395.2 kB / 0.6215 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001582/0.4752, allocations: 1.411 MB / 0.6228 GB, free: 14.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4752, allocations: 4 kB / 0.6228 GB, free: 14.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4752, allocations: 0 / 0.6228 GB, free: 14.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.4752, allocations: 0 / 0.6228 GB, free: 14.82 MB / 446.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.002131/0.4774, allocations: 1.133 MB / 0.6239 GB, free: 13.63 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.4774, allocations: 19.97 kB / 0.624 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008205/0.4783, allocations: 127.1 kB / 0.6241 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007197/0.479, allocations: 0.5119 MB / 0.6246 GB, free: 12.94 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.936e-05/0.4791, allocations: 100.4 kB / 0.6247 GB, free: 12.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-05/0.4792, allocations: 44 kB / 0.6247 GB, free: 12.78 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.4804, allocations: 0.8324 MB / 0.6255 GB, free: 11.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.4804, allocations: 0 / 0.6255 GB, free: 11.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.513e-05/0.4805, allocations: 23.98 kB / 0.6256 GB, free: 11.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.446e-05/0.4805, allocations: 40.92 kB / 0.6256 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.4815, allocations: 0.6243 MB / 0.6262 GB, free: 11.2 MB / 446.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.004206/0.4858, allocations: 3.989 MB / 0.6301 GB, free: 6.953 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005576/0.4863, allocations: 351.1 kB / 0.6304 GB, free: 6.605 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002703/0.4866, allocations: 185.2 kB / 0.6306 GB, free: 6.422 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003864/0.487, allocations: 357.5 kB / 0.631 GB, free: 6.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.4871, allocations: 38.84 kB / 0.631 GB, free: 5.973 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 1.493e-06/0.4871, allocations: 0 / 0.631 GB, free: 5.973 MB / 446.1 MB Notification: Performance of matching and sorting (n=39): time 0.005667/0.4927, allocations: 1.673 MB / 0.6326 GB, free: 4.227 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.485e-05/0.4928, allocations: 132.5 kB / 0.6327 GB, free: 4.066 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000657/0.4935, allocations: 0.6094 MB / 0.6333 GB, free: 3.449 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.708e-05/0.4935, allocations: 33.7 kB / 0.6334 GB, free: 3.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002401/0.4938, allocations: 366.9 kB / 0.6337 GB, free: 3.047 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.4939, allocations: 153.9 kB / 0.6339 GB, free: 2.895 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002002/0.4941, allocations: 154.5 kB / 0.634 GB, free: 2.738 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.4943, allocations: 374.8 kB / 0.6344 GB, free: 2.363 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003511/0.4946, allocations: 197.9 kB / 0.6346 GB, free: 2.168 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005388/0.4952, allocations: 0.5125 MB / 0.6351 GB, free: 1.508 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009181/0.4961, allocations: 0.7526 MB / 0.6358 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.4961, allocations: 4 kB / 0.6358 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001394/0.4975, allocations: 0.8758 MB / 0.6367 GB, free: 15.73 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.4975, allocations: 12 kB / 0.6367 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.4976, allocations: 8 kB / 0.6367 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001382/0.499, allocations: 328.3 kB / 0.637 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/0.4993, allocations: 123.7 kB / 0.6371 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001065/0.5004, allocations: 0.9269 MB / 0.638 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005055/0.5009, allocations: 32.05 kB / 0.638 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.412e-05/0.501, allocations: 68 kB / 0.6381 GB, free: 14.21 MB / 462.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.0003702/0.5014, allocations: 249.4 kB / 0.6383 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.5016, allocations: 67.25 kB / 0.6384 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001582/0.5032, allocations: 0.686 MB / 0.6391 GB, free: 13.19 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.5032, allocations: 4 kB / 0.6391 GB, free: 13.19 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.5032, allocations: 0 / 0.6391 GB, free: 13.19 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.5032, allocations: 7.969 kB / 0.6391 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002142/0.5054, allocations: 1.607 MB / 0.6407 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.5054, allocations: 4 kB / 0.6407 GB, free: 11.42 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/0.5064, allocations: 203.8 kB / 0.6409 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.244e-05/0.5065, allocations: 24.97 kB / 0.6409 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.681e-05/0.5066, allocations: 19.98 kB / 0.6409 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001939/0.5085, allocations: 2.881 MB / 0.6437 GB, free: 8.016 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.5085, allocations: 4.031 kB / 0.6437 GB, free: 8.012 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.5097, allocations: 0.8032 MB / 0.6445 GB, free: 7.176 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002504/0.5099, allocations: 192.2 kB / 0.6447 GB, free: 6.969 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.947e-05/0.51, allocations: 12 kB / 0.6447 GB, free: 6.957 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003951/0.5104, allocations: 15.98 kB / 0.6447 GB, free: 6.941 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.524e-05/0.5105, allocations: 47.89 kB / 0.6448 GB, free: 6.895 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.443e-05/0.5106, allocations: 39.98 kB / 0.6448 GB, free: 6.855 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004756/0.5111, allocations: 439 kB / 0.6452 GB, free: 6.43 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5111, allocations: 0 / 0.6452 GB, free: 6.43 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009067/0.512, allocations: 296 kB / 0.6455 GB, free: 6.141 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.0008194/0.5128, allocations: 377.5 kB / 0.6459 GB, free: 5.77 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.514, allocations: 0.5988 MB / 0.6464 GB, free: 5.172 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.514, allocations: 0 / 0.6464 GB, free: 5.172 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009456/0.515, allocations: 406.2 kB / 0.6468 GB, free: 4.762 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/0.5166, allocations: 371.8 kB / 0.6472 GB, free: 4.406 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002007/0.5187, allocations: 1.354 MB / 0.6485 GB, free: 3.004 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004464/0.5191, allocations: 0.9261 MB / 0.6494 GB, free: 2.051 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003698/0.5195, allocations: 111.4 kB / 0.6495 GB, free: 1.941 MB / 462.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5195, allocations: 0 / 0.6495 GB, free: 1.941 MB / 462.1 MB Notification: Performance of Templates: time 0.01994/0.5394, allocations: 17.02 MB / 0.6661 GB, free: 0.9297 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches