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/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001231/0.001231, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.184/1.184, allocations: 205.1 MB / 223.7 MB, free: 8.488 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 103.9 kB / 271.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007702/0.0007704, allocations: 43.92 kB / 327.2 MB, free: 300 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1827, allocations: 46.61 MB / 373.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.009474/0.1923, allocations: 12.83 MB / 386.7 MB, free: 35.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.1938, allocations: 1.705 MB / 388.4 MB, free: 34.13 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.194, allocations: 2.969 kB / 388.4 MB, free: 34.13 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003692/0.1944, allocations: 141.2 kB / 388.5 MB, free: 34.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000377/0.1948, allocations: 305.8 kB / 388.8 MB, free: 33.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007003/0.1955, allocations: 390.6 kB / 389.2 MB, free: 33.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008827/0.1964, allocations: 1.283 MB / 390.5 MB, free: 32.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.1965, allocations: 76.69 kB / 390.5 MB, free: 32.75 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003952/0.1969, allocations: 354.7 kB / 390.9 MB, free: 32.4 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.1972, allocations: 278.8 kB / 391.2 MB, free: 32.12 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.1972, allocations: 12 kB / 391.2 MB, free: 32.11 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002019/0.1974, allocations: 115.8 kB / 391.3 MB, free: 32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.326e-05/0.1975, allocations: 79.78 kB / 391.4 MB, free: 31.92 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.1976, allocations: 175.2 kB / 391.5 MB, free: 31.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003124/0.198, allocations: 464.2 kB / 392 MB, free: 31.3 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.198, allocations: 0 / 392 MB, free: 31.3 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.198, allocations: 4 kB / 392 MB, free: 31.29 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.198, allocations: 0 / 392 MB, free: 31.29 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.0005602/0.1985, allocations: 0.577 MB / 392.6 MB, free: 30.67 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.696e-05/0.1986, allocations: 8.031 kB / 392.6 MB, free: 30.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002218/0.1988, allocations: 44.66 kB / 392.6 MB, free: 30.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.199, allocations: 287.6 kB / 392.9 MB, free: 30.3 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.1991, allocations: 20.94 kB / 392.9 MB, free: 30.28 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.1991, allocations: 24.38 kB / 393 MB, free: 30.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003253/0.1994, allocations: 321.5 kB / 393.3 MB, free: 29.9 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.1995, allocations: 4 kB / 393.3 MB, free: 29.9 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.573e-05/0.1995, allocations: 12 kB / 393.3 MB, free: 29.89 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.1995, allocations: 4 kB / 393.3 MB, free: 29.88 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002272/0.1997, allocations: 201.5 kB / 393.5 MB, free: 29.69 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.2009, allocations: 1.732 MB / 395.2 MB, free: 27.81 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.2011, allocations: 130.5 kB / 395.3 MB, free: 27.67 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.428e-05/0.2012, allocations: 68.88 kB / 395.4 MB, free: 27.6 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.948e-05/0.2013, allocations: 174.2 kB / 395.6 MB, free: 27.39 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.549e-05/0.2013, allocations: 38.56 kB / 395.6 MB, free: 27.35 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.2013, allocations: 0 / 395.6 MB, free: 27.35 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.001289/0.2026, allocations: 0.7916 MB / 396.4 MB, free: 26.48 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.681e-05/0.2026, allocations: 59.41 kB / 396.5 MB, free: 26.41 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.2028, allocations: 278.5 kB / 396.7 MB, free: 26.13 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.2028, allocations: 33.69 kB / 396.8 MB, free: 26.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.08e-05/0.2029, allocations: 195.5 kB / 397 MB, free: 25.9 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.2029, allocations: 74.95 kB / 397 MB, free: 25.82 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.159e-05/0.203, allocations: 77.38 kB / 397.1 MB, free: 25.74 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.071e-05/0.2031, allocations: 334.8 kB / 397.4 MB, free: 25.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.921e-05/0.2032, allocations: 63.97 kB / 397.5 MB, free: 25.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.2033, allocations: 195.1 kB / 397.7 MB, free: 25.1 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.2035, allocations: 275.2 kB / 398 MB, free: 24.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2035, allocations: 4 kB / 398 MB, free: 24.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003415/0.2039, allocations: 341.7 kB / 398.3 MB, free: 24.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.2039, allocations: 4 kB / 398.3 MB, free: 24.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.2039, allocations: 4 kB / 398.3 MB, free: 24.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.473e-05/0.204, allocations: 32.73 kB / 398.3 MB, free: 24.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.2042, allocations: 80.39 kB / 398.4 MB, free: 24.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005778/0.2048, allocations: 1.296 MB / 399.7 MB, free: 22.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.205, allocations: 20.09 kB / 399.7 MB, free: 22.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.205, allocations: 16 kB / 399.7 MB, free: 22.84 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 8.994e-05/0.2051, allocations: 161.6 kB / 399.9 MB, free: 22.67 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.678e-05/0.2052, allocations: 31.66 kB / 399.9 MB, free: 22.64 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002508/0.2054, allocations: 204.6 kB / 400.1 MB, free: 22.43 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.2054, allocations: 8 kB / 400.1 MB, free: 22.43 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-06/0.2054, allocations: 0 / 400.1 MB, free: 22.43 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002097/0.2056, allocations: 487.7 kB / 400.6 MB, free: 21.86 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007226/0.2064, allocations: 0.7721 MB / 401.4 MB, free: 20.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.2064, allocations: 0 / 401.4 MB, free: 20.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.2065, allocations: 43.97 kB / 401.4 MB, free: 20.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.2065, allocations: 7.938 kB / 401.4 MB, free: 20.94 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.2066, allocations: 8 kB / 401.4 MB, free: 20.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.2066, allocations: 7.938 kB / 401.5 MB, free: 20.92 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2066, allocations: 0 / 401.5 MB, free: 20.92 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/0.2079, allocations: 1.736 MB / 403.2 MB, free: 19.02 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.455e-05/0.208, allocations: 108.8 kB / 403.3 MB, free: 18.89 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.893e-05/0.208, allocations: 4 kB / 403.3 MB, free: 18.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.2082, allocations: 15.98 kB / 403.3 MB, free: 18.88 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.462e-05/0.2083, allocations: 27.94 kB / 403.3 MB, free: 18.85 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.2083, allocations: 15.98 kB / 403.4 MB, free: 18.83 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001392/0.2084, allocations: 202 kB / 403.6 MB, free: 18.64 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2084, allocations: 0 / 403.6 MB, free: 18.64 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004651/0.2089, allocations: 139.9 kB / 403.7 MB, free: 18.5 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.0001834/0.2091, allocations: 139.1 kB / 403.8 MB, free: 18.35 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003299/0.2094, allocations: 298.5 kB / 404.1 MB, free: 18.05 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2095, allocations: 4 kB / 404.1 MB, free: 18.04 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.133e-05/0.2095, allocations: 69.3 kB / 404.2 MB, free: 17.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008205/0.2104, allocations: 159.8 kB / 404.3 MB, free: 17.82 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007889/0.2112, allocations: 0.9118 MB / 405.3 MB, free: 16.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.2113, allocations: 0.7648 MB / 406 MB, free: 16.05 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002193/0.2115, allocations: 61.73 kB / 406.1 MB, free: 16 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.974e-05/0.2116, allocations: 31.38 kB / 406.1 MB, free: 15.96 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2116, allocations: 0 / 406.1 MB, free: 15.96 MB / 298.7 MB Notification: Performance of Templates: time 0.007095/0.2187, allocations: 5.66 MB / 411.8 MB, free: 10.33 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@2/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