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.0009599/0.00096, allocations: 103 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001459/0.00146, allocations: 184.3 kB / 16.92 MB, free: 6.914 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.508/1.508, allocations: 205.4 MB / 223.1 MB, free: 5.523 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.3387/0.3387, allocations: 43.58 MB / 315 MB, free: 8.77 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.0005293/0.0005294, allocations: 18.19 kB / 384.7 MB, free: 7.535 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1263, allocations: 58.87 MB / 443.6 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.2427/0.3691, allocations: 20.37 MB / 463.9 MB, free: 36.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005572/0.3747, allocations: 4.38 MB / 468.3 MB, free: 35.94 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008185/0.3755, allocations: 23.44 kB / 468.3 MB, free: 35.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007727/0.3763, allocations: 285.3 kB / 468.6 MB, free: 35.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001498/0.3778, allocations: 0.8026 MB / 469.4 MB, free: 35.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001832/0.3797, allocations: 0.8012 MB / 470.2 MB, free: 35.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00205/0.3817, allocations: 2.665 MB / 472.9 MB, free: 34.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004422/0.3822, allocations: 386.5 kB / 473.3 MB, free: 34.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001183/0.3834, allocations: 0.8123 MB / 474.1 MB, free: 34.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006592/0.3841, allocations: 0.6527 MB / 474.7 MB, free: 34.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.217e-05/0.3841, allocations: 35.62 kB / 474.8 MB, free: 34.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005903/0.3847, allocations: 272.5 kB / 475 MB, free: 34.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001829/0.3849, allocations: 228.2 kB / 475.2 MB, free: 34.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002651/0.3852, allocations: 394.8 kB / 475.6 MB, free: 34.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007769/0.386, allocations: 1.036 MB / 476.7 MB, free: 34.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.386, allocations: 0 / 476.7 MB, free: 34.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.386, allocations: 0 / 476.7 MB, free: 34.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.386, allocations: 3.938 kB / 476.7 MB, free: 34.07 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.001529/0.3876, allocations: 0.9138 MB / 477.6 MB, free: 33.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.3876, allocations: 17.22 kB / 477.6 MB, free: 33.47 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.362e-05/0.3877, allocations: 101.2 kB / 477.7 MB, free: 33.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002901/0.388, allocations: 88.34 kB / 477.8 MB, free: 33.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005248/0.3885, allocations: 0.5037 MB / 478.3 MB, free: 33.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.88e-05/0.3886, allocations: 104.5 kB / 478.4 MB, free: 33.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.655e-05/0.3887, allocations: 49.73 kB / 478.4 MB, free: 33.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009426/0.3896, allocations: 0.8265 MB / 479.3 MB, free: 32.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.3897, allocations: 0 / 479.3 MB, free: 32.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.047e-05/0.3897, allocations: 23.34 kB / 479.3 MB, free: 32.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-05/0.3898, allocations: 41.47 kB / 479.3 MB, free: 32.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008241/0.3906, allocations: 0.6442 MB / 480 MB, free: 32.54 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.003259/0.3939, allocations: 4.233 MB / 484.2 MB, free: 29.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006981/0.3946, allocations: 415.2 kB / 484.6 MB, free: 28.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00026/0.3949, allocations: 215 kB / 484.8 MB, free: 28.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003177/0.3952, allocations: 0.4951 MB / 485.3 MB, free: 28.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.3952, allocations: 45.58 kB / 485.4 MB, free: 28.24 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 1.432e-06/0.3952, allocations: 0 / 485.4 MB, free: 28.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.002545/0.3978, allocations: 1.527 MB / 486.9 MB, free: 27.42 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.3978, allocations: 134.8 kB / 487 MB, free: 27.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004811/0.3983, allocations: 0.5661 MB / 487.6 MB, free: 27.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.3984, allocations: 32.48 kB / 487.6 MB, free: 26.97 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.3985, allocations: 358.9 kB / 488 MB, free: 26.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.773e-05/0.3986, allocations: 162.6 kB / 488.1 MB, free: 26.56 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.181e-05/0.3987, allocations: 68.81 kB / 488.2 MB, free: 26.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.108e-05/0.3988, allocations: 374.2 kB / 488.6 MB, free: 26.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003159/0.3991, allocations: 229.2 kB / 488.8 MB, free: 26.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004243/0.3995, allocations: 0.5148 MB / 489.3 MB, free: 25.63 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007646/0.4003, allocations: 0.7803 MB / 490.1 MB, free: 25.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.4003, allocations: 3.406 kB / 490.1 MB, free: 25.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001476/0.4018, allocations: 0.9373 MB / 491 MB, free: 24.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.4018, allocations: 8.594 kB / 491 MB, free: 24.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.4019, allocations: 9.062 kB / 491 MB, free: 24.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009767/0.4028, allocations: 270.2 kB / 491.3 MB, free: 24.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003535/0.4032, allocations: 132.4 kB / 491.4 MB, free: 24.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006759/0.4039, allocations: 0.8677 MB / 492.3 MB, free: 23.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004573/0.4044, allocations: 50.42 kB / 492.3 MB, free: 23.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-05/0.4044, allocations: 35.03 kB / 492.4 MB, free: 23.86 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.0002388/0.4047, allocations: 240.7 kB / 492.6 MB, free: 23.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.677e-05/0.4048, allocations: 66.38 kB / 492.7 MB, free: 23.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.4059, allocations: 0.7224 MB / 493.4 MB, free: 23.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.4059, allocations: 6.031 kB / 493.4 MB, free: 23.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.406, allocations: 0 / 493.4 MB, free: 23.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.406, allocations: 6.422 kB / 493.4 MB, free: 23.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001792/0.4078, allocations: 1.402 MB / 494.8 MB, free: 22.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.4078, allocations: 5.25 kB / 494.8 MB, free: 22.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009832/0.4088, allocations: 195 kB / 495 MB, free: 22.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002951/0.4091, allocations: 62.58 kB / 495.1 MB, free: 22.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.731e-05/0.4091, allocations: 16.58 kB / 495.1 MB, free: 22.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001788/0.4109, allocations: 2.784 MB / 497.9 MB, free: 19.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.4109, allocations: 9.938 kB / 497.9 MB, free: 19.72 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001527/0.4125, allocations: 0.9948 MB / 498.9 MB, free: 19.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003385/0.4128, allocations: 209.2 kB / 499.1 MB, free: 19.01 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.831e-05/0.4129, allocations: 14.45 kB / 499.1 MB, free: 19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004017/0.4133, allocations: 21.17 kB / 499.1 MB, free: 19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.4135, allocations: 42.69 kB / 499.2 MB, free: 18.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.566e-05/0.4135, allocations: 20.69 kB / 499.2 MB, free: 18.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005609/0.4141, allocations: 419.8 kB / 499.6 MB, free: 18.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4141, allocations: 0 / 499.6 MB, free: 18.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008733/0.415, allocations: 210.3 kB / 499.8 MB, free: 18.77 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.002176/0.4171, allocations: 1.682 MB / 0.4897 GB, free: 17.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001209/0.4184, allocations: 0.5936 MB / 0.4903 GB, free: 17.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.4184, allocations: 5.406 kB / 0.4903 GB, free: 17.44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.4195, allocations: 495.3 kB / 0.4908 GB, free: 17.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001959/0.4214, allocations: 357.5 kB / 0.4911 GB, free: 17.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009004/0.4305, allocations: 7.033 MB / 0.498 GB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003889/0.4309, allocations: 0.9409 MB / 0.4989 GB, free: 12.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008864/0.4318, allocations: 209.8 kB / 0.4991 GB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003198/0.4321, allocations: 235.1 kB / 0.4993 GB, free: 11.81 MB / 382.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4321, allocations: 1.562 kB / 0.4993 GB, free: 11.81 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03837/0.4705, allocations: 20.93 MB / 0.5198 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002055/0.4708, allocations: 319.3 kB / 0.5201 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.299/2.769, allocations: 4.062 kB / 0.5201 GB, free: 0.5469 MB / 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