Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.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.001349/0.001349, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001673/0.001673, allocations: 217.2 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.481/1.481, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2456/0.2456, allocations: 44.92 MB / 358.8 MB, free: 6.289 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002022/0.002022, allocations: 63.91 kB / 0.4931 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2994, allocations: 65.46 MB / 0.557 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02559/0.325, allocations: 20.7 MB / 0.5773 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008411/0.3334, allocations: 4.333 MB / 0.5815 GB, free: 14.64 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000943/0.3344, allocations: 27.75 kB / 0.5815 GB, free: 14.61 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001448/0.3358, allocations: 326 kB / 0.5818 GB, free: 14.29 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003331/0.3392, allocations: 0.8784 MB / 0.5827 GB, free: 13.41 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003481/0.3427, allocations: 0.9301 MB / 0.5836 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003466/0.3461, allocations: 1.821 MB / 0.5854 GB, free: 10.66 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/0.3472, allocations: 393.6 kB / 0.5857 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003004/0.3502, allocations: 0.9574 MB / 0.5867 GB, free: 9.309 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001773/0.352, allocations: 0.6773 MB / 0.5873 GB, free: 8.629 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002882/0.3523, allocations: 60 kB / 0.5874 GB, free: 8.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001433/0.3537, allocations: 327.6 kB / 0.5877 GB, free: 8.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000544/0.3542, allocations: 267.2 kB / 0.588 GB, free: 7.988 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009274/0.3552, allocations: 390.2 kB / 0.5883 GB, free: 7.605 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002619/0.3578, allocations: 1.094 MB / 0.5894 GB, free: 6.508 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.3578, allocations: 0 / 0.5894 GB, free: 6.508 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.3578, allocations: 4 kB / 0.5894 GB, free: 6.504 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.13e-05/0.3578, allocations: 0 / 0.5894 GB, free: 6.504 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.00358/0.3614, allocations: 0.9934 MB / 0.5904 GB, free: 5.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.3615, allocations: 8.031 kB / 0.5904 GB, free: 5.473 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002306/0.3617, allocations: 94.7 kB / 0.5905 GB, free: 5.371 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006414/0.3623, allocations: 100.4 kB / 0.5906 GB, free: 5.273 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/0.3639, allocations: 478.8 kB / 0.591 GB, free: 4.777 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002192/0.3641, allocations: 156.3 kB / 0.5912 GB, free: 4.602 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.3643, allocations: 60.06 kB / 0.5912 GB, free: 4.543 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/0.3662, allocations: 0.8136 MB / 0.592 GB, free: 3.652 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.037e-05/0.3663, allocations: 0 / 0.592 GB, free: 3.652 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/0.3664, allocations: 24 kB / 0.592 GB, free: 3.629 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001134/0.3665, allocations: 44.91 kB / 0.5921 GB, free: 3.586 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00175/0.3683, allocations: 0.64 MB / 0.5927 GB, free: 2.945 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007669/0.3759, allocations: 4.166 MB / 0.5968 GB, free: 14.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/0.3773, allocations: 415.7 kB / 0.5972 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005426/0.3779, allocations: 189.4 kB / 0.5974 GB, free: 13.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004078/0.3783, allocations: 52.3 kB / 0.5974 GB, free: 13.85 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.171e-05/0.3783, allocations: 42.88 kB / 0.5975 GB, free: 13.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 4.288e-06/0.3783, allocations: 0 / 0.5975 GB, free: 13.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.005149/0.3835, allocations: 1.455 MB / 0.5989 GB, free: 12.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.3836, allocations: 136.5 kB / 0.599 GB, free: 12.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.3848, allocations: 0.5693 MB / 0.5996 GB, free: 11.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.667e-05/0.3849, allocations: 37.7 kB / 0.5996 GB, free: 11.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004395/0.3853, allocations: 359.9 kB / 0.5999 GB, free: 11.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002337/0.3856, allocations: 182.5 kB / 0.6001 GB, free: 10.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003116/0.3859, allocations: 138.6 kB / 0.6002 GB, free: 10.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002628/0.3861, allocations: 378.7 kB / 0.6006 GB, free: 10.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006038/0.3867, allocations: 221.9 kB / 0.6008 GB, free: 10.24 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001153/0.3879, allocations: 0.5201 MB / 0.6013 GB, free: 9.586 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001746/0.3896, allocations: 0.7757 MB / 0.6021 GB, free: 8.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.3897, allocations: 8 kB / 0.6021 GB, free: 8.672 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002294/0.3919, allocations: 0.9338 MB / 0.603 GB, free: 7.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.392, allocations: 8 kB / 0.603 GB, free: 7.723 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.392, allocations: 8 kB / 0.603 GB, free: 7.715 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/0.3932, allocations: 263.6 kB / 0.6033 GB, free: 7.457 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004498/0.3936, allocations: 127.8 kB / 0.6034 GB, free: 7.332 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001113/0.3947, allocations: 0.8761 MB / 0.6042 GB, free: 6.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005287/0.3953, allocations: 24 kB / 0.6043 GB, free: 6.406 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.528e-05/0.3953, allocations: 32 kB / 0.6043 GB, free: 6.375 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0004082/0.3957, allocations: 242.8 kB / 0.6045 GB, free: 6.129 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/0.3959, allocations: 67.58 kB / 0.6046 GB, free: 6.062 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/0.3974, allocations: 0.7238 MB / 0.6053 GB, free: 5.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.3974, allocations: 4 kB / 0.6053 GB, free: 5.336 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.3974, allocations: 4 kB / 0.6053 GB, free: 5.332 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.3974, allocations: 0 / 0.6053 GB, free: 5.332 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002512/0.3999, allocations: 1.371 MB / 0.6067 GB, free: 3.883 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.3999, allocations: 8.219 kB / 0.6067 GB, free: 3.875 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.4009, allocations: 195.7 kB / 0.6068 GB, free: 3.684 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002848/0.4012, allocations: 60.73 kB / 0.6069 GB, free: 3.621 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.298e-05/0.4013, allocations: 12 kB / 0.6069 GB, free: 3.609 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002996/0.4043, allocations: 2.783 MB / 0.6096 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.4043, allocations: 0 / 0.6096 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001776/0.406, allocations: 1.005 MB / 0.6106 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003567/0.4064, allocations: 131.4 kB / 0.6107 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.4065, allocations: 15.94 kB / 0.6108 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003957/0.4069, allocations: 15.98 kB / 0.6108 GB, free: 15.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.407, allocations: 47.88 kB / 0.6108 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-05/0.4071, allocations: 27.92 kB / 0.6108 GB, free: 15.32 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006142/0.4077, allocations: 419 kB / 0.6112 GB, free: 14.91 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4077, allocations: 0 / 0.6112 GB, free: 14.91 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008567/0.4086, allocations: 203.9 kB / 0.6114 GB, free: 14.71 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.002389/0.4109, allocations: 1.666 MB / 0.6131 GB, free: 12.98 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001349/0.4123, allocations: 0.5815 MB / 0.6136 GB, free: 12.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.4123, allocations: 0 / 0.6136 GB, free: 12.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001317/0.4136, allocations: 475.1 kB / 0.6141 GB, free: 11.93 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/0.4154, allocations: 382.3 kB / 0.6144 GB, free: 11.57 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.4261, allocations: 6.547 MB / 0.6208 GB, free: 4.633 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006491/0.4268, allocations: 0.9345 MB / 0.6218 GB, free: 3.672 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007057/0.4275, allocations: 211.2 kB / 0.622 GB, free: 3.477 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000374/0.4279, allocations: 223.4 kB / 0.6222 GB, free: 3.258 MB / 462.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4279, allocations: 0 / 0.6222 GB, free: 3.258 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06772/0.4956, allocations: 22.8 MB / 0.6444 GB, free: 12.74 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.31/14.81, allocations: 3.938 kB / 0.6444 GB, free: 12.74 MB / 494.1 MB " [Timeout remaining time 645] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.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: 17.95991869806312]