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.001301/0.001301, allocations: 107.6 kB / 21.18 MB, free: 452 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.001584/0.001584, allocations: 215 kB / 24.47 MB, free: 3.777 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.353/1.353, allocations: 207.7 MB / 235.3 MB, free: 9.805 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.001796/0.001796, allocations: 51.86 kB / 347.2 MB, free: 9.848 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.283, allocations: 49.15 MB / 396.4 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01473/0.2977, allocations: 14.58 MB / 411 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002691/0.3004, allocations: 1.784 MB / 412.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.3006, allocations: 7.844 kB / 412.8 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006276/0.3012, allocations: 165.2 kB / 412.9 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006417/0.3018, allocations: 321.6 kB / 413.2 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006717/0.3025, allocations: 284.4 kB / 413.5 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009894/0.3035, allocations: 0.8531 MB / 414.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002096/0.3037, allocations: 78.59 kB / 414.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001099/0.3048, allocations: 0.5177 MB / 415 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004242/0.3052, allocations: 281.7 kB / 415.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.804e-05/0.3053, allocations: 33.22 kB / 415.3 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.3054, allocations: 39.06 kB / 415.3 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.3055, allocations: 90.94 kB / 415.4 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001912/0.3057, allocations: 161.9 kB / 415.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005208/0.3063, allocations: 441.7 kB / 416 MB, free: 11.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3063, allocations: 0 / 416 MB, free: 11.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3063, allocations: 0 / 416 MB, free: 11.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.645e-06/0.3063, allocations: 1.094 kB / 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.0009351/0.3072, allocations: 0.5142 MB / 416.5 MB, free: 11.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.3072, allocations: 13.08 kB / 416.5 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.966e-05/0.3073, allocations: 61.86 kB / 416.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002604/0.3076, allocations: 41.98 kB / 416.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004422/0.308, allocations: 222.9 kB / 416.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.308, allocations: 18.56 kB / 416.8 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.335e-05/0.3081, allocations: 28.25 kB / 416.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006169/0.3087, allocations: 457.4 kB / 417.3 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.3087, allocations: 5.156 kB / 417.3 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.194e-05/0.3088, allocations: 11.56 kB / 417.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.3088, allocations: 10.86 kB / 417.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003281/0.3091, allocations: 197.6 kB / 417.5 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001653/0.3108, allocations: 1.172 MB / 418.7 MB, free: 9.551 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003324/0.3111, allocations: 173.2 kB / 418.9 MB, free: 9.453 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.3112, allocations: 80.73 kB / 419 MB, free: 9.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.3113, allocations: 2.344 kB / 419 MB, free: 9.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.3113, allocations: 40.88 kB / 419 MB, free: 9.363 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 3.286e-06/0.3113, allocations: 5.375 kB / 419 MB, free: 9.359 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.002415/0.3137, allocations: 0.8366 MB / 419.8 MB, free: 8.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.3138, allocations: 59.25 kB / 419.9 MB, free: 8.773 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.3141, allocations: 265.7 kB / 420.2 MB, free: 8.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.3141, allocations: 36.05 kB / 420.2 MB, free: 8.551 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.3142, allocations: 181.9 kB / 420.4 MB, free: 8.383 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.601e-05/0.3143, allocations: 99.14 kB / 420.5 MB, free: 8.297 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.3144, allocations: 61.47 kB / 420.5 MB, free: 8.254 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.3146, allocations: 337.4 kB / 420.9 MB, free: 7.922 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.3147, allocations: 83.62 kB / 420.9 MB, free: 7.883 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.3149, allocations: 176.6 kB / 421.1 MB, free: 7.727 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003964/0.3153, allocations: 290.6 kB / 421.4 MB, free: 7.508 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.3153, allocations: 4.938 kB / 421.4 MB, free: 7.504 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006743/0.316, allocations: 381.7 kB / 421.8 MB, free: 7.289 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.316, allocations: 6.906 kB / 421.8 MB, free: 7.289 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.316, allocations: 3.344 kB / 421.8 MB, free: 7.289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002436/0.3163, allocations: 60.08 kB / 421.8 MB, free: 7.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002991/0.3166, allocations: 73.28 kB / 421.9 MB, free: 7.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002423/0.319, allocations: 2.669 MB / 424.6 MB, free: 4.539 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002789/0.3193, allocations: 11.72 kB / 424.6 MB, free: 4.531 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.3193, allocations: 15.72 kB / 424.6 MB, free: 4.527 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.0001967/0.3195, allocations: 157 kB / 424.8 MB, free: 4.379 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.05e-05/0.3196, allocations: 25.45 kB / 424.8 MB, free: 4.367 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.932e-05/0.3196, allocations: 37.14 kB / 424.8 MB, free: 4.34 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3196, allocations: 6.688 kB / 424.8 MB, free: 4.336 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.527e-06/0.3197, allocations: 5.375 kB / 424.8 MB, free: 4.332 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006633/0.3203, allocations: 0.5623 MB / 425.4 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.3215, allocations: 0.6395 MB / 426 MB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3215, allocations: 1.156 kB / 426 MB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.3217, allocations: 37.77 kB / 426.1 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002429/0.322, allocations: 56.66 kB / 426.1 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.322, allocations: 10.59 kB / 426.1 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00127/0.3233, allocations: 1.375 MB / 427.5 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.3233, allocations: 3.938 kB / 427.5 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007235/0.324, allocations: 471.8 kB / 428 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.917e-05/0.3241, allocations: 31.12 kB / 428 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.432e-05/0.3241, allocations: 10.17 kB / 428 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.3243, allocations: 1.094 kB / 428 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.3244, allocations: 23.5 kB / 428 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/0.3244, allocations: 18.02 kB / 428.1 MB, free: 1.465 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000196/0.3246, allocations: 179.5 kB / 428.2 MB, free: 1.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3246, allocations: 1.062 kB / 428.2 MB, free: 1.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004547/0.325, allocations: 90.94 kB / 428.3 MB, free: 1.328 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.001085/0.3261, allocations: 1.002 MB / 429.3 MB, free: 480 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00083/0.327, allocations: 462.2 kB / 429.8 MB, free: 136 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.327, allocations: 1.594 kB / 429.8 MB, free: 136 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003893/0.3273, allocations: 226.5 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.000908/0.3283, allocations: 164.4 kB / 430.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004266/0.3325, allocations: 3.14 MB / 433.3 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001675/0.3327, allocations: 159.8 kB / 433.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002558/0.3329, allocations: 54.94 kB / 433.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.3331, allocations: 87.34 kB / 433.6 MB, free: 12.69 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3331, allocations: 3.938 kB / 433.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04406/0.3772, allocations: 9.864 MB / 443.5 MB, free: 2.742 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/12.92, allocations: 11.81 kB / 443.5 MB, free: 2.73 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.264870942104608]