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.001127/0.001127, allocations: 109.4 kB / 18.4 MB, free: 4.703 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.001056/0.001056, allocations: 193.2 kB / 19.33 MB, free: 3.781 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.495/1.495, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001372/0.001372, allocations: 52.39 kB / 329.2 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1023, allocations: 46.62 MB / 375.9 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.2484/0.3507, allocations: 12.86 MB / 388.7 MB, free: 6.203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002362/0.3531, allocations: 1.707 MB / 390.4 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002086/0.3534, allocations: 7.5 kB / 390.4 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000596/0.354, allocations: 166.4 kB / 390.6 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006121/0.3546, allocations: 311.7 kB / 390.9 MB, free: 4.805 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.3557, allocations: 410.3 kB / 391.3 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009863/0.3567, allocations: 0.8241 MB / 392.1 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002208/0.3569, allocations: 110.7 kB / 392.2 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007877/0.3577, allocations: 392.5 kB / 392.6 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003816/0.3581, allocations: 257.5 kB / 392.9 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.506e-05/0.3582, allocations: 27.81 kB / 392.9 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003525/0.3586, allocations: 101.3 kB / 393 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000146/0.3587, allocations: 103.9 kB / 393.1 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002321/0.359, allocations: 185.1 kB / 393.3 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006828/0.3597, allocations: 465.7 kB / 393.7 MB, free: 3.586 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3597, allocations: 0 / 393.7 MB, free: 3.586 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3597, allocations: 5.062 kB / 393.7 MB, free: 3.582 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.3597, allocations: 1.5 kB / 393.7 MB, free: 3.582 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.0008315/0.3605, allocations: 0.5756 MB / 394.3 MB, free: 3.098 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.3606, allocations: 10.59 kB / 394.3 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003225/0.3609, allocations: 46.97 kB / 394.4 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004517/0.3614, allocations: 293.7 kB / 394.7 MB, free: 2.816 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.3614, allocations: 18.5 kB / 394.7 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.804e-05/0.3615, allocations: 25.28 kB / 394.7 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004592/0.3619, allocations: 318.4 kB / 395 MB, free: 2.609 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.3619, allocations: 8.469 kB / 395 MB, free: 2.605 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.439e-05/0.362, allocations: 11.97 kB / 395 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.362, allocations: 10.09 kB / 395 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002991/0.3623, allocations: 193.7 kB / 395.2 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.364, allocations: 1.725 MB / 397 MB, free: 1 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.3642, allocations: 135.8 kB / 397.1 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.952e-05/0.3643, allocations: 68.97 kB / 397.2 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/0.3644, allocations: 171.8 kB / 397.3 MB, free: 0.707 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.3645, allocations: 35.81 kB / 397.4 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.482e-06/0.3645, allocations: 0 / 397.4 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001668/0.3661, allocations: 0.796 MB / 398.2 MB, free: 112 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/0.3662, allocations: 53.94 kB / 398.2 MB, free: 48 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003517/0.3665, allocations: 282.8 kB / 398.5 MB, free: 15.88 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.3666, allocations: 35.8 kB / 398.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.3667, allocations: 195.8 kB / 398.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.743e-05/0.3668, allocations: 75.2 kB / 398.8 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.3669, allocations: 68.95 kB / 398.8 MB, free: 15.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.367, allocations: 337.3 kB / 399.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.3672, allocations: 67.34 kB / 399.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.3674, allocations: 194 kB / 399.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004319/0.3678, allocations: 285.2 kB / 399.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.3679, allocations: 1.812 kB / 399.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005325/0.3684, allocations: 332.1 kB / 400 MB, free: 14.65 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.3684, allocations: 6.734 kB / 400 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.3684, allocations: 4.844 kB / 400 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001016/0.3686, allocations: 31.58 kB / 400.1 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003314/0.3689, allocations: 84.58 kB / 400.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.3703, allocations: 1.398 MB / 401.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/0.3705, allocations: 8.875 kB / 401.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.5e-05/0.3706, allocations: 17.19 kB / 401.6 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.0001824/0.3708, allocations: 157.3 kB / 401.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.872e-05/0.3709, allocations: 30.16 kB / 401.8 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004021/0.3713, allocations: 209.6 kB / 402 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.3713, allocations: 2.812 kB / 402 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.3713, allocations: 3.938 kB / 402 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004197/0.3717, allocations: 483.1 kB / 402.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.373, allocations: 0.7716 MB / 403.2 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.373, allocations: 2.438 kB / 403.2 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.3732, allocations: 46.03 kB / 403.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.3732, allocations: 4.094 kB / 403.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.3732, allocations: 16.03 kB / 403.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.3732, allocations: 4.109 kB / 403.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.3733, allocations: 3.781 kB / 403.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004821/0.3737, allocations: 399.7 kB / 403.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.389e-05/0.3738, allocations: 107.6 kB / 403.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.585e-05/0.3739, allocations: 11.59 kB / 403.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.3741, allocations: 10.83 kB / 403.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.287e-05/0.3742, allocations: 16.98 kB / 403.8 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-05/0.3742, allocations: 21.5 kB / 403.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002248/0.3745, allocations: 206 kB / 404.1 MB, free: 11.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3745, allocations: 1.438 kB / 404.1 MB, free: 11.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005068/0.375, allocations: 99 kB / 404.2 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.0002868/0.3753, allocations: 144.3 kB / 404.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005804/0.3759, allocations: 307.7 kB / 404.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3759, allocations: 0 / 404.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.376, allocations: 75.67 kB / 404.7 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.0009213/0.3769, allocations: 156.5 kB / 404.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.3781, allocations: 0.6497 MB / 405.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.3784, allocations: 0.7579 MB / 406.2 MB, free: 9.703 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.425e-05/0.3785, allocations: 31.98 kB / 406.3 MB, free: 9.695 MB / 334.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3785, allocations: 4 kB / 406.3 MB, free: 9.691 MB / 334.1 MB Notification: Performance of Templates: time 0.009471/0.388, allocations: 5.265 MB / 411.5 MB, free: 7.73 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/jenkins1/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/jenkins1/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