Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001837/0.001837, allocations: 106 kB / 15.98 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002338/0.002338, allocations: 195.2 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.733/1.733, allocations: 205.1 MB / 222.8 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4023/0.4023, allocations: 43.5 MB / 313.6 MB, free: 8.559 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 63.91 kB / 382.3 MB, free: 8.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1323, allocations: 57.78 MB / 440.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.2604/0.3927, allocations: 20.77 MB / 460.9 MB, free: 37.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009075/0.4019, allocations: 4.369 MB / 465.3 MB, free: 36.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001206/0.4031, allocations: 25.91 kB / 465.3 MB, free: 36.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.4042, allocations: 283.5 kB / 465.6 MB, free: 36.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002511/0.4068, allocations: 0.8026 MB / 466.4 MB, free: 36.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002843/0.4097, allocations: 0.8171 MB / 467.2 MB, free: 36.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002277/0.412, allocations: 1.801 MB / 469 MB, free: 35.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006499/0.4126, allocations: 453.2 kB / 469.4 MB, free: 35.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001936/0.4146, allocations: 0.9175 MB / 470.3 MB, free: 35.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008698/0.4155, allocations: 0.6752 MB / 471 MB, free: 35.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.4156, allocations: 60.94 kB / 471.1 MB, free: 35.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008035/0.4164, allocations: 307.9 kB / 471.4 MB, free: 35.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002311/0.4166, allocations: 264.8 kB / 471.6 MB, free: 35.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003192/0.417, allocations: 394 kB / 472 MB, free: 34.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.418, allocations: 1.078 MB / 473.1 MB, free: 34.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.418, allocations: 0 / 473.1 MB, free: 34.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.418, allocations: 0 / 473.1 MB, free: 34.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.418, allocations: 0 / 473.1 MB, free: 34.5 MB / 382.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.001913/0.42, allocations: 1.056 MB / 474.1 MB, free: 33.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.42, allocations: 15.98 kB / 474.2 MB, free: 33.78 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001149/0.4201, allocations: 94.92 kB / 474.3 MB, free: 33.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003382/0.4205, allocations: 88.77 kB / 474.3 MB, free: 33.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006362/0.4211, allocations: 0.5014 MB / 474.8 MB, free: 33.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.804e-05/0.4212, allocations: 103.2 kB / 474.9 MB, free: 33.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.918e-05/0.4213, allocations: 50.39 kB / 475 MB, free: 33.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.4224, allocations: 0.8255 MB / 475.8 MB, free: 32.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.4224, allocations: 3.094 kB / 475.8 MB, free: 32.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.828e-05/0.4225, allocations: 21.25 kB / 475.8 MB, free: 32.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.956e-05/0.4226, allocations: 39.94 kB / 475.9 MB, free: 32.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008733/0.4234, allocations: 0.6504 MB / 476.5 MB, free: 32.51 MB / 382.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.003682/0.4271, allocations: 4.216 MB / 480.7 MB, free: 29.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000785/0.4279, allocations: 414.8 kB / 481.2 MB, free: 28.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002821/0.4282, allocations: 214 kB / 481.4 MB, free: 28.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004093/0.4286, allocations: 0.4942 MB / 481.9 MB, free: 28.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.4287, allocations: 42.25 kB / 481.9 MB, free: 28.22 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.925e-06/0.4287, allocations: 0 / 481.9 MB, free: 28.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.003104/0.4318, allocations: 1.529 MB / 483.4 MB, free: 27.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/0.4319, allocations: 135.8 kB / 483.6 MB, free: 27.24 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006095/0.4325, allocations: 0.568 MB / 484.1 MB, free: 26.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.923e-05/0.4326, allocations: 41.11 kB / 484.2 MB, free: 26.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.4328, allocations: 357.1 kB / 484.5 MB, free: 26.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.4329, allocations: 156.7 kB / 484.7 MB, free: 26.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/0.433, allocations: 143.6 kB / 484.8 MB, free: 26.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.219e-05/0.4331, allocations: 379.2 kB / 485.2 MB, free: 26.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003049/0.4335, allocations: 227.8 kB / 485.4 MB, free: 26.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004258/0.4339, allocations: 0.5191 MB / 485.9 MB, free: 25.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008124/0.4347, allocations: 0.777 MB / 486.7 MB, free: 24.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.4347, allocations: 3.344 kB / 486.7 MB, free: 24.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001549/0.4363, allocations: 0.9355 MB / 487.6 MB, free: 24.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.4363, allocations: 13.19 kB / 487.7 MB, free: 24.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.4363, allocations: 11.91 kB / 487.7 MB, free: 24.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001043/0.4374, allocations: 271.5 kB / 487.9 MB, free: 24.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003855/0.4378, allocations: 121.6 kB / 488 MB, free: 24.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007445/0.4385, allocations: 0.8696 MB / 488.9 MB, free: 23.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005214/0.4391, allocations: 46.58 kB / 489 MB, free: 23.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.198e-05/0.4391, allocations: 30.78 kB / 489 MB, free: 23.81 MB / 382.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.0002815/0.4394, allocations: 249.6 kB / 489.2 MB, free: 23.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.4395, allocations: 64.47 kB / 489.3 MB, free: 23.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/0.4407, allocations: 0.7124 MB / 490 MB, free: 23.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.4407, allocations: 6.5 kB / 490 MB, free: 23.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.4408, allocations: 3.375 kB / 490 MB, free: 23.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.4408, allocations: 0 / 490 MB, free: 23.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001798/0.4426, allocations: 1.406 MB / 491.4 MB, free: 22.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.4426, allocations: 3.938 kB / 491.4 MB, free: 22.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009033/0.4435, allocations: 194.4 kB / 491.6 MB, free: 22.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002413/0.4438, allocations: 57.48 kB / 491.7 MB, free: 22.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4e-05/0.4438, allocations: 17.39 kB / 491.7 MB, free: 22.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002121/0.4459, allocations: 2.982 MB / 494.7 MB, free: 19.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.446, allocations: 2.719 kB / 494.7 MB, free: 19.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.4476, allocations: 1 MB / 495.7 MB, free: 18.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003332/0.4479, allocations: 203.5 kB / 495.9 MB, free: 18.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.85e-05/0.448, allocations: 19.98 kB / 495.9 MB, free: 18.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004381/0.4485, allocations: 25.55 kB / 495.9 MB, free: 18.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.92e-05/0.4486, allocations: 41.84 kB / 496 MB, free: 18.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.993e-05/0.4486, allocations: 17.94 kB / 496 MB, free: 18.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005737/0.4492, allocations: 421.9 kB / 496.4 MB, free: 18.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4492, allocations: 0 / 496.4 MB, free: 18.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009217/0.4502, allocations: 211.1 kB / 496.6 MB, free: 18.51 MB / 382.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.002007/0.4522, allocations: 1.682 MB / 498.3 MB, free: 17.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001462/0.4536, allocations: 0.6669 MB / 498.9 MB, free: 17.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.4537, allocations: 1.781 kB / 498.9 MB, free: 17.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001171/0.4548, allocations: 485.7 kB / 499.4 MB, free: 16.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001764/0.4566, allocations: 374.1 kB / 499.8 MB, free: 16.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/0.4687, allocations: 6.956 MB / 0.4949 GB, free: 12.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005387/0.4693, allocations: 0.9371 MB / 0.4958 GB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001006/0.4703, allocations: 214.5 kB / 0.496 GB, free: 11.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003798/0.4707, allocations: 230.4 kB / 0.4962 GB, free: 11.54 MB / 382.1 MB Notification: Performance of SimCode: time 1.373e-06/0.4707, allocations: 0 / 0.4962 GB, free: 11.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05019/0.5209, allocations: 21.7 MB / 0.5174 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002164/0.5211, allocations: 320.2 kB / 0.5177 GB, free: 444 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.525/3.046, allocations: 0 / 0.5177 GB, free: 444 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches