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.001534/0.001534, allocations: 106.2 kB / 16.64 MB, free: 6.82 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.001768/0.001768, allocations: 194.5 kB / 17.56 MB, free: 5.945 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.463/1.463, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.2001/0.2001, allocations: 43.51 MB / 314.3 MB, free: 0.7188 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.00138/0.00138, allocations: 69.53 kB / 382.9 MB, free: 56.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08831/0.0897, allocations: 57.79 MB / 440.7 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.3794/0.4692, allocations: 178.8 MB / 0.6049 GB, free: 8.215 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006733/0.4759, allocations: 5.817 MB / 0.6106 GB, free: 6.199 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007675/0.4767, allocations: 24.5 kB / 0.6106 GB, free: 6.188 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008776/0.4777, allocations: 280.3 kB / 0.6109 GB, free: 5.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003719/0.4814, allocations: 1.443 MB / 0.6123 GB, free: 5.191 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002817/0.4842, allocations: 1.157 MB / 0.6134 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001991/0.4862, allocations: 1.858 MB / 0.6153 GB, free: 3.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006025/0.4868, allocations: 458.9 kB / 0.6157 GB, free: 3.301 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00246/0.4893, allocations: 1.209 MB / 0.6169 GB, free: 2.715 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001151/0.4905, allocations: 0.7834 MB / 0.6176 GB, free: 2.352 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.4906, allocations: 60.31 kB / 0.6177 GB, free: 2.352 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001528/0.4921, allocations: 0.7477 MB / 0.6184 GB, free: 2.031 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002586/0.4924, allocations: 270 kB / 0.6187 GB, free: 1.855 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004/0.4928, allocations: 404.5 kB / 0.6191 GB, free: 1.613 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.494, allocations: 1.042 MB / 0.6201 GB, free: 1.012 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.494, allocations: 0 / 0.6201 GB, free: 1.012 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.494, allocations: 4 kB / 0.6201 GB, free: 1.008 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.494, allocations: 0 / 0.6201 GB, free: 1.008 MB / 430.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.002065/0.4961, allocations: 1.138 MB / 0.6212 GB, free: 152 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.4961, allocations: 10.06 kB / 0.6212 GB, free: 152 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000785/0.4969, allocations: 135 kB / 0.6213 GB, free: 84 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007142/0.4977, allocations: 0.5046 MB / 0.6218 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.4978, allocations: 100.4 kB / 0.6219 GB, free: 15.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.531e-05/0.4979, allocations: 50.58 kB / 0.622 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.499, allocations: 0.8148 MB / 0.6228 GB, free: 14.51 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.4991, allocations: 15.86 kB / 0.6228 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.32e-05/0.4992, allocations: 24 kB / 0.6228 GB, free: 14.47 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.908e-05/0.4992, allocations: 36.98 kB / 0.6228 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009684/0.5002, allocations: 0.6243 MB / 0.6235 GB, free: 13.81 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.00423/0.5044, allocations: 3.977 MB / 0.6273 GB, free: 9.605 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005432/0.505, allocations: 351.6 kB / 0.6277 GB, free: 9.254 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002627/0.5053, allocations: 174.5 kB / 0.6278 GB, free: 9.082 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004109/0.5057, allocations: 364.4 kB / 0.6282 GB, free: 8.676 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.5057, allocations: 38.84 kB / 0.6282 GB, free: 8.629 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 1.783e-06/0.5057, allocations: 0 / 0.6282 GB, free: 8.629 MB / 446.1 MB Notification: Performance of matching and sorting (n=39): time 0.005441/0.5112, allocations: 1.668 MB / 0.6299 GB, free: 6.891 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.44e-05/0.5113, allocations: 136.5 kB / 0.63 GB, free: 6.727 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006686/0.5119, allocations: 0.6094 MB / 0.6306 GB, free: 6.109 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.03e-05/0.512, allocations: 37.7 kB / 0.6306 GB, free: 6.066 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002317/0.5122, allocations: 365.5 kB / 0.631 GB, free: 5.707 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.5123, allocations: 143.2 kB / 0.6311 GB, free: 5.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/0.5126, allocations: 154.5 kB / 0.6312 GB, free: 5.414 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.5127, allocations: 382.7 kB / 0.6316 GB, free: 5.031 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003352/0.5131, allocations: 201.9 kB / 0.6318 GB, free: 4.832 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005176/0.5136, allocations: 0.5164 MB / 0.6323 GB, free: 4.172 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008721/0.5145, allocations: 0.7369 MB / 0.633 GB, free: 3.297 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.5145, allocations: 7.938 kB / 0.633 GB, free: 3.289 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001344/0.5158, allocations: 0.8873 MB / 0.6339 GB, free: 2.391 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.5159, allocations: 8 kB / 0.6339 GB, free: 2.383 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.5159, allocations: 8 kB / 0.6339 GB, free: 2.375 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001354/0.5172, allocations: 329 kB / 0.6342 GB, free: 2.051 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003626/0.5176, allocations: 115.8 kB / 0.6343 GB, free: 1.938 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/0.5186, allocations: 0.9348 MB / 0.6353 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005515/0.5192, allocations: 43.98 kB / 0.6353 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-05/0.5193, allocations: 67.98 kB / 0.6354 GB, free: 0.8672 MB / 446.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.0003476/0.5197, allocations: 254.3 kB / 0.6356 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.5198, allocations: 67.16 kB / 0.6357 GB, free: 0.543 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001459/0.5212, allocations: 0.6824 MB / 0.6363 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.5213, allocations: 7.984 kB / 0.6363 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.5213, allocations: 4 kB / 0.6363 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.5213, allocations: 3.984 kB / 0.6363 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002102/0.5234, allocations: 1.608 MB / 0.6379 GB, free: 14.08 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.5234, allocations: 0 / 0.6379 GB, free: 14.08 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/0.5244, allocations: 211.9 kB / 0.6381 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.16e-05/0.5246, allocations: 24.84 kB / 0.6381 GB, free: 13.85 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.192e-05/0.5246, allocations: 27.92 kB / 0.6382 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001901/0.5265, allocations: 2.869 MB / 0.641 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.5265, allocations: 8.047 kB / 0.641 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.5277, allocations: 0.8031 MB / 0.6418 GB, free: 9.828 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000287/0.528, allocations: 184.4 kB / 0.6419 GB, free: 9.629 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.936e-05/0.5281, allocations: 20 kB / 0.642 GB, free: 9.609 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004268/0.5285, allocations: 27.89 kB / 0.642 GB, free: 9.582 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.925e-05/0.5286, allocations: 39.89 kB / 0.642 GB, free: 9.543 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-05/0.5287, allocations: 39.98 kB / 0.6421 GB, free: 9.504 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004879/0.5292, allocations: 447 kB / 0.6425 GB, free: 9.07 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5292, allocations: 0 / 0.6425 GB, free: 9.07 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009648/0.5302, allocations: 299.9 kB / 0.6428 GB, free: 8.777 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.0008909/0.5311, allocations: 368.2 kB / 0.6431 GB, free: 8.434 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001254/0.5323, allocations: 0.6018 MB / 0.6437 GB, free: 7.832 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5324, allocations: 0.625 kB / 0.6437 GB, free: 7.832 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009111/0.5333, allocations: 406.2 kB / 0.6441 GB, free: 7.422 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001596/0.5349, allocations: 371.7 kB / 0.6445 GB, free: 7.07 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/0.5371, allocations: 1.57 MB / 0.646 GB, free: 5.457 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005155/0.5376, allocations: 0.9299 MB / 0.6469 GB, free: 4.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003785/0.538, allocations: 115.4 kB / 0.647 GB, free: 4.387 MB / 462.1 MB Notification: Performance of SimCode: time 3.81e-07/0.538, allocations: 0 / 0.647 GB, free: 4.387 MB / 462.1 MB Notification: Performance of Templates: time 0.02178/0.5598, allocations: 17.02 MB / 0.6636 GB, free: 3.383 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","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches