Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001083/0.001083, 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.201/1.201, allocations: 205.1 MB / 223.7 MB, free: 8.48 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.0008458/0.0008457, allocations: 99.23 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009331/0.0009332, allocations: 43.94 kB / 327.2 MB, free: 308 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1941, allocations: 46.61 MB / 373.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01197/0.2061, allocations: 15.99 MB / 389.8 MB, free: 32.99 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00192/0.2081, allocations: 1.921 MB / 391.7 MB, free: 31.42 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001721/0.2082, allocations: 3.594 kB / 391.7 MB, free: 31.42 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004781/0.2088, allocations: 152.4 kB / 391.9 MB, free: 31.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000413/0.2093, allocations: 300.9 kB / 392.2 MB, free: 31.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004893/0.2097, allocations: 271.1 kB / 392.5 MB, free: 30.85 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007383/0.2105, allocations: 1.297 MB / 393.7 MB, free: 29.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.2106, allocations: 69.75 kB / 393.8 MB, free: 29.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006026/0.2112, allocations: 462.1 kB / 394.3 MB, free: 29.03 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002383/0.2115, allocations: 290.8 kB / 394.6 MB, free: 28.74 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.535e-05/0.2115, allocations: 16 kB / 394.6 MB, free: 28.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.625e-05/0.2116, allocations: 24 kB / 394.6 MB, free: 28.7 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.369e-05/0.2117, allocations: 87.7 kB / 394.7 MB, free: 28.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.2118, allocations: 163.3 kB / 394.8 MB, free: 28.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002801/0.2121, allocations: 424.2 kB / 395.3 MB, free: 28.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2121, allocations: 0 / 395.3 MB, free: 28.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2122, allocations: 0 / 395.3 MB, free: 28.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.2122, allocations: 0 / 395.3 MB, free: 28.04 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.0006851/0.2129, allocations: 0.5811 MB / 395.8 MB, free: 27.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.2129, allocations: 8.031 kB / 395.8 MB, free: 27.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002563/0.2132, allocations: 48.55 kB / 395.9 MB, free: 27.36 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.2134, allocations: 275.7 kB / 396.2 MB, free: 27.05 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.2135, allocations: 20.94 kB / 396.2 MB, free: 27.03 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.618e-05/0.2135, allocations: 24.38 kB / 396.2 MB, free: 27.01 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003378/0.2138, allocations: 307.8 kB / 396.5 MB, free: 26.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.2139, allocations: 7.938 kB / 396.5 MB, free: 26.67 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.812e-05/0.2139, allocations: 8 kB / 396.5 MB, free: 26.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.2139, allocations: 8 kB / 396.5 MB, free: 26.65 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002467/0.2142, allocations: 193.6 kB / 396.7 MB, free: 26.46 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/0.2158, allocations: 1.432 MB / 398.1 MB, free: 24.92 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003456/0.2162, allocations: 174.6 kB / 398.3 MB, free: 24.74 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.2163, allocations: 92.83 kB / 398.4 MB, free: 24.64 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.2164, allocations: 4 kB / 398.4 MB, free: 24.64 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.2164, allocations: 34.56 kB / 398.4 MB, free: 24.6 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 2.264e-06/0.2164, allocations: 0 / 398.4 MB, free: 24.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.002117/0.2185, allocations: 1.002 MB / 399.4 MB, free: 23.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.2186, allocations: 55.41 kB / 399.5 MB, free: 23.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.2188, allocations: 262.6 kB / 399.8 MB, free: 23.19 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.2188, allocations: 25.7 kB / 399.8 MB, free: 23.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.55e-05/0.2189, allocations: 184.1 kB / 400 MB, free: 22.97 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.903e-05/0.2189, allocations: 94.66 kB / 400.1 MB, free: 22.88 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.565e-05/0.219, allocations: 69.39 kB / 400.1 MB, free: 22.8 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.616e-05/0.219, allocations: 338.8 kB / 400.5 MB, free: 22.46 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.2192, allocations: 83.97 kB / 400.5 MB, free: 22.38 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.2193, allocations: 186.9 kB / 400.7 MB, free: 22.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002615/0.2196, allocations: 287.5 kB / 401 MB, free: 21.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2196, allocations: 0 / 401 MB, free: 21.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005173/0.2201, allocations: 386.6 kB / 401.4 MB, free: 21.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.2201, allocations: 8 kB / 401.4 MB, free: 21.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.2202, allocations: 384 / 401.4 MB, free: 21.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002361/0.2204, allocations: 69.66 kB / 401.5 MB, free: 21.37 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.2207, allocations: 63.91 kB / 401.5 MB, free: 21.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/0.2221, allocations: 2.681 MB / 404.2 MB, free: 18.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/0.2223, allocations: 23.95 kB / 404.2 MB, free: 18.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.2224, allocations: 16 kB / 404.2 MB, free: 18.32 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 9.964e-05/0.2225, allocations: 154 kB / 404.4 MB, free: 18.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.548e-05/0.2225, allocations: 27.66 kB / 404.4 MB, free: 18.13 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.608e-05/0.2226, allocations: 38.17 kB / 404.4 MB, free: 18.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.2226, allocations: 0 / 404.4 MB, free: 18.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.2226, allocations: 4 kB / 404.5 MB, free: 18.09 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004141/0.223, allocations: 0.5592 MB / 405 MB, free: 17.44 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000836/0.2239, allocations: 0.7144 MB / 405.7 MB, free: 16.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2239, allocations: 0 / 405.7 MB, free: 16.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/0.2241, allocations: 35.98 kB / 405.8 MB, free: 16.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001878/0.2243, allocations: 52.78 kB / 405.8 MB, free: 16.57 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.2243, allocations: 12.03 kB / 405.8 MB, free: 16.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007379/0.225, allocations: 1.386 MB / 407.2 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2251, allocations: 0 / 407.2 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004341/0.2294, allocations: 4.008 MB / 411.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.234e-05/0.2295, allocations: 104.8 kB / 411.3 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.245e-05/0.2295, allocations: 8 kB / 411.3 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/0.2297, allocations: 16.11 kB / 411.3 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.676e-05/0.2297, allocations: 15.98 kB / 411.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.2298, allocations: 11.98 kB / 411.4 MB, free: 10.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001156/0.2299, allocations: 182 kB / 411.5 MB, free: 10.4 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2299, allocations: 0 / 411.5 MB, free: 10.4 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000481/0.2304, allocations: 144 kB / 411.7 MB, free: 10.26 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,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 (24): * Single equations (assignments): 23 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.979e-05/0.2305, allocations: 107.3 kB / 411.8 MB, free: 10.14 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005563/0.231, allocations: 477.7 kB / 412.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2311, allocations: 0 / 412.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002889/0.2313, allocations: 238.5 kB / 412.5 MB, free: 9.406 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008508/0.2322, allocations: 163.8 kB / 412.7 MB, free: 9.254 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.2336, allocations: 1.15 MB / 413.8 MB, free: 8.051 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000156/0.2338, allocations: 0.7684 MB / 414.6 MB, free: 7.258 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002562/0.2341, allocations: 58.88 kB / 414.6 MB, free: 7.203 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.454e-05/0.2341, allocations: 31.44 kB / 414.7 MB, free: 7.172 MB / 298.7 MB Notification: Performance of SimCode: time 2.6e-07/0.2342, allocations: 0 / 414.7 MB, free: 7.172 MB / 298.7 MB Notification: Performance of Templates: time 0.008264/0.2424, allocations: 6.447 MB / 421.1 MB, free: 0.75 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_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/LinearFluid/LinearColdWater/LinearColdWater.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches