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.001751/0.001758, allocations: 101.6 kB / 16.4 MB, free: 6.469 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.002093/0.002093, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.624/1.624, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2296/0.2296, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 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.00157/0.00157, allocations: 63.91 kB / 441.8 MB, free: 5.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1266, allocations: 57.79 MB / 499.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.4342/0.5608, allocations: 180.6 MB / 0.6642 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008007/0.5689, allocations: 5.74 MB / 0.6698 GB, free: 156 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007515/0.5697, allocations: 23.81 kB / 0.6699 GB, free: 132 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009917/0.5708, allocations: 318.1 kB / 0.6702 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004175/0.575, allocations: 1.587 MB / 0.6717 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003497/0.5785, allocations: 1.235 MB / 0.6729 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002496/0.581, allocations: 1.841 MB / 0.6747 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007052/0.5817, allocations: 452.5 kB / 0.6752 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003571/0.5853, allocations: 1.234 MB / 0.6764 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001593/0.5869, allocations: 0.7549 MB / 0.6771 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001439/0.587, allocations: 64 kB / 0.6772 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002398/0.5894, allocations: 0.8347 MB / 0.678 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000303/0.5898, allocations: 255.3 kB / 0.6782 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005/0.5903, allocations: 402.2 kB / 0.6786 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002335/0.5926, allocations: 1.429 MB / 0.68 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.5926, allocations: 0 / 0.68 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.853e-06/0.5926, allocations: 4 kB / 0.68 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.354e-05/0.5927, allocations: 0 / 0.68 GB, free: 5.73 MB / 0.5137 GB 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.002412/0.5951, allocations: 1.152 MB / 0.6811 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.5951, allocations: 8.031 kB / 0.6811 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007907/0.5959, allocations: 139.5 kB / 0.6813 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008405/0.5968, allocations: 0.5474 MB / 0.6818 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.5969, allocations: 96.41 kB / 0.6819 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-05/0.597, allocations: 55.91 kB / 0.6819 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.5983, allocations: 0.8135 MB / 0.6827 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.5983, allocations: 0 / 0.6827 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.005e-05/0.5984, allocations: 24 kB / 0.6828 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.9e-05/0.5985, allocations: 40.92 kB / 0.6828 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.5996, allocations: 0.6243 MB / 0.6834 GB, free: 2.059 MB / 0.5137 GB 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.004578/0.6042, allocations: 3.975 MB / 0.6873 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006169/0.6048, allocations: 355.7 kB / 0.6876 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002878/0.6051, allocations: 173.2 kB / 0.6878 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005012/0.6056, allocations: 366 kB / 0.6882 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.272e-05/0.6057, allocations: 38.84 kB / 0.6882 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 2.255e-06/0.6057, allocations: 0 / 0.6882 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.005601/0.6113, allocations: 1.677 MB / 0.6898 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.2e-05/0.6114, allocations: 136.5 kB / 0.69 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007185/0.6121, allocations: 0.6094 MB / 0.6906 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.313e-05/0.6122, allocations: 41.69 kB / 0.6906 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002405/0.6124, allocations: 367.9 kB / 0.6909 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.6125, allocations: 150.8 kB / 0.6911 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002084/0.6127, allocations: 154.6 kB / 0.6912 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.6129, allocations: 374.8 kB / 0.6916 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003455/0.6132, allocations: 205.9 kB / 0.6918 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000543/0.6138, allocations: 0.5125 MB / 0.6923 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009428/0.6147, allocations: 0.7523 MB / 0.693 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.6148, allocations: 4 kB / 0.693 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00138/0.6161, allocations: 0.8802 MB / 0.6939 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.6162, allocations: 8 kB / 0.6939 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.6162, allocations: 12 kB / 0.6939 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001319/0.6175, allocations: 317.1 kB / 0.6942 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000384/0.6179, allocations: 131.8 kB / 0.6943 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00108/0.619, allocations: 0.927 MB / 0.6952 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000448/0.6195, allocations: 32.67 kB / 0.6953 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.287e-05/0.6196, allocations: 63.98 kB / 0.6953 GB, free: 5.078 MB / 0.5294 GB 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.0003373/0.6199, allocations: 253.5 kB / 0.6956 GB, free: 4.82 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.62, allocations: 67.58 kB / 0.6956 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001366/0.6214, allocations: 0.68 MB / 0.6963 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.6214, allocations: 8 kB / 0.6963 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.6214, allocations: 0 / 0.6963 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.6215, allocations: 3.984 kB / 0.6963 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00217/0.6236, allocations: 1.61 MB / 0.6979 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.6237, allocations: 4.125 kB / 0.6979 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/0.6247, allocations: 211.8 kB / 0.6981 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.823e-05/0.6248, allocations: 24.84 kB / 0.6981 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-05/0.6249, allocations: 12 kB / 0.6981 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002096/0.627, allocations: 2.885 MB / 0.7009 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.627, allocations: 160 / 0.7009 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.6283, allocations: 0.8171 MB / 0.7017 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002706/0.6286, allocations: 196.6 kB / 0.7019 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.924e-05/0.6287, allocations: 11.94 kB / 0.7019 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003799/0.6291, allocations: 24.05 kB / 0.702 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.662e-05/0.6291, allocations: 39.89 kB / 0.702 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.286e-05/0.6292, allocations: 39.98 kB / 0.702 GB, free: 13.69 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005339/0.6298, allocations: 439 kB / 0.7025 GB, free: 13.27 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6298, allocations: 3.938 kB / 0.7025 GB, free: 13.27 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00102/0.6308, allocations: 295.7 kB / 0.7027 GB, free: 12.98 MB / 0.545 GB 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.0008878/0.6317, allocations: 370.8 kB / 0.7031 GB, free: 12.61 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00111/0.6328, allocations: 0.5503 MB / 0.7036 GB, free: 12.06 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.6328, allocations: 0 / 0.7036 GB, free: 12.06 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009769/0.6338, allocations: 423.4 kB / 0.704 GB, free: 11.64 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001602/0.6354, allocations: 370.5 kB / 0.7044 GB, free: 11.28 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.6375, allocations: 1.32 MB / 0.7057 GB, free: 9.914 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005378/0.6381, allocations: 0.93 MB / 0.7066 GB, free: 8.957 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007966/0.6389, allocations: 265.9 kB / 0.7068 GB, free: 8.695 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002626/0.6391, allocations: 99.41 kB / 0.7069 GB, free: 8.598 MB / 0.545 GB Notification: Performance of SimCode: time 5.71e-07/0.6391, allocations: 0 / 0.7069 GB, free: 8.598 MB / 0.545 GB Notification: Performance of Templates: time 0.03089/0.67, allocations: 18.5 MB / 0.725 GB, free: 6.125 MB / 0.5606 GB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins/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