Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001779/0.001779, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002255/0.002255, allocations: 214.4 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 230.5 MB / 257.4 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2376/0.2376, allocations: 46.92 MB / 360.8 MB, free: 4.16 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002537/0.002537, allocations: 75.88 kB / 0.4962 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3319, allocations: 66.08 MB / 0.5607 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02395/0.3558, allocations: 20.69 MB / 0.581 GB, free: 15.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007277/0.3631, allocations: 4.345 MB / 0.5852 GB, free: 11.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000815/0.3639, allocations: 31.75 kB / 0.5852 GB, free: 11.13 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.3651, allocations: 322 kB / 0.5855 GB, free: 10.81 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002635/0.3677, allocations: 0.8823 MB / 0.5864 GB, free: 9.926 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002774/0.3705, allocations: 0.9254 MB / 0.5873 GB, free: 9.004 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002647/0.3731, allocations: 1.825 MB / 0.5891 GB, free: 7.172 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009115/0.3741, allocations: 389.7 kB / 0.5894 GB, free: 6.789 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002313/0.3764, allocations: 0.9613 MB / 0.5904 GB, free: 5.824 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00136/0.3777, allocations: 0.6811 MB / 0.5911 GB, free: 5.141 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002216/0.3779, allocations: 60 kB / 0.5911 GB, free: 5.082 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.379, allocations: 323.6 kB / 0.5914 GB, free: 4.766 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003973/0.3794, allocations: 267.2 kB / 0.5917 GB, free: 4.504 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000536/0.3799, allocations: 390.2 kB / 0.592 GB, free: 4.121 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001565/0.3815, allocations: 1.09 MB / 0.5931 GB, free: 3.027 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.3815, allocations: 4 kB / 0.5931 GB, free: 3.023 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3815, allocations: 0 / 0.5931 GB, free: 3.023 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.3815, allocations: 3.938 kB / 0.5931 GB, free: 3.02 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.002274/0.3838, allocations: 0.9873 MB / 0.5941 GB, free: 2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.3838, allocations: 20.02 kB / 0.5941 GB, free: 1.98 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001206/0.3839, allocations: 94.7 kB / 0.5942 GB, free: 1.879 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003455/0.3843, allocations: 96.42 kB / 0.5943 GB, free: 1.785 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008989/0.3852, allocations: 478.7 kB / 0.5947 GB, free: 1.289 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001444/0.3853, allocations: 152.4 kB / 0.5949 GB, free: 1.117 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.914e-05/0.3854, allocations: 52.08 kB / 0.5949 GB, free: 1.066 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.3867, allocations: 0.8175 MB / 0.5957 GB, free: 176 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.3867, allocations: 7.938 kB / 0.5957 GB, free: 168 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.867e-05/0.3868, allocations: 24 kB / 0.5958 GB, free: 144 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.777e-05/0.3869, allocations: 36.98 kB / 0.5958 GB, free: 108 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.388, allocations: 0.6478 MB / 0.5964 GB, free: 15.46 MB / 446.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.005141/0.3931, allocations: 4.162 MB / 0.6005 GB, free: 11.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008887/0.394, allocations: 399.8 kB / 0.6009 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003365/0.3943, allocations: 197.4 kB / 0.6011 GB, free: 10.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002916/0.3946, allocations: 52.28 kB / 0.6011 GB, free: 10.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.3947, allocations: 38.89 kB / 0.6012 GB, free: 10.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 1.773e-06/0.3947, allocations: 0 / 0.6012 GB, free: 10.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003239/0.3979, allocations: 1.463 MB / 0.6026 GB, free: 8.824 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.65e-05/0.398, allocations: 136.5 kB / 0.6027 GB, free: 8.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006917/0.3987, allocations: 0.5732 MB / 0.6033 GB, free: 8.074 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.442e-05/0.3987, allocations: 29.7 kB / 0.6033 GB, free: 8.039 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00033/0.3991, allocations: 363.9 kB / 0.6036 GB, free: 7.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/0.3993, allocations: 178.5 kB / 0.6038 GB, free: 7.504 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002674/0.3995, allocations: 138.6 kB / 0.6039 GB, free: 7.363 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002388/0.3998, allocations: 374.7 kB / 0.6043 GB, free: 6.988 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004285/0.4002, allocations: 225.9 kB / 0.6045 GB, free: 6.766 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007357/0.4009, allocations: 0.5286 MB / 0.605 GB, free: 6.098 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.4021, allocations: 0.7757 MB / 0.6058 GB, free: 5.195 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.4021, allocations: 0 / 0.6058 GB, free: 5.195 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001913/0.404, allocations: 0.9372 MB / 0.6067 GB, free: 4.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.404, allocations: 10.03 kB / 0.6067 GB, free: 4.242 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.404, allocations: 12 kB / 0.6067 GB, free: 4.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/0.4052, allocations: 265.5 kB / 0.607 GB, free: 3.969 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004376/0.4056, allocations: 123.8 kB / 0.6071 GB, free: 3.848 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001048/0.4067, allocations: 0.8691 MB / 0.608 GB, free: 2.953 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004875/0.4071, allocations: 24 kB / 0.608 GB, free: 2.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-05/0.4072, allocations: 39.98 kB / 0.608 GB, free: 2.891 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.000386/0.4076, allocations: 246.2 kB / 0.6082 GB, free: 2.641 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.4077, allocations: 67.58 kB / 0.6083 GB, free: 2.574 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/0.4092, allocations: 0.7193 MB / 0.609 GB, free: 1.855 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.4092, allocations: 8 kB / 0.609 GB, free: 1.848 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.4092, allocations: 0 / 0.609 GB, free: 1.848 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/0.4092, allocations: 3.984 kB / 0.609 GB, free: 1.844 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002412/0.4116, allocations: 1.371 MB / 0.6104 GB, free: 404 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.4116, allocations: 3.984 kB / 0.6104 GB, free: 400 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009997/0.4126, allocations: 195.8 kB / 0.6106 GB, free: 204 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002587/0.4129, allocations: 56.97 kB / 0.6106 GB, free: 144 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.785e-05/0.4129, allocations: 19.98 kB / 0.6106 GB, free: 124 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002676/0.4156, allocations: 2.773 MB / 0.6133 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4156, allocations: 0 / 0.6133 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/0.4173, allocations: 1.005 MB / 0.6143 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003654/0.4177, allocations: 135.4 kB / 0.6144 GB, free: 11.94 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.4178, allocations: 16.06 kB / 0.6145 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004077/0.4182, allocations: 11.98 kB / 0.6145 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.4183, allocations: 47.81 kB / 0.6145 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.855e-05/0.4184, allocations: 23.92 kB / 0.6145 GB, free: 11.84 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005841/0.4189, allocations: 419 kB / 0.6149 GB, free: 11.43 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4189, allocations: 0 / 0.6149 GB, free: 11.43 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008344/0.4198, allocations: 207.9 kB / 0.6151 GB, free: 11.23 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.002279/0.4221, allocations: 1.665 MB / 0.6168 GB, free: 9.512 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001318/0.4234, allocations: 0.5762 MB / 0.6173 GB, free: 8.934 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/0.4234, allocations: 9.484 kB / 0.6173 GB, free: 8.926 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001229/0.4246, allocations: 474.5 kB / 0.6178 GB, free: 8.449 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001827/0.4264, allocations: 376.3 kB / 0.6182 GB, free: 8.09 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.4372, allocations: 6.546 MB / 0.6245 GB, free: 1.156 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006674/0.4379, allocations: 0.9384 MB / 0.6255 GB, free: 196 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007392/0.4386, allocations: 214.5 kB / 0.6257 GB, free: 15.99 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003765/0.439, allocations: 231.3 kB / 0.6259 GB, free: 15.77 MB / 478.1 MB Notification: Performance of SimCode: time 9.92e-07/0.439, allocations: 0 / 0.6259 GB, free: 15.77 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06801/0.507, allocations: 22.79 MB / 0.6481 GB, free: 9.191 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.1/14.6, allocations: 0 / 0.6481 GB, free: 9.191 MB / 494.1 MB " [Timeout remaining time 645] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.85130037087947]