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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001895/0.001895, allocations: 107.6 kB / 21.18 MB, free: 328 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002066/0.002066, allocations: 218.9 kB / 24.47 MB, free: 3.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 207.7 MB / 235.3 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 55.92 kB / 347.2 MB, free: 9.859 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2696, allocations: 49.15 MB / 396.4 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01467/0.2842, allocations: 14.58 MB / 411 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003255/0.2875, allocations: 1.784 MB / 412.7 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002099/0.2877, allocations: 8.312 kB / 412.8 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006174/0.2883, allocations: 164.9 kB / 412.9 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007007/0.289, allocations: 323.9 kB / 413.2 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007866/0.2898, allocations: 287.8 kB / 413.5 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00111/0.2909, allocations: 0.8515 MB / 414.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002193/0.2911, allocations: 78.72 kB / 414.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001214/0.2924, allocations: 0.5233 MB / 415 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004521/0.2928, allocations: 272.8 kB / 415.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.046e-05/0.2929, allocations: 33.25 kB / 415.3 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.293, allocations: 42.73 kB / 415.3 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.2931, allocations: 91.81 kB / 415.4 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002018/0.2933, allocations: 162.4 kB / 415.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005464/0.2939, allocations: 436.8 kB / 416 MB, free: 11.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2939, allocations: 3.938 kB / 416 MB, free: 11.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2939, allocations: 1.25 kB / 416 MB, free: 11.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.2939, allocations: 0 / 416 MB, free: 11.86 MB / 334.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.0009801/0.2949, allocations: 0.5145 MB / 416.5 MB, free: 11.42 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.2949, allocations: 12.95 kB / 416.5 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.08e-05/0.295, allocations: 60.33 kB / 416.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002668/0.2953, allocations: 48.3 kB / 416.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004748/0.2957, allocations: 215 kB / 416.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.2958, allocations: 19.38 kB / 416.8 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.138e-05/0.2958, allocations: 24.53 kB / 416.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005948/0.2964, allocations: 463.5 kB / 417.3 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.2964, allocations: 1.719 kB / 417.3 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.618e-05/0.2965, allocations: 10.81 kB / 417.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.2965, allocations: 10.84 kB / 417.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003277/0.2968, allocations: 198 kB / 417.5 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00173/0.2985, allocations: 1.168 MB / 418.7 MB, free: 9.555 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003353/0.2989, allocations: 173 kB / 418.9 MB, free: 9.457 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.299, allocations: 80.39 kB / 419 MB, free: 9.414 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.299, allocations: 3.312 kB / 419 MB, free: 9.414 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.2991, allocations: 36.62 kB / 419 MB, free: 9.371 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 5.17e-06/0.2991, allocations: 9.047 kB / 419 MB, free: 9.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.002484/0.3015, allocations: 0.8444 MB / 419.8 MB, free: 8.836 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.3016, allocations: 54.91 kB / 419.9 MB, free: 8.773 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.3019, allocations: 262.4 kB / 420.2 MB, free: 8.594 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.3019, allocations: 31.83 kB / 420.2 MB, free: 8.559 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.3021, allocations: 186.5 kB / 420.4 MB, free: 8.387 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.917e-05/0.3021, allocations: 98.31 kB / 420.5 MB, free: 8.301 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.3023, allocations: 65.89 kB / 420.5 MB, free: 8.254 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.3024, allocations: 340.4 kB / 420.9 MB, free: 7.918 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.3026, allocations: 83.88 kB / 420.9 MB, free: 7.879 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/0.3028, allocations: 177.2 kB / 421.1 MB, free: 7.723 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004105/0.3032, allocations: 290.9 kB / 421.4 MB, free: 7.504 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.359e-05/0.3032, allocations: 5.25 kB / 421.4 MB, free: 7.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007146/0.3039, allocations: 381 kB / 421.8 MB, free: 7.285 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.304, allocations: 7.562 kB / 421.8 MB, free: 7.285 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.304, allocations: 2.344 kB / 421.8 MB, free: 7.285 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002537/0.3042, allocations: 61.17 kB / 421.9 MB, free: 7.246 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000289/0.3045, allocations: 68.69 kB / 421.9 MB, free: 7.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00255/0.3071, allocations: 2.668 MB / 424.6 MB, free: 4.539 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002767/0.3073, allocations: 12.53 kB / 424.6 MB, free: 4.531 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/0.3074, allocations: 18.88 kB / 424.6 MB, free: 4.523 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.0001945/0.3076, allocations: 154.9 kB / 424.8 MB, free: 4.379 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.537e-05/0.3076, allocations: 25.08 kB / 424.8 MB, free: 4.367 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.491e-05/0.3077, allocations: 36.28 kB / 424.8 MB, free: 4.34 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3077, allocations: 4 kB / 424.8 MB, free: 4.34 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.3077, allocations: 0 / 424.8 MB, free: 4.34 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007246/0.3084, allocations: 0.5708 MB / 425.4 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.3095, allocations: 0.6395 MB / 426 MB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.3095, allocations: 1.031 kB / 426 MB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.3097, allocations: 38.48 kB / 426.1 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002343/0.31, allocations: 52.16 kB / 426.1 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.31, allocations: 6.719 kB / 426.1 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001368/0.3114, allocations: 1.382 MB / 427.5 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3114, allocations: 1.5 kB / 427.5 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007638/0.3121, allocations: 473 kB / 428 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.848e-05/0.3122, allocations: 27.69 kB / 428 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.406e-05/0.3122, allocations: 7 kB / 428 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.3125, allocations: 9.281 kB / 428 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.3125, allocations: 22.83 kB / 428 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/0.3125, allocations: 14.34 kB / 428.1 MB, free: 1.469 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001988/0.3127, allocations: 188 kB / 428.2 MB, free: 1.336 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3127, allocations: 0 / 428.2 MB, free: 1.336 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004408/0.3132, allocations: 94.66 kB / 428.3 MB, free: 1.32 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.00108/0.3142, allocations: 0.9952 MB / 429.3 MB, free: 480 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008923/0.3151, allocations: 470.1 kB / 429.8 MB, free: 128 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3151, allocations: 1.531 kB / 429.8 MB, free: 128 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004073/0.3155, allocations: 222.6 kB / 430 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009493/0.3165, allocations: 160.9 kB / 430.2 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004514/0.321, allocations: 3.141 MB / 433.3 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001823/0.3212, allocations: 163.8 kB / 433.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002642/0.3215, allocations: 50.94 kB / 433.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.3216, allocations: 87.36 kB / 433.6 MB, free: 12.69 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3216, allocations: 0 / 433.6 MB, free: 12.69 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0583/0.3799, allocations: 9.866 MB / 443.5 MB, free: 2.746 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.35/13.73, allocations: 12 kB / 443.5 MB, free: 2.734 MB / 350.1 MB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 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) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.csv","/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.328983253333718]