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.001443/0.001443, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.00165/0.001651, allocations: 194 kB / 18.77 MB, free: 4.742 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.406/1.406, allocations: 222.9 MB / 242.4 MB, free: 15.48 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.2118/0.2118, allocations: 44.17 MB / 336.8 MB, free: 3.008 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 55.53 kB / 408.4 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09847/0.0997, allocations: 60.82 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.3795/0.4792, allocations: 173.4 MB / 0.6275 GB, free: 3.703 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00734/0.4866, allocations: 5.479 MB / 0.6329 GB, free: 14.21 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007444/0.4874, allocations: 23.81 kB / 0.6329 GB, free: 14.19 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009849/0.4884, allocations: 278.5 kB / 0.6332 GB, free: 13.91 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003237/0.4917, allocations: 1.212 MB / 0.6344 GB, free: 12.7 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002501/0.4942, allocations: 0.9545 MB / 0.6353 GB, free: 11.76 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002907/0.4971, allocations: 2.71 MB / 0.6379 GB, free: 9.043 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007773/0.4979, allocations: 405.5 kB / 0.6383 GB, free: 8.645 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002129/0.5001, allocations: 0.9612 MB / 0.6393 GB, free: 7.68 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001503/0.5016, allocations: 0.7705 MB / 0.64 GB, free: 6.906 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001907/0.5018, allocations: 32 kB / 0.6401 GB, free: 6.875 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001319/0.5031, allocations: 0.5382 MB / 0.6406 GB, free: 6.336 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003439/0.5035, allocations: 243.3 kB / 0.6408 GB, free: 6.098 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005834/0.5041, allocations: 366.2 kB / 0.6412 GB, free: 5.738 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.5053, allocations: 0.9628 MB / 0.6421 GB, free: 4.773 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5053, allocations: 0 / 0.6421 GB, free: 4.773 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.5053, allocations: 0 / 0.6421 GB, free: 4.773 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.043e-05/0.5053, allocations: 3.938 kB / 0.6421 GB, free: 4.77 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.002663/0.508, allocations: 1.098 MB / 0.6432 GB, free: 3.617 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.5081, allocations: 15.97 kB / 0.6432 GB, free: 3.602 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009539/0.509, allocations: 139 kB / 0.6433 GB, free: 3.465 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009205/0.5099, allocations: 0.5003 MB / 0.6438 GB, free: 2.926 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.5101, allocations: 96.41 kB / 0.6439 GB, free: 2.816 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.5102, allocations: 55.89 kB / 0.644 GB, free: 2.762 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.5116, allocations: 0.8252 MB / 0.6448 GB, free: 1.863 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.5116, allocations: 0 / 0.6448 GB, free: 1.863 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.353e-05/0.5117, allocations: 27.98 kB / 0.6448 GB, free: 1.836 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.489e-05/0.5117, allocations: 44.84 kB / 0.6448 GB, free: 1.793 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.5128, allocations: 0.6243 MB / 0.6454 GB, free: 1.168 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.00487/0.5177, allocations: 3.961 MB / 0.6493 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005919/0.5183, allocations: 351.6 kB / 0.6497 GB, free: 12.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002942/0.5186, allocations: 176.6 kB / 0.6498 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001224/0.5188, allocations: 89.39 kB / 0.6499 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.5188, allocations: 50.72 kB / 0.65 GB, free: 12.26 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.893e-06/0.5188, allocations: 0 / 0.65 GB, free: 12.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005951/0.5248, allocations: 1.661 MB / 0.6516 GB, free: 10.53 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.989e-05/0.5249, allocations: 140.4 kB / 0.6517 GB, free: 10.36 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007665/0.5257, allocations: 0.6134 MB / 0.6523 GB, free: 9.738 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.833e-05/0.5257, allocations: 29.7 kB / 0.6523 GB, free: 9.703 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002659/0.526, allocations: 370.8 kB / 0.6527 GB, free: 9.336 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.5261, allocations: 146 kB / 0.6528 GB, free: 9.191 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002271/0.5264, allocations: 150.6 kB / 0.653 GB, free: 9.039 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.5265, allocations: 378.8 kB / 0.6533 GB, free: 8.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003709/0.5269, allocations: 197.9 kB / 0.6535 GB, free: 8.465 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005546/0.5275, allocations: 0.5164 MB / 0.654 GB, free: 7.801 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009881/0.5284, allocations: 0.7523 MB / 0.6548 GB, free: 6.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.5285, allocations: 8.438 kB / 0.6548 GB, free: 6.902 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001515/0.53, allocations: 0.884 MB / 0.6556 GB, free: 6.008 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.53, allocations: 8 kB / 0.6556 GB, free: 6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.5301, allocations: 16.09 kB / 0.6557 GB, free: 5.984 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001486/0.5315, allocations: 313.4 kB / 0.656 GB, free: 5.676 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004267/0.532, allocations: 131.8 kB / 0.6561 GB, free: 5.547 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001136/0.5331, allocations: 0.9177 MB / 0.657 GB, free: 4.605 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006154/0.5338, allocations: 56.75 kB / 0.657 GB, free: 4.551 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.932e-05/0.5339, allocations: 64 kB / 0.6571 GB, free: 4.488 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.0003669/0.5342, allocations: 250 kB / 0.6573 GB, free: 4.234 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/0.5344, allocations: 67.25 kB / 0.6574 GB, free: 4.168 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0018/0.5362, allocations: 0.876 MB / 0.6583 GB, free: 3.277 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.363e-06/0.5362, allocations: 4 kB / 0.6583 GB, free: 3.273 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.5363, allocations: 0 / 0.6583 GB, free: 3.273 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.351e-06/0.5363, allocations: 3.984 kB / 0.6583 GB, free: 3.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002128/0.5384, allocations: 1.458 MB / 0.6597 GB, free: 1.676 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.5384, allocations: 0 / 0.6597 GB, free: 1.676 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/0.5395, allocations: 215.7 kB / 0.6599 GB, free: 1.465 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.808e-05/0.5397, allocations: 25.03 kB / 0.6599 GB, free: 1.438 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-05/0.5397, allocations: 23.98 kB / 0.6599 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001942/0.5417, allocations: 2.684 MB / 0.6626 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5417, allocations: 0 / 0.6626 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.543, allocations: 0.8168 MB / 0.6634 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003288/0.5433, allocations: 196.2 kB / 0.6635 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/0.5435, allocations: 12 kB / 0.6636 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005146/0.544, allocations: 19.98 kB / 0.6636 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.5441, allocations: 43.89 kB / 0.6636 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.917e-05/0.5442, allocations: 43.98 kB / 0.6637 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005539/0.5448, allocations: 443 kB / 0.6641 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5448, allocations: 0 / 0.6641 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001001/0.5458, allocations: 255.9 kB / 0.6643 GB, free: 12.61 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.0008347/0.5466, allocations: 286 kB / 0.6646 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001211/0.5479, allocations: 0.5544 MB / 0.6651 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.5479, allocations: 0 / 0.6651 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.5489, allocations: 404.1 kB / 0.6655 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001801/0.5507, allocations: 342.8 kB / 0.6658 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002428/0.5531, allocations: 1.612 MB / 0.6674 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005/0.5537, allocations: 0.9222 MB / 0.6683 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004458/0.5541, allocations: 123.4 kB / 0.6684 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of SimCode: time 6.52e-07/0.5541, allocations: 4 kB / 0.6684 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of Templates: time 0.02247/0.5766, allocations: 16.47 MB / 0.6845 GB, free: 7.895 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