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.00144/0.00144, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.808/1.808, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008692/0.0008693, allocations: 82.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.033e-05/4.044e-05, allocations: 4 kB / 322.5 MB, free: 17.33 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1044, allocations: 47.58 MB / 370 MB, free: 1.691 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8135/0.918, allocations: 265 MB / 0.6202 GB, free: 57.71 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003846/0.9184, allocations: 100.8 kB / 0.6203 GB, free: 57.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.384/1.303, allocations: 82.93 MB / 0.7012 GB, free: 126.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.074e-06/1.303, allocations: 0 / 0.7012 GB, free: 126.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.992e-05/1.303, allocations: 5.469 kB / 0.7012 GB, free: 126.3 MB / 426.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.0006804/1.303, allocations: 0.5205 MB / 0.7017 GB, free: 125.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/1.303, allocations: 9.938 kB / 0.7018 GB, free: 125.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002991/1.304, allocations: 43.62 kB / 0.7018 GB, free: 125.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004333/1.304, allocations: 280.5 kB / 0.7021 GB, free: 125.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.036e-05/1.304, allocations: 17.16 kB / 0.7021 GB, free: 125.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.549e-05/1.304, allocations: 29.92 kB / 0.7021 GB, free: 125.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005867/1.305, allocations: 304.9 kB / 0.7024 GB, free: 125.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/1.305, allocations: 7.734 kB / 0.7024 GB, free: 125.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.571e-05/1.305, allocations: 10.28 kB / 0.7024 GB, free: 125.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/1.305, allocations: 7.625 kB / 0.7024 GB, free: 125.6 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003286/1.305, allocations: 175.4 kB / 0.7026 GB, free: 125.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/1.307, allocations: 1.723 MB / 0.7043 GB, free: 124.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/1.307, allocations: 136.9 kB / 0.7044 GB, free: 124.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/1.307, allocations: 67.62 kB / 0.7045 GB, free: 124.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001331/1.308, allocations: 171 kB / 0.7046 GB, free: 124.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/1.308, allocations: 32.83 kB / 0.7047 GB, free: 124 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.704e-06/1.308, allocations: 0 / 0.7047 GB, free: 124 MB / 426.7 MB Notification: Performance of matching and sorting (n=21): time 0.001735/1.309, allocations: 0.6844 MB / 0.7053 GB, free: 123.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/1.309, allocations: 54.2 kB / 0.7054 GB, free: 123.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003026/1.31, allocations: 243.1 kB / 0.7056 GB, free: 123.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/1.31, allocations: 30.33 kB / 0.7056 GB, free: 123.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/1.31, allocations: 200.2 kB / 0.7058 GB, free: 123.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.309e-05/1.31, allocations: 79.11 kB / 0.7059 GB, free: 123.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.285e-05/1.31, allocations: 4.594 kB / 0.7059 GB, free: 123.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.154e-05/1.31, allocations: 339.2 kB / 0.7062 GB, free: 123 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/1.31, allocations: 64.41 kB / 0.7063 GB, free: 123 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/1.31, allocations: 186.4 kB / 0.7065 GB, free: 122.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/1.311, allocations: 99.05 kB / 0.7066 GB, free: 122.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/1.311, allocations: 4.25 kB / 0.7066 GB, free: 122.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005531/1.311, allocations: 330.4 kB / 0.7069 GB, free: 122.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/1.311, allocations: 7.391 kB / 0.7069 GB, free: 122.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/1.311, allocations: 4.125 kB / 0.7069 GB, free: 122.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001257/1.311, allocations: 26.62 kB / 0.7069 GB, free: 122.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003326/1.312, allocations: 83.69 kB / 0.707 GB, free: 122.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009564/1.313, allocations: 1.29 MB / 0.7083 GB, free: 121.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002346/1.313, allocations: 24.34 kB / 0.7083 GB, free: 121.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.872e-05/1.313, allocations: 17.48 kB / 0.7083 GB, free: 121.6 MB / 426.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001084/1.313, allocations: 126.9 kB / 0.7084 GB, free: 121.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.149e-05/1.313, allocations: 26.61 kB / 0.7085 GB, free: 121.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005296/1.314, allocations: 208.1 kB / 0.7087 GB, free: 121.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/1.314, allocations: 2.125 kB / 0.7087 GB, free: 121.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/1.314, allocations: 6.062 kB / 0.7087 GB, free: 121.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003575/1.314, allocations: 477.1 kB / 0.7091 GB, free: 121 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/1.315, allocations: 0.7761 MB / 0.7099 GB, free: 120.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/1.315, allocations: 2.625 kB / 0.7099 GB, free: 120.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/1.315, allocations: 44.5 kB / 0.7099 GB, free: 120.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.764e-06/1.316, allocations: 7.031 kB / 0.7099 GB, free: 120.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/1.316, allocations: 9.188 kB / 0.7099 GB, free: 120.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/1.316, allocations: 4.078 kB / 0.7099 GB, free: 120.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/1.316, allocations: 5.125 kB / 0.7099 GB, free: 120.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006186/1.316, allocations: 0.4915 MB / 0.7104 GB, free: 120.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.463e-05/1.316, allocations: 105.1 kB / 0.7105 GB, free: 120 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.02e-05/1.316, allocations: 7.234 kB / 0.7105 GB, free: 120 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/1.317, allocations: 14.91 kB / 0.7105 GB, free: 120 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.805e-05/1.317, allocations: 23.55 kB / 0.7106 GB, free: 120 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-05/1.317, allocations: 15.38 kB / 0.7106 GB, free: 120 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000273/1.317, allocations: 196.3 kB / 0.7108 GB, free: 119.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.1e-07/1.317, allocations: 0 / 0.7108 GB, free: 119.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007625/1.318, allocations: 112.2 kB / 0.7109 GB, free: 119.9 MB / 426.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005003/1.318, allocations: 243.5 kB / 0.7111 GB, free: 119.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006396/1.319, allocations: 294.3 kB / 0.7114 GB, free: 119.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.319, allocations: 5.188 kB / 0.7114 GB, free: 119.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001363/1.319, allocations: 70.81 kB / 0.7115 GB, free: 119.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009369/1.32, allocations: 154.2 kB / 0.7116 GB, free: 119.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008098/1.321, allocations: 447.2 kB / 0.712 GB, free: 119.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/1.321, allocations: 0.7647 MB / 0.7128 GB, free: 118.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003176/1.321, allocations: 58.11 kB / 0.7128 GB, free: 118.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.442e-05/1.322, allocations: 30.84 kB / 0.7129 GB, free: 118.8 MB / 426.7 MB Notification: Performance of SimCode: time 3.31e-07/1.322, allocations: 0 / 0.7129 GB, free: 118.8 MB / 426.7 MB Notification: Performance of Templates: time 0.01211/1.334, allocations: 6.7 MB / 0.7194 GB, free: 118.5 MB / 426.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