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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="Modelica_3_2_3_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001735/0.001736, allocations: 109.4 kB / 17.73 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001937/0.001937, allocations: 184.1 kB / 18.66 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 55.92 kB / 328.1 MB, free: 3.766 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08872/0.09039, allocations: 46.62 MB / 374.7 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.1853/0.2758, allocations: 15.85 MB / 390.5 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00263/0.2785, allocations: 1.905 MB / 392.4 MB, free: 2.855 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002399/0.2788, allocations: 7.469 kB / 392.5 MB, free: 2.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000609/0.2794, allocations: 167.2 kB / 392.6 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005873/0.28, allocations: 315.4 kB / 392.9 MB, free: 2.562 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007058/0.2808, allocations: 290.6 kB / 393.2 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001035/0.2818, allocations: 0.8371 MB / 394 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002204/0.282, allocations: 100.7 kB / 394.1 MB, free: 1.988 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.2832, allocations: 0.5057 MB / 394.7 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000404/0.2836, allocations: 278.1 kB / 394.9 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.242e-05/0.2837, allocations: 29.66 kB / 395 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001634/0.2838, allocations: 38.14 kB / 395 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.284, allocations: 95.34 kB / 395.1 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001981/0.2842, allocations: 179.1 kB / 395.3 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005735/0.2847, allocations: 437.1 kB / 395.7 MB, free: 1.363 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.2848, allocations: 4 kB / 395.7 MB, free: 1.359 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2848, allocations: 0 / 395.7 MB, free: 1.359 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.2848, allocations: 5.562 kB / 395.7 MB, free: 1.355 MB / 318.1 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.0008876/0.2857, allocations: 0.5838 MB / 396.3 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.2857, allocations: 8.75 kB / 396.3 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.079e-05/0.2858, allocations: 60.73 kB / 396.3 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002662/0.2861, allocations: 52.16 kB / 396.4 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003714/0.2865, allocations: 281 kB / 396.7 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.2865, allocations: 22.66 kB / 396.7 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.214e-05/0.2865, allocations: 25.92 kB / 396.7 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000448/0.287, allocations: 305 kB / 397 MB, free: 352 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.287, allocations: 5.031 kB / 397 MB, free: 348 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.216e-05/0.2871, allocations: 11 kB / 397 MB, free: 340 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.2871, allocations: 7.641 kB / 397 MB, free: 340 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003262/0.2874, allocations: 194.5 kB / 397.2 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001825/0.2892, allocations: 1.443 MB / 398.7 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003368/0.2896, allocations: 177.7 kB / 398.8 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.2897, allocations: 91.52 kB / 398.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/0.2898, allocations: 3.438 kB / 398.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.2898, allocations: 43.97 kB / 399 MB, free: 14.86 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.954e-06/0.2898, allocations: 0 / 399 MB, free: 14.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.002663/0.2925, allocations: 1 MB / 400 MB, free: 14.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.2926, allocations: 58.84 kB / 400 MB, free: 14.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003305/0.2929, allocations: 265.9 kB / 400.3 MB, free: 14 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.2929, allocations: 27.95 kB / 400.3 MB, free: 13.97 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.2931, allocations: 181.2 kB / 400.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.603e-05/0.2932, allocations: 99.8 kB / 400.6 MB, free: 13.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.2933, allocations: 69.77 kB / 400.7 MB, free: 13.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.2935, allocations: 333.9 kB / 401 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.2937, allocations: 83.66 kB / 401.1 MB, free: 13.33 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002371/0.2939, allocations: 180.3 kB / 401.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000422/0.2944, allocations: 282.1 kB / 401.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2944, allocations: 1.156 kB / 401.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007215/0.2951, allocations: 391.7 kB / 401.9 MB, free: 12.78 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.2951, allocations: 7.203 kB / 401.9 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.2951, allocations: 3.469 kB / 401.9 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002862/0.2954, allocations: 64.55 kB / 402 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002975/0.2957, allocations: 63.62 kB / 402 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002621/0.2984, allocations: 2.885 MB / 404.9 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002626/0.2986, allocations: 16.17 kB / 404.9 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.2987, allocations: 13.44 kB / 405 MB, free: 9.844 MB / 334.1 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 0.0001983/0.2989, allocations: 156.4 kB / 405.1 MB, free: 9.699 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.061e-05/0.299, allocations: 25.02 kB / 405.1 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.944e-05/0.299, allocations: 35.39 kB / 405.2 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.2991, allocations: 4.062 kB / 405.2 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.2991, allocations: 1.094 kB / 405.2 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007053/0.2998, allocations: 0.5684 MB / 405.7 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.301, allocations: 0.701 MB / 406.4 MB, free: 8.637 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.301, allocations: 1.219 kB / 406.4 MB, free: 8.637 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.3012, allocations: 39.69 kB / 406.5 MB, free: 8.637 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002392/0.3014, allocations: 60.66 kB / 406.5 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.3015, allocations: 6.016 kB / 406.6 MB, free: 8.609 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001352/0.3028, allocations: 1.493 MB / 408 MB, free: 7.137 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.3028, allocations: 5.812 kB / 408 MB, free: 7.133 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007452/0.3036, allocations: 467.7 kB / 408.5 MB, free: 6.848 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.3037, allocations: 103.1 kB / 408.6 MB, free: 6.738 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.237e-05/0.3038, allocations: 6.172 kB / 408.6 MB, free: 6.734 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.304, allocations: 10.88 kB / 408.6 MB, free: 6.727 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.304, allocations: 23.17 kB / 408.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.3041, allocations: 7.469 kB / 408.7 MB, free: 6.719 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002012/0.3043, allocations: 191.7 kB / 408.8 MB, free: 6.605 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3043, allocations: 0 / 408.8 MB, free: 6.605 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004288/0.3047, allocations: 86.16 kB / 408.9 MB, free: 6.598 MB / 334.1 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 0.001084/0.3058, allocations: 1 MB / 409.9 MB, free: 5.773 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008349/0.3066, allocations: 486.5 kB / 410.4 MB, free: 5.453 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3067, allocations: 0 / 410.4 MB, free: 5.453 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003894/0.3071, allocations: 235.5 kB / 410.6 MB, free: 5.297 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009346/0.308, allocations: 161.9 kB / 410.8 MB, free: 5.254 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004267/0.3123, allocations: 3.159 MB / 413.9 MB, free: 3.027 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.3127, allocations: 0.7662 MB / 414.7 MB, free: 2.324 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002616/0.313, allocations: 52.09 kB / 414.8 MB, free: 2.305 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.3131, allocations: 87.92 kB / 414.9 MB, free: 2.242 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3131, allocations: 0 / 414.9 MB, free: 2.242 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03968/0.3528, allocations: 8.756 MB / 423.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.31, allocations: 19.69 kB / 423.6 MB, free: 13.61 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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