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: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009232/0.0009232, allocations: 174.8 kB / 16.72 MB, free: 5.051 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.274/1.274, allocations: 205.4 MB / 222.9 MB, free: 9.008 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.0007232/0.0007232, allocations: 90.34 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002892/0.0002892, allocations: 12 kB / 327.6 MB, free: 15.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2015, allocations: 47.56 MB / 375.2 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01033/0.2119, allocations: 14.58 MB / 389.8 MB, free: 33.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001703/0.2136, allocations: 1.809 MB / 391.6 MB, free: 32.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000167/0.2138, allocations: 2.219 kB / 391.6 MB, free: 32.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004133/0.2142, allocations: 128.1 kB / 391.7 MB, free: 32.15 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004474/0.2147, allocations: 294.5 kB / 392 MB, free: 31.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004579/0.2152, allocations: 225.6 kB / 392.2 MB, free: 31.64 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006255/0.2158, allocations: 1.067 MB / 393.3 MB, free: 30.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.2159, allocations: 65.77 kB / 393.4 MB, free: 30.51 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005494/0.2165, allocations: 454.2 kB / 393.8 MB, free: 30.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002558/0.2168, allocations: 274.9 kB / 394.1 MB, free: 29.8 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.54e-05/0.2168, allocations: 12 kB / 394.1 MB, free: 29.79 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.2169, allocations: 20 kB / 394.1 MB, free: 29.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.373e-05/0.217, allocations: 75.7 kB / 394.2 MB, free: 29.69 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.2171, allocations: 185.1 kB / 394.3 MB, free: 29.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.2174, allocations: 328.4 kB / 394.7 MB, free: 29.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2174, allocations: 4 kB / 394.7 MB, free: 29.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2174, allocations: 0 / 394.7 MB, free: 29.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.2174, allocations: 0 / 394.7 MB, free: 29.18 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.0006523/0.218, allocations: 0.5264 MB / 395.2 MB, free: 28.61 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.2181, allocations: 8.031 kB / 395.2 MB, free: 28.6 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.21e-05/0.2182, allocations: 62.72 kB / 395.3 MB, free: 28.53 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002132/0.2184, allocations: 40.56 kB / 395.3 MB, free: 28.49 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.2186, allocations: 283.7 kB / 395.6 MB, free: 28.17 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.2186, allocations: 16.94 kB / 395.6 MB, free: 28.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.434e-05/0.2187, allocations: 24.38 kB / 395.6 MB, free: 28.13 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003598/0.219, allocations: 311.6 kB / 395.9 MB, free: 27.8 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.2191, allocations: 0 / 395.9 MB, free: 27.8 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.66e-05/0.2191, allocations: 12 kB / 395.9 MB, free: 27.79 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.2191, allocations: 8 kB / 395.9 MB, free: 27.78 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002548/0.2194, allocations: 193.6 kB / 396.1 MB, free: 27.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.2205, allocations: 1.432 MB / 397.6 MB, free: 26.04 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000241/0.2208, allocations: 189.6 kB / 397.8 MB, free: 25.85 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.2209, allocations: 92.83 kB / 397.8 MB, free: 25.76 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.2209, allocations: 0 / 397.8 MB, free: 25.76 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.221, allocations: 34.56 kB / 397.9 MB, free: 25.71 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 8.92e-07/0.221, allocations: 0 / 397.9 MB, free: 25.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.00207/0.2231, allocations: 1.006 MB / 398.9 MB, free: 24.63 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.052e-05/0.2231, allocations: 59.39 kB / 398.9 MB, free: 24.56 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.2233, allocations: 258.5 kB / 399.2 MB, free: 24.3 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.2233, allocations: 33.7 kB / 399.2 MB, free: 24.26 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.072e-05/0.2234, allocations: 172.2 kB / 399.4 MB, free: 24.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.092e-05/0.2234, allocations: 98.62 kB / 399.5 MB, free: 23.99 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.375e-05/0.2234, allocations: 4 kB / 399.5 MB, free: 23.99 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.71e-05/0.2235, allocations: 338.8 kB / 399.8 MB, free: 23.65 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.2236, allocations: 83.75 kB / 399.9 MB, free: 23.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.2238, allocations: 182.9 kB / 400.1 MB, free: 23.35 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/0.224, allocations: 295.7 kB / 400.4 MB, free: 23.02 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2241, allocations: 7.875 kB / 400.4 MB, free: 23.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005272/0.2246, allocations: 375.1 kB / 400.8 MB, free: 22.63 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.2246, allocations: 8.938 kB / 400.8 MB, free: 22.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.2246, allocations: 4 kB / 400.8 MB, free: 22.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002364/0.2249, allocations: 69.64 kB / 400.8 MB, free: 22.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/0.2251, allocations: 67.84 kB / 400.9 MB, free: 22.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.2266, allocations: 2.67 MB / 403.6 MB, free: 19.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002152/0.2268, allocations: 23.92 kB / 403.6 MB, free: 19.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.2268, allocations: 24 kB / 403.6 MB, free: 19.5 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.0001153/0.2269, allocations: 149.9 kB / 403.8 MB, free: 19.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.711e-05/0.227, allocations: 27.7 kB / 403.8 MB, free: 19.31 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.41e-05/0.2271, allocations: 38.17 kB / 403.8 MB, free: 19.28 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.2271, allocations: 3.938 kB / 403.8 MB, free: 19.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.2271, allocations: 0 / 403.8 MB, free: 19.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004428/0.2275, allocations: 0.5708 MB / 404.4 MB, free: 18.61 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007815/0.2283, allocations: 0.7029 MB / 405.1 MB, free: 17.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.2283, allocations: 4 kB / 405.1 MB, free: 17.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.2285, allocations: 39.92 kB / 405.1 MB, free: 17.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002395/0.2288, allocations: 64.72 kB / 405.2 MB, free: 17.74 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.2288, allocations: 11.98 kB / 405.2 MB, free: 17.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007698/0.2296, allocations: 1.382 MB / 406.6 MB, free: 16.21 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2296, allocations: 4.031 kB / 406.6 MB, free: 16.21 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005382/0.2301, allocations: 473 kB / 407.1 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.443e-05/0.2302, allocations: 96.86 kB / 407.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.463e-05/0.2302, allocations: 7.938 kB / 407.2 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.2304, allocations: 15.98 kB / 407.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.065e-05/0.2305, allocations: 20.11 kB / 407.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.2305, allocations: 12.06 kB / 407.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001223/0.2306, allocations: 186 kB / 407.4 MB, free: 15.37 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2306, allocations: 0 / 407.4 MB, free: 15.37 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003477/0.231, allocations: 88 kB / 407.5 MB, free: 15.29 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.0006982/0.2317, allocations: 1.011 MB / 408.5 MB, free: 14.24 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005763/0.2323, allocations: 477.7 kB / 409 MB, free: 13.75 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.2323, allocations: 4 kB / 409 MB, free: 13.75 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003003/0.2326, allocations: 234.5 kB / 409.2 MB, free: 13.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009109/0.2335, allocations: 148.5 kB / 409.3 MB, free: 13.36 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002247/0.2358, allocations: 1.891 MB / 411.2 MB, free: 11.37 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001509/0.236, allocations: 0.7645 MB / 412 MB, free: 10.58 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.2361, allocations: 90.66 kB / 412.1 MB, free: 10.5 MB / 298.7 MB Notification: Performance of SimCode: time 4.21e-07/0.2361, allocations: 0 / 412.1 MB, free: 10.5 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.271/3.507, allocations: 6.374 MB / 418.5 MB, free: 4.113 MB / 298.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater.fmu > 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/jenkins1/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