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.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 114.4 kB / 17.78 MB, free: 5.262 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.001199/0.001199, allocations: 183.8 kB / 18.71 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.218/0.218, allocations: 44.18 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 71.88 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3315, allocations: 60.81 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02242/0.354, allocations: 20.25 MB / 0.5382 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006996/0.361, allocations: 4.295 MB / 0.5424 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006945/0.3618, allocations: 19.56 kB / 0.5424 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009365/0.3627, allocations: 313.1 kB / 0.5427 GB, free: 272 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002008/0.3648, allocations: 0.8485 MB / 0.5435 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002345/0.3671, allocations: 0.9015 MB / 0.5444 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002243/0.3694, allocations: 1.792 MB / 0.5462 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007015/0.3701, allocations: 461.5 kB / 0.5466 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001834/0.3719, allocations: 0.9262 MB / 0.5475 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009634/0.3729, allocations: 0.6344 MB / 0.5481 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.3731, allocations: 59.56 kB / 0.5482 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008489/0.3739, allocations: 303.3 kB / 0.5485 GB, free: 12.56 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003034/0.3742, allocations: 263.2 kB / 0.5487 GB, free: 12.38 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004537/0.3747, allocations: 392.6 kB / 0.5491 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001534/0.3762, allocations: 1.084 MB / 0.5502 GB, free: 11.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3762, allocations: 3.938 kB / 0.5502 GB, free: 11.42 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3762, allocations: 0 / 0.5502 GB, free: 11.42 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.3763, allocations: 1.125 kB / 0.5502 GB, free: 11.42 MB / 414.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.002264/0.3785, allocations: 1.079 MB / 0.5512 GB, free: 10.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.3786, allocations: 8.031 kB / 0.5512 GB, free: 10.42 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001332/0.3787, allocations: 98.69 kB / 0.5513 GB, free: 10.31 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003482/0.3791, allocations: 92.45 kB / 0.5514 GB, free: 10.22 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008884/0.38, allocations: 0.5331 MB / 0.5519 GB, free: 9.648 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/0.3801, allocations: 112.9 kB / 0.552 GB, free: 9.527 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-05/0.3802, allocations: 48.12 kB / 0.5521 GB, free: 9.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.3815, allocations: 0.8135 MB / 0.5529 GB, free: 8.594 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.3816, allocations: 4 kB / 0.5529 GB, free: 8.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.343e-05/0.3816, allocations: 27.98 kB / 0.5529 GB, free: 8.562 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.571e-05/0.3817, allocations: 44.92 kB / 0.553 GB, free: 8.516 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.3828, allocations: 0.64 MB / 0.5536 GB, free: 7.875 MB / 414.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.005147/0.388, allocations: 4.218 MB / 0.5577 GB, free: 3.367 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009119/0.3889, allocations: 419.8 kB / 0.5581 GB, free: 2.949 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000347/0.3893, allocations: 209.4 kB / 0.5583 GB, free: 2.742 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005454/0.3898, allocations: 0.5107 MB / 0.5588 GB, free: 2.121 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.3899, allocations: 38.89 kB / 0.5588 GB, free: 2.074 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.454e-06/0.3899, allocations: 0 / 0.5588 GB, free: 2.074 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.003387/0.3933, allocations: 1.534 MB / 0.5603 GB, free: 496 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.3934, allocations: 140.5 kB / 0.5605 GB, free: 324 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007281/0.3942, allocations: 0.5655 MB / 0.561 GB, free: 15.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.667e-05/0.3942, allocations: 33.7 kB / 0.5611 GB, free: 15.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002887/0.3945, allocations: 363.8 kB / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00015/0.3947, allocations: 170.6 kB / 0.5616 GB, free: 15.17 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002216/0.3949, allocations: 142.6 kB / 0.5617 GB, free: 15.03 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.3951, allocations: 378.7 kB / 0.5621 GB, free: 14.65 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004004/0.3955, allocations: 217.9 kB / 0.5623 GB, free: 14.44 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007026/0.3962, allocations: 0.5279 MB / 0.5628 GB, free: 13.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.3973, allocations: 0.7718 MB / 0.5635 GB, free: 12.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.3974, allocations: 4 kB / 0.5635 GB, free: 12.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001824/0.3992, allocations: 0.9495 MB / 0.5645 GB, free: 11.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.3992, allocations: 11.12 kB / 0.5645 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.3992, allocations: 12 kB / 0.5645 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/0.4004, allocations: 260.8 kB / 0.5647 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004128/0.4008, allocations: 127.8 kB / 0.5649 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/0.4019, allocations: 0.8714 MB / 0.5657 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004604/0.4023, allocations: 24 kB / 0.5657 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.391e-05/0.4024, allocations: 39.98 kB / 0.5658 GB, free: 10.55 MB / 430.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.00034/0.4028, allocations: 241.5 kB / 0.566 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.4029, allocations: 71.53 kB / 0.5661 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001422/0.4043, allocations: 0.7221 MB / 0.5668 GB, free: 9.508 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.4044, allocations: 4 kB / 0.5668 GB, free: 9.504 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4044, allocations: 0 / 0.5668 GB, free: 9.504 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.4044, allocations: 3.984 kB / 0.5668 GB, free: 9.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002229/0.4066, allocations: 1.401 MB / 0.5682 GB, free: 8.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.4066, allocations: 0 / 0.5682 GB, free: 8.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009952/0.4076, allocations: 195.9 kB / 0.5683 GB, free: 7.828 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000245/0.4079, allocations: 56.78 kB / 0.5684 GB, free: 7.77 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.07e-05/0.408, allocations: 16 kB / 0.5684 GB, free: 7.754 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002964/0.4109, allocations: 2.979 MB / 0.5713 GB, free: 4.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.585e-06/0.4109, allocations: 11.95 kB / 0.5713 GB, free: 4.488 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001902/0.4129, allocations: 1.005 MB / 0.5723 GB, free: 3.438 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003497/0.4132, allocations: 196.6 kB / 0.5725 GB, free: 3.227 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.963e-05/0.4133, allocations: 12 kB / 0.5725 GB, free: 3.215 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003692/0.4137, allocations: 23.92 kB / 0.5725 GB, free: 3.191 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.4138, allocations: 39.95 kB / 0.5726 GB, free: 3.152 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-05/0.4139, allocations: 16 kB / 0.5726 GB, free: 3.137 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005859/0.4145, allocations: 427 kB / 0.573 GB, free: 2.719 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4145, allocations: 3.938 kB / 0.573 GB, free: 2.715 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008468/0.4153, allocations: 207.8 kB / 0.5732 GB, free: 2.512 MB / 430.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.002332/0.4177, allocations: 1.668 MB / 0.5748 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.4189, allocations: 0.6157 MB / 0.5754 GB, free: 188 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.4189, allocations: 4 kB / 0.5754 GB, free: 184 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.4201, allocations: 495.5 kB / 0.5759 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/0.4218, allocations: 366.4 kB / 0.5763 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/0.432, allocations: 6.548 MB / 0.5826 GB, free: 8.391 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006229/0.4326, allocations: 0.9385 MB / 0.5836 GB, free: 7.426 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007271/0.4334, allocations: 206.8 kB / 0.5838 GB, free: 7.234 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003663/0.4338, allocations: 235.4 kB / 0.584 GB, free: 7.004 MB / 446.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4338, allocations: 0 / 0.584 GB, free: 7.004 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09071/0.5245, allocations: 22.14 MB / 0.6056 GB, free: 1.242 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/13.77, allocations: 8.125 kB / 0.6056 GB, free: 1.234 MB / 462.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.csv","/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) Reference file matches