Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001458/0.001458, allocations: 178.1 kB / 17.36 MB, free: 4.195 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.487/1.487, allocations: 205.6 MB / 223.7 MB, free: 8.953 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008566/0.0008563, allocations: 87.14 kB / 272.1 MB, free: 8.145 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002391/0.0002392, allocations: 8 kB / 329 MB, free: 15.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2121, allocations: 47.58 MB / 376.6 MB, free: 45.61 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.009089/0.2212, allocations: 12.59 MB / 389.2 MB, free: 35.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.2228, allocations: 1.851 MB / 391.1 MB, free: 33.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001601/0.223, allocations: 2.188 kB / 391.1 MB, free: 33.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00041/0.2234, allocations: 149.3 kB / 391.2 MB, free: 33.49 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004256/0.2239, allocations: 304.7 kB / 391.5 MB, free: 33.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007843/0.2247, allocations: 385.2 kB / 391.9 MB, free: 32.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000782/0.2255, allocations: 1.291 MB / 393.2 MB, free: 31.69 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.2256, allocations: 68.69 kB / 393.2 MB, free: 31.62 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004015/0.226, allocations: 354.7 kB / 393.6 MB, free: 31.27 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/0.2263, allocations: 270.9 kB / 393.8 MB, free: 31.01 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.551e-05/0.2263, allocations: 15.94 kB / 393.9 MB, free: 30.99 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002088/0.2265, allocations: 107.8 kB / 394 MB, free: 30.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.277e-05/0.2266, allocations: 71.77 kB / 394 MB, free: 30.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.2268, allocations: 193 kB / 394.2 MB, free: 30.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003387/0.2271, allocations: 460.1 kB / 394.7 MB, free: 30.17 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.2271, allocations: 3.984 kB / 394.7 MB, free: 30.17 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2271, allocations: 0 / 394.7 MB, free: 30.17 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.2272, allocations: 4 kB / 394.7 MB, free: 30.16 MB / 298.7 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.0005231/0.2277, allocations: 0.5069 MB / 395.2 MB, free: 29.61 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.2277, allocations: 8.031 kB / 395.2 MB, free: 29.6 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002272/0.228, allocations: 48.5 kB / 395.2 MB, free: 29.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.2282, allocations: 280.2 kB / 395.5 MB, free: 29.24 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.2283, allocations: 20.94 kB / 395.5 MB, free: 29.22 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.892e-05/0.2283, allocations: 24.38 kB / 395.6 MB, free: 29.2 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003734/0.2287, allocations: 321.5 kB / 395.9 MB, free: 28.85 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.2287, allocations: 3.938 kB / 395.9 MB, free: 28.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.04e-05/0.2288, allocations: 12 kB / 395.9 MB, free: 28.83 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.2288, allocations: 12 kB / 395.9 MB, free: 28.82 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002472/0.229, allocations: 193.5 kB / 396.1 MB, free: 28.63 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.2304, allocations: 1.736 MB / 397.8 MB, free: 26.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.2305, allocations: 126.5 kB / 398 MB, free: 26.62 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.264e-05/0.2306, allocations: 68.88 kB / 398 MB, free: 26.55 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001012/0.2307, allocations: 170.2 kB / 398.2 MB, free: 26.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.441e-05/0.2308, allocations: 34.56 kB / 398.2 MB, free: 26.3 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.2308, allocations: 0 / 398.2 MB, free: 26.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.001387/0.2322, allocations: 0.797 MB / 399 MB, free: 25.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.828e-05/0.2322, allocations: 59.41 kB / 399.1 MB, free: 25.36 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.2324, allocations: 282.5 kB / 399.4 MB, free: 25.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.2324, allocations: 29.7 kB / 399.4 MB, free: 25.04 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.753e-05/0.2325, allocations: 191.6 kB / 399.6 MB, free: 24.85 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.2325, allocations: 78.86 kB / 399.6 MB, free: 24.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/0.2326, allocations: 8 kB / 399.7 MB, free: 24.76 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.863e-05/0.2326, allocations: 338.8 kB / 400 MB, free: 24.42 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.487e-05/0.2327, allocations: 71.75 kB / 400.1 MB, free: 24.35 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.2328, allocations: 191.1 kB / 400.2 MB, free: 24.11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.2331, allocations: 277.9 kB / 400.5 MB, free: 23.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2331, allocations: 0 / 400.5 MB, free: 23.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003681/0.2335, allocations: 329.8 kB / 400.8 MB, free: 23.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.2335, allocations: 8 kB / 400.8 MB, free: 23.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.2335, allocations: 11.92 kB / 400.9 MB, free: 23.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.079e-05/0.2336, allocations: 20.86 kB / 400.9 MB, free: 23.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002673/0.2339, allocations: 83.89 kB / 401 MB, free: 23.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006254/0.2345, allocations: 1.304 MB / 402.3 MB, free: 21.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.2347, allocations: 16.16 kB / 402.3 MB, free: 21.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.2347, allocations: 20 kB / 402.3 MB, free: 21.86 MB / 298.7 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.000113/0.2348, allocations: 164.2 kB / 402.5 MB, free: 21.69 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.328e-05/0.2349, allocations: 27.72 kB / 402.5 MB, free: 21.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002624/0.2351, allocations: 198 kB / 402.7 MB, free: 21.46 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.2352, allocations: 4 kB / 402.7 MB, free: 21.46 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.2352, allocations: 7.938 kB / 402.7 MB, free: 21.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002308/0.2354, allocations: 487.7 kB / 403.2 MB, free: 20.89 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007953/0.2362, allocations: 0.7799 MB / 403.9 MB, free: 20 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.2362, allocations: 4 kB / 403.9 MB, free: 20 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.2364, allocations: 43.92 kB / 404 MB, free: 19.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.2364, allocations: 4 kB / 404 MB, free: 19.95 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.2364, allocations: 7.984 kB / 404 MB, free: 19.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.2364, allocations: 4 kB / 404 MB, free: 19.94 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.2364, allocations: 7.938 kB / 404 MB, free: 19.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003141/0.2368, allocations: 406.2 kB / 404.4 MB, free: 19.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.103e-05/0.2368, allocations: 108.8 kB / 404.5 MB, free: 19.37 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.453e-05/0.2369, allocations: 8 kB / 404.5 MB, free: 19.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.2371, allocations: 15.92 kB / 404.5 MB, free: 19.35 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/0.2371, allocations: 23.98 kB / 404.6 MB, free: 19.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-05/0.2371, allocations: 19.98 kB / 404.6 MB, free: 19.3 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001379/0.2373, allocations: 194 kB / 404.8 MB, free: 19.12 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2373, allocations: 0 / 404.8 MB, free: 19.12 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003597/0.2377, allocations: 99.94 kB / 404.9 MB, free: 19.02 MB / 298.7 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.0002451/0.2379, allocations: 152.4 kB / 405 MB, free: 18.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003828/0.2383, allocations: 298.3 kB / 405.3 MB, free: 18.56 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2383, allocations: 0 / 405.3 MB, free: 18.56 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.824e-05/0.2384, allocations: 76.97 kB / 405.4 MB, free: 18.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008517/0.2393, allocations: 157.1 kB / 405.5 MB, free: 18.33 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008184/0.2401, allocations: 0.7763 MB / 406.3 MB, free: 17.49 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000171/0.2403, allocations: 0.7563 MB / 407.1 MB, free: 16.71 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002299/0.2405, allocations: 63.19 kB / 407.1 MB, free: 16.65 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.216e-05/0.2406, allocations: 27.44 kB / 407.2 MB, free: 16.62 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2406, allocations: 0 / 407.2 MB, free: 16.62 MB / 298.7 MB Notification: Performance of Templates: time 0.008244/0.2489, allocations: 5.318 MB / 412.5 MB, free: 11.36 MB / 298.7 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","../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