Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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: 175.1 kB / 16.72 MB, free: 5.055 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.417/1.417, allocations: 205.4 MB / 222.9 MB, free: 9.035 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.0007657/0.0007657, allocations: 100.3 kB / 271.2 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003408/0.0003409, allocations: 8 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2249, allocations: 47.57 MB / 375.1 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01096/0.236, allocations: 14.58 MB / 389.7 MB, free: 33.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.238, allocations: 1.804 MB / 391.5 MB, free: 32.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002166/0.2382, allocations: 3.531 kB / 391.5 MB, free: 32.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004583/0.2387, allocations: 125.8 kB / 391.6 MB, free: 32.15 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004714/0.2392, allocations: 301 kB / 391.9 MB, free: 31.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005008/0.2397, allocations: 226.8 kB / 392.1 MB, free: 31.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006939/0.2404, allocations: 1.063 MB / 393.2 MB, free: 30.6 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.2405, allocations: 73.75 kB / 393.3 MB, free: 30.53 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006297/0.2412, allocations: 454.2 kB / 393.7 MB, free: 30.08 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002583/0.2414, allocations: 271 kB / 394 MB, free: 29.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.808e-05/0.2415, allocations: 16 kB / 394 MB, free: 29.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.2416, allocations: 16 kB / 394 MB, free: 29.79 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.557e-05/0.2417, allocations: 79.7 kB / 394.1 MB, free: 29.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.2418, allocations: 181.1 kB / 394.3 MB, free: 29.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002703/0.2421, allocations: 332.1 kB / 394.6 MB, free: 29.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2421, allocations: 0 / 394.6 MB, free: 29.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2421, allocations: 4 kB / 394.6 MB, free: 29.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.2421, allocations: 0 / 394.6 MB, free: 29.2 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.0006619/0.2428, allocations: 0.5148 MB / 395.1 MB, free: 28.63 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.2429, allocations: 11.97 kB / 395.1 MB, free: 28.62 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002308/0.2431, allocations: 48.55 kB / 395.2 MB, free: 28.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.2434, allocations: 279.7 kB / 395.4 MB, free: 28.26 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.2434, allocations: 20.94 kB / 395.4 MB, free: 28.24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.728e-05/0.2434, allocations: 24.38 kB / 395.5 MB, free: 28.22 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003702/0.2438, allocations: 303.8 kB / 395.8 MB, free: 27.89 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.2438, allocations: 0 / 395.8 MB, free: 27.89 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.101e-05/0.2439, allocations: 12 kB / 395.8 MB, free: 27.88 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.2439, allocations: 8 kB / 395.8 MB, free: 27.87 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002604/0.2441, allocations: 193.6 kB / 396 MB, free: 27.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.2453, allocations: 1.44 MB / 397.4 MB, free: 26.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.2456, allocations: 178.5 kB / 397.6 MB, free: 25.94 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.2457, allocations: 84.84 kB / 397.7 MB, free: 25.86 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.2457, allocations: 4 kB / 397.7 MB, free: 25.85 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.2458, allocations: 42.55 kB / 397.7 MB, free: 25.8 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.252e-06/0.2458, allocations: 0 / 397.7 MB, free: 25.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.002115/0.2479, allocations: 1.014 MB / 398.7 MB, free: 24.71 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.069e-05/0.2479, allocations: 51.41 kB / 398.8 MB, free: 24.65 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.2481, allocations: 258.5 kB / 399 MB, free: 24.39 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.2482, allocations: 29.7 kB / 399.1 MB, free: 24.36 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.491e-05/0.2482, allocations: 180.2 kB / 399.2 MB, free: 24.18 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.556e-05/0.2483, allocations: 94.64 kB / 399.3 MB, free: 24.08 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.562e-05/0.2483, allocations: 12 kB / 399.3 MB, free: 24.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.389e-05/0.2484, allocations: 330.8 kB / 399.7 MB, free: 23.74 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.2485, allocations: 87.75 kB / 399.8 MB, free: 23.65 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.2487, allocations: 186.9 kB / 399.9 MB, free: 23.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002905/0.249, allocations: 283.4 kB / 400.2 MB, free: 23.11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.249, allocations: 4 kB / 400.2 MB, free: 23.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000546/0.2495, allocations: 382.6 kB / 400.6 MB, free: 22.72 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.2496, allocations: 8 kB / 400.6 MB, free: 22.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.2496, allocations: 3.938 kB / 400.6 MB, free: 22.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002444/0.2498, allocations: 70.05 kB / 400.7 MB, free: 22.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000319/0.2501, allocations: 75.84 kB / 400.7 MB, free: 22.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/0.2517, allocations: 2.673 MB / 403.4 MB, free: 19.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/0.2519, allocations: 19.92 kB / 403.4 MB, free: 19.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.2519, allocations: 19.94 kB / 403.5 MB, free: 19.58 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.252, allocations: 149.8 kB / 403.6 MB, free: 19.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.798e-05/0.2521, allocations: 35.64 kB / 403.6 MB, free: 19.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.337e-05/0.2522, allocations: 30.19 kB / 403.7 MB, free: 19.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.2522, allocations: 4 kB / 403.7 MB, free: 19.36 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2522, allocations: 0 / 403.7 MB, free: 19.36 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004647/0.2527, allocations: 0.5708 MB / 404.2 MB, free: 18.7 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008301/0.2535, allocations: 0.699 MB / 404.9 MB, free: 17.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2535, allocations: 0 / 404.9 MB, free: 17.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.2537, allocations: 47.91 kB / 405 MB, free: 17.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000241/0.254, allocations: 64.72 kB / 405.1 MB, free: 17.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.012e-05/0.254, allocations: 4 kB / 405.1 MB, free: 17.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007915/0.2548, allocations: 1.394 MB / 406.4 MB, free: 16.29 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2548, allocations: 0 / 406.4 MB, free: 16.29 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005579/0.2554, allocations: 473 kB / 406.9 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.639e-05/0.2554, allocations: 105 kB / 407 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/0.2555, allocations: 4 kB / 407 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/0.2557, allocations: 15.94 kB / 407 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/0.2557, allocations: 19.97 kB / 407.1 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.2558, allocations: 7.984 kB / 407.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001252/0.2559, allocations: 186 kB / 407.2 MB, free: 15.46 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2559, allocations: 0 / 407.2 MB, free: 15.46 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000357/0.2563, allocations: 92 kB / 407.3 MB, free: 15.37 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 (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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001066/0.2564, allocations: 103.2 kB / 407.4 MB, free: 15.26 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005591/0.2569, allocations: 466 kB / 407.9 MB, free: 14.78 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2569, allocations: 4 kB / 407.9 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002951/0.2572, allocations: 246.4 kB / 408.1 MB, free: 14.52 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008689/0.2581, allocations: 156.1 kB / 408.3 MB, free: 14.37 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000985/0.2591, allocations: 0.8544 MB / 409.1 MB, free: 13.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001562/0.2593, allocations: 0.7645 MB / 409.9 MB, free: 12.7 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.183e-05/0.2594, allocations: 27.44 kB / 409.9 MB, free: 12.67 MB / 298.7 MB Notification: Performance of SimCode: time 2.5e-07/0.2594, allocations: 0 / 409.9 MB, free: 12.67 MB / 298.7 MB Notification: Performance of Templates: time 0.006208/0.2656, allocations: 5.913 MB / 415.8 MB, free: 6.762 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches