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.001938/0.001938, allocations: 113.8 kB / 21.19 MB, free: 0.7031 MB / 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.002401/0.002401, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.393/1.393, allocations: 207.6 MB / 235.3 MB, free: 9.996 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.001823/0.001823, allocations: 54.75 kB / 347.2 MB, free: 10.09 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2686, allocations: 49.16 MB / 396.4 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01647/0.285, allocations: 16.11 MB / 412.5 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003333/0.2884, allocations: 1.933 MB / 414.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002217/0.2886, allocations: 8.062 kB / 414.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006279/0.2892, allocations: 170.8 kB / 414.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006853/0.2899, allocations: 319 kB / 414.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007413/0.2907, allocations: 293.1 kB / 415.2 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001033/0.2917, allocations: 0.8569 MB / 416.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002614/0.292, allocations: 82.2 kB / 416.1 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001118/0.2931, allocations: 0.5226 MB / 416.7 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004324/0.2935, allocations: 290.9 kB / 416.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.879e-05/0.2936, allocations: 28.72 kB / 417 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.2937, allocations: 37.5 kB / 417 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.2938, allocations: 100.5 kB / 417.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002022/0.294, allocations: 177.1 kB / 417.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005624/0.2946, allocations: 441.8 kB / 417.7 MB, free: 10.13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2946, allocations: 3.938 kB / 417.7 MB, free: 10.13 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2946, allocations: 0 / 417.7 MB, free: 10.13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.2946, allocations: 0 / 417.7 MB, free: 10.13 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.0009675/0.2956, allocations: 0.5189 MB / 418.2 MB, free: 9.691 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.2956, allocations: 13.3 kB / 418.2 MB, free: 9.688 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.818e-05/0.2957, allocations: 58.81 kB / 418.3 MB, free: 9.629 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002658/0.296, allocations: 44.5 kB / 418.3 MB, free: 9.609 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004611/0.2964, allocations: 218.7 kB / 418.6 MB, free: 9.406 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.2964, allocations: 22.52 kB / 418.6 MB, free: 9.395 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.601e-05/0.2965, allocations: 28.31 kB / 418.6 MB, free: 9.383 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004912/0.297, allocations: 301.4 kB / 418.9 MB, free: 9.164 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.297, allocations: 5.016 kB / 418.9 MB, free: 9.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.548e-05/0.297, allocations: 11.28 kB / 418.9 MB, free: 9.152 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.297, allocations: 6.406 kB / 418.9 MB, free: 9.152 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003146/0.2974, allocations: 197.6 kB / 419.1 MB, free: 9.059 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/0.2993, allocations: 1.405 MB / 420.5 MB, free: 7.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003383/0.2996, allocations: 175.1 kB / 420.7 MB, free: 7.629 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.2998, allocations: 81.14 kB / 420.8 MB, free: 7.586 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.2998, allocations: 3.5 kB / 420.8 MB, free: 7.586 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.2998, allocations: 36.75 kB / 420.8 MB, free: 7.543 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.433e-06/0.2998, allocations: 3.938 kB / 420.8 MB, free: 7.539 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.002625/0.3025, allocations: 0.8477 MB / 421.7 MB, free: 7.008 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/0.3025, allocations: 58.58 kB / 421.7 MB, free: 6.941 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003466/0.3029, allocations: 262.4 kB / 422 MB, free: 6.762 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.3029, allocations: 30.86 kB / 422 MB, free: 6.727 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.3031, allocations: 182.9 kB / 422.2 MB, free: 6.559 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.3032, allocations: 102.6 kB / 422.3 MB, free: 6.469 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.3033, allocations: 60.64 kB / 422.4 MB, free: 6.426 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.3035, allocations: 337.5 kB / 422.7 MB, free: 6.094 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.3037, allocations: 83.78 kB / 422.8 MB, free: 6.055 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002621/0.3039, allocations: 182.2 kB / 422.9 MB, free: 5.891 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004309/0.3043, allocations: 280.2 kB / 423.2 MB, free: 5.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.3044, allocations: 9 kB / 423.2 MB, free: 5.672 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007658/0.3051, allocations: 377.2 kB / 423.6 MB, free: 5.461 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.3051, allocations: 6.375 kB / 423.6 MB, free: 5.461 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.3051, allocations: 7.344 kB / 423.6 MB, free: 5.457 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002656/0.3054, allocations: 60.64 kB / 423.7 MB, free: 5.418 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002987/0.3057, allocations: 73.22 kB / 423.7 MB, free: 5.398 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002638/0.3083, allocations: 2.679 MB / 426.4 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002465/0.3086, allocations: 12.22 kB / 426.4 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.3086, allocations: 14.94 kB / 426.4 MB, free: 2.68 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.0001838/0.3088, allocations: 157.5 kB / 426.6 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.407e-05/0.3089, allocations: 24.8 kB / 426.6 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.747e-05/0.3089, allocations: 36.67 kB / 426.7 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.309, allocations: 3.406 kB / 426.7 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.309, allocations: 1.188 kB / 426.7 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007352/0.3097, allocations: 0.5733 MB / 427.2 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.3108, allocations: 0.6638 MB / 427.9 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.3108, allocations: 0 / 427.9 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/0.311, allocations: 46.33 kB / 427.9 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002351/0.3112, allocations: 57.44 kB / 428 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.3112, allocations: 6.75 kB / 428 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001299/0.3125, allocations: 1.387 MB / 429.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3125, allocations: 3.938 kB / 429.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007189/0.3132, allocations: 481.4 kB / 429.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.825e-05/0.3133, allocations: 19.8 kB / 429.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.102e-05/0.3133, allocations: 5.156 kB / 429.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.3135, allocations: 6.531 kB / 429.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.3136, allocations: 18.14 kB / 429.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.3136, allocations: 14.56 kB / 429.9 MB, free: 15.58 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001819/0.3138, allocations: 183 kB / 430.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3138, allocations: 1.125 kB / 430.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004102/0.3142, allocations: 89.69 kB / 430.2 MB, free: 15.44 MB / 350.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.001068/0.3153, allocations: 1.005 MB / 431.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000811/0.3161, allocations: 470.3 kB / 431.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.3161, allocations: 1.156 kB / 431.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003941/0.3165, allocations: 235.9 kB / 431.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009143/0.3174, allocations: 160.8 kB / 432 MB, free: 13.97 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004257/0.3216, allocations: 3.134 MB / 435.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004312/0.3221, allocations: 0.7606 MB / 435.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000239/0.3223, allocations: 50.95 kB / 436 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.3225, allocations: 83.41 kB / 436.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3225, allocations: 0 / 436.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04611/0.3686, allocations: 9.083 MB / 445.2 MB, free: 1.273 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/13.27, allocations: 4 kB / 445.2 MB, free: 1.27 MB / 350.1 MB " [Timeout remaining time 647] (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 --stepSize=0.000201919 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.702843067934737]