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.001506/0.001506, allocations: 176.2 kB / 16.41 MB, free: 5.727 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.291/1.291, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0007487/0.0007487, allocations: 84.48 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002895/0.0002894, allocations: 8 kB / 327 MB, free: 180 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2218, allocations: 47.58 MB / 374.6 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01119/0.2331, allocations: 14.53 MB / 389.1 MB, free: 33.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.2352, allocations: 1.802 MB / 390.9 MB, free: 32.3 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001741/0.2354, allocations: 7 kB / 390.9 MB, free: 32.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004226/0.2358, allocations: 125 kB / 391 MB, free: 32.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004512/0.2363, allocations: 309 kB / 391.3 MB, free: 31.95 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005018/0.2368, allocations: 219.6 kB / 391.5 MB, free: 31.8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006625/0.2375, allocations: 1.057 MB / 392.6 MB, free: 30.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.2376, allocations: 77.73 kB / 392.7 MB, free: 30.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005615/0.2382, allocations: 434.2 kB / 393.1 MB, free: 30.27 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000246/0.2384, allocations: 267 kB / 393.4 MB, free: 30.01 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.712e-05/0.2385, allocations: 12 kB / 393.4 MB, free: 30 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.2386, allocations: 27.98 kB / 393.4 MB, free: 29.97 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.535e-05/0.2387, allocations: 67.77 kB / 393.5 MB, free: 29.91 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.232e-05/0.2387, allocations: 89.58 kB / 393.5 MB, free: 29.81 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.239, allocations: 328 kB / 393.9 MB, free: 29.49 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.239, allocations: 3.984 kB / 393.9 MB, free: 29.49 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.239, allocations: 4 kB / 393.9 MB, free: 29.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.239, allocations: 0 / 393.9 MB, free: 29.48 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.0006808/0.2397, allocations: 0.5185 MB / 394.4 MB, free: 28.92 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.2397, allocations: 15.91 kB / 394.4 MB, free: 28.9 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002365/0.24, allocations: 43.61 kB / 394.5 MB, free: 28.86 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.2402, allocations: 270.6 kB / 394.7 MB, free: 28.55 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.2403, allocations: 20.56 kB / 394.7 MB, free: 28.54 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.705e-05/0.2403, allocations: 27.91 kB / 394.8 MB, free: 28.51 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003715/0.2407, allocations: 295.6 kB / 395.1 MB, free: 28.19 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.2407, allocations: 3.984 kB / 395.1 MB, free: 28.18 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.012e-05/0.2407, allocations: 12 kB / 395.1 MB, free: 28.17 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.2408, allocations: 12 kB / 395.1 MB, free: 28.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002674/0.241, allocations: 193.5 kB / 395.3 MB, free: 27.97 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.2423, allocations: 1.432 MB / 396.7 MB, free: 26.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/0.2425, allocations: 183.1 kB / 396.9 MB, free: 26.24 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.2426, allocations: 85.22 kB / 397 MB, free: 26.15 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.2427, allocations: 4.172 kB / 397 MB, free: 26.15 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.2427, allocations: 38.75 kB / 397 MB, free: 26.1 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.302e-06/0.2427, allocations: 0 / 397 MB, free: 26.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.00232/0.245, allocations: 1.016 MB / 398 MB, free: 25.02 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.2451, allocations: 55.41 kB / 398.1 MB, free: 24.95 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.2453, allocations: 254.5 kB / 398.3 MB, free: 24.69 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.2453, allocations: 33.7 kB / 398.4 MB, free: 24.65 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.294e-05/0.2454, allocations: 176.2 kB / 398.5 MB, free: 24.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.316e-05/0.2454, allocations: 90.73 kB / 398.6 MB, free: 24.39 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.377e-05/0.2455, allocations: 8 kB / 398.6 MB, free: 24.38 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.815e-05/0.2455, allocations: 342.8 kB / 399 MB, free: 24.04 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.2457, allocations: 87.69 kB / 399 MB, free: 23.95 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.2458, allocations: 182.9 kB / 399.2 MB, free: 23.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002356/0.2461, allocations: 111.9 kB / 399.3 MB, free: 23.62 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2461, allocations: 0 / 399.3 MB, free: 23.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006624/0.2467, allocations: 383.2 kB / 399.7 MB, free: 23.23 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.2468, allocations: 8 kB / 399.7 MB, free: 23.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.2468, allocations: 8.312 kB / 399.7 MB, free: 23.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002882/0.2471, allocations: 69.61 kB / 399.8 MB, free: 23.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002744/0.2474, allocations: 71.86 kB / 399.9 MB, free: 23.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001584/0.249, allocations: 2.678 MB / 402.5 MB, free: 20.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.2492, allocations: 19.98 kB / 402.6 MB, free: 20.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.2492, allocations: 12 kB / 402.6 MB, free: 20.1 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.0001206/0.2494, allocations: 157.8 kB / 402.7 MB, free: 19.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.886e-05/0.2494, allocations: 27.72 kB / 402.8 MB, free: 19.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.897e-05/0.2495, allocations: 38.14 kB / 402.8 MB, free: 19.87 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.2495, allocations: 4 kB / 402.8 MB, free: 19.87 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.2495, allocations: 3.984 kB / 402.8 MB, free: 19.86 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004619/0.25, allocations: 0.5631 MB / 403.4 MB, free: 19.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.251, allocations: 0.699 MB / 404.1 MB, free: 18.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.251, allocations: 4 kB / 404.1 MB, free: 18.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.2512, allocations: 39.92 kB / 404.1 MB, free: 18.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002688/0.2515, allocations: 64.8 kB / 404.2 MB, free: 18.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.2515, allocations: 4 kB / 404.2 MB, free: 18.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008106/0.2524, allocations: 1.397 MB / 405.6 MB, free: 16.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.2524, allocations: 0 / 405.6 MB, free: 16.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005884/0.253, allocations: 473.1 kB / 406 MB, free: 16.32 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.64e-05/0.253, allocations: 104.8 kB / 406.1 MB, free: 16.2 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.672e-05/0.2531, allocations: 8 kB / 406.1 MB, free: 16.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.2533, allocations: 12 kB / 406.2 MB, free: 16.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.2534, allocations: 19.97 kB / 406.2 MB, free: 16.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.2534, allocations: 7.984 kB / 406.2 MB, free: 16.15 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001357/0.2535, allocations: 186 kB / 406.4 MB, free: 15.97 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2535, allocations: 4.062 kB / 406.4 MB, free: 15.96 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003569/0.2539, allocations: 88 kB / 406.5 MB, free: 15.88 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.0001209/0.254, allocations: 103.2 kB / 406.6 MB, free: 15.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006097/0.2546, allocations: 478 kB / 407 MB, free: 15.28 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.2547, allocations: 4 kB / 407 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000328/0.255, allocations: 234.5 kB / 407.3 MB, free: 15.03 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009146/0.2559, allocations: 151.5 kB / 407.4 MB, free: 14.89 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009706/0.2569, allocations: 0.8622 MB / 408.3 MB, free: 13.99 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001623/0.2571, allocations: 0.7606 MB / 409 MB, free: 13.21 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.093e-05/0.2572, allocations: 27.44 kB / 409 MB, free: 13.18 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2572, allocations: 0 / 409 MB, free: 13.18 MB / 298.7 MB Notification: Performance of Templates: time 0.005989/0.2632, allocations: 5.931 MB / 415 MB, free: 7.258 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