Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 114.5 kB / 17.73 MB, free: 5.336 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.001785/0.001785, allocations: 187 kB / 18.67 MB, free: 4.406 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.542/1.542, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.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.001407/0.001407, allocations: 52.39 kB / 328.6 MB, free: 3.254 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08639/0.08781, allocations: 46.62 MB / 375.2 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.2024/0.2902, allocations: 12.85 MB / 388 MB, free: 6.227 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002019/0.2923, allocations: 1.701 MB / 389.7 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.2924, allocations: 8.375 kB / 389.8 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004991/0.293, allocations: 165.4 kB / 389.9 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005117/0.2935, allocations: 312.2 kB / 390.2 MB, free: 4.801 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009384/0.2945, allocations: 419.1 kB / 390.6 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008667/0.2954, allocations: 0.8206 MB / 391.5 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001963/0.2956, allocations: 98.59 kB / 391.5 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000591/0.2962, allocations: 400.5 kB / 391.9 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003322/0.2965, allocations: 254 kB / 392.2 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.818e-05/0.2966, allocations: 28.78 kB / 392.2 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002641/0.2968, allocations: 104 kB / 392.3 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.297, allocations: 99.23 kB / 392.4 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001765/0.2972, allocations: 185 kB / 392.6 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005297/0.2977, allocations: 470.4 kB / 393.1 MB, free: 3.578 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2977, allocations: 3.031 kB / 393.1 MB, free: 3.578 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2977, allocations: 0 / 393.1 MB, free: 3.578 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.2977, allocations: 0 / 393.1 MB, free: 3.578 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006782/0.2984, allocations: 0.5766 MB / 393.6 MB, free: 3.094 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.2984, allocations: 9.25 kB / 393.6 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002827/0.2987, allocations: 43.12 kB / 393.7 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003534/0.2991, allocations: 297.9 kB / 394 MB, free: 2.812 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.2991, allocations: 18.69 kB / 394 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.064e-05/0.2992, allocations: 24.91 kB / 394 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004569/0.2996, allocations: 319.2 kB / 394.3 MB, free: 2.605 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.2997, allocations: 5.031 kB / 394.3 MB, free: 2.602 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.874e-05/0.2997, allocations: 16.47 kB / 394.4 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.2997, allocations: 6.844 kB / 394.4 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002903/0.3, allocations: 196.3 kB / 394.6 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/0.3015, allocations: 1.727 MB / 396.3 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.3018, allocations: 135.1 kB / 396.4 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.332e-05/0.3019, allocations: 65.03 kB / 396.5 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001036/0.302, allocations: 174.6 kB / 396.6 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.302, allocations: 37.17 kB / 396.7 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.442e-06/0.302, allocations: 1.625 kB / 396.7 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001625/0.3036, allocations: 0.7922 MB / 397.5 MB, free: 112 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.104e-05/0.3037, allocations: 52.75 kB / 397.5 MB, free: 48 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003144/0.304, allocations: 282.2 kB / 397.8 MB, free: 15.88 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.727e-05/0.304, allocations: 32.36 kB / 397.8 MB, free: 15.85 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.3042, allocations: 204.8 kB / 398 MB, free: 15.67 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.489e-05/0.3042, allocations: 74.02 kB / 398.1 MB, free: 15.61 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.771e-05/0.3043, allocations: 68.86 kB / 398.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.3045, allocations: 336.8 kB / 398.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.3046, allocations: 69.17 kB / 398.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.3048, allocations: 193.2 kB / 398.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003619/0.3052, allocations: 285.7 kB / 399 MB, free: 14.8 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.3052, allocations: 1.906 kB / 399 MB, free: 14.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005239/0.3057, allocations: 328.6 kB / 399.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.3058, allocations: 6.656 kB / 399.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.3058, allocations: 4.969 kB / 399.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.91e-05/0.3059, allocations: 29.34 kB / 399.4 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003314/0.3062, allocations: 85.95 kB / 399.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001102/0.3073, allocations: 1.401 MB / 400.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.3075, allocations: 13.41 kB / 400.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/0.3076, allocations: 13.45 kB / 400.9 MB, free: 13.19 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001721/0.3077, allocations: 159.8 kB / 401.1 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.646e-05/0.3078, allocations: 26.38 kB / 401.1 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003826/0.3082, allocations: 206 kB / 401.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3082, allocations: 6.594 kB / 401.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.3082, allocations: 5.219 kB / 401.3 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000383/0.3086, allocations: 483.2 kB / 401.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/0.3098, allocations: 0.7727 MB / 402.5 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/0.3098, allocations: 2.25 kB / 402.6 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.31, allocations: 44.31 kB / 402.6 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.31, allocations: 4.25 kB / 402.6 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.3101, allocations: 15.22 kB / 402.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.341e-06/0.3101, allocations: 4.078 kB / 402.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3101, allocations: 1.469 kB / 402.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000505/0.3106, allocations: 402.3 kB / 403 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.904e-05/0.3107, allocations: 109 kB / 403.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.391e-05/0.3107, allocations: 7.922 kB / 403.1 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/0.311, allocations: 9.609 kB / 403.1 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.311, allocations: 21.58 kB / 403.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.087e-05/0.3111, allocations: 17.75 kB / 403.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002748/0.3114, allocations: 206.9 kB / 403.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3114, allocations: 0 / 403.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004798/0.3119, allocations: 99.95 kB / 403.5 MB, free: 11.22 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002647/0.3121, allocations: 143.1 kB / 403.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005651/0.3127, allocations: 308.9 kB / 403.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3127, allocations: 0 / 403.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.3128, allocations: 71.5 kB / 404 MB, free: 10.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009865/0.3138, allocations: 166.1 kB / 404.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.315, allocations: 0.6177 MB / 404.8 MB, free: 10.44 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004549/0.3155, allocations: 0.7583 MB / 405.5 MB, free: 9.734 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002806/0.3158, allocations: 62.12 kB / 405.6 MB, free: 9.715 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.622e-05/0.3159, allocations: 33.88 kB / 405.6 MB, free: 9.703 MB / 334.1 MB Notification: Performance of SimCode: time 2.244e-06/0.3159, allocations: 0 / 405.6 MB, free: 9.703 MB / 334.1 MB Notification: Performance of Templates: time 0.01273/0.3286, allocations: 5.647 MB / 411.3 MB, free: 7.629 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches