Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.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.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",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.001107/0.001108, allocations: 97.33 kB / 16.02 MB, free: 84 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.001648/0.001649, allocations: 182 kB / 16.92 MB, free: 6.703 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.684/1.684, allocations: 205.4 MB / 223.1 MB, free: 5.758 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.3741/0.3741, allocations: 43.57 MB / 315 MB, free: 8.875 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.0005054/0.0005054, allocations: 16 kB / 384.7 MB, free: 7.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1315, allocations: 58.85 MB / 443.6 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.2591/0.3907, allocations: 16.39 MB / 459.9 MB, free: 36.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006484/0.3972, allocations: 5.523 MB / 465.5 MB, free: 36.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007464/0.398, allocations: 22.69 kB / 465.5 MB, free: 36.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008277/0.3988, allocations: 280.2 kB / 465.8 MB, free: 36.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001799/0.4006, allocations: 0.7924 MB / 466.6 MB, free: 35.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002318/0.403, allocations: 0.8978 MB / 467.5 MB, free: 35.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002216/0.4052, allocations: 2.662 MB / 470.1 MB, free: 35.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005391/0.4058, allocations: 390.8 kB / 470.5 MB, free: 35.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.4069, allocations: 0.6498 MB / 471.1 MB, free: 35.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009406/0.4078, allocations: 0.6389 MB / 471.8 MB, free: 35.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.643e-05/0.4079, allocations: 30.03 kB / 471.8 MB, free: 35.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008858/0.4088, allocations: 337.3 kB / 472.1 MB, free: 35.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002359/0.409, allocations: 233.9 kB / 472.4 MB, free: 35.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003793/0.4094, allocations: 391.4 kB / 472.8 MB, free: 35.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009943/0.4104, allocations: 1.069 MB / 473.8 MB, free: 34.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.4104, allocations: 0 / 473.8 MB, free: 34.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.074e-05/0.4105, allocations: 7.938 kB / 473.8 MB, free: 34.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.4105, allocations: 0 / 473.8 MB, free: 34.95 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.001592/0.4121, allocations: 0.9032 MB / 474.7 MB, free: 34.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.4121, allocations: 12.97 kB / 474.7 MB, free: 34.36 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001107/0.4122, allocations: 99.5 kB / 474.8 MB, free: 34.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003008/0.4126, allocations: 89.02 kB / 474.9 MB, free: 34.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006283/0.4132, allocations: 0.5139 MB / 475.4 MB, free: 34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.886e-05/0.4133, allocations: 98.69 kB / 475.5 MB, free: 33.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.201e-05/0.4134, allocations: 50.62 kB / 475.6 MB, free: 33.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.4145, allocations: 0.8311 MB / 476.4 MB, free: 33.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.4145, allocations: 6.969 kB / 476.4 MB, free: 33.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.195e-05/0.4146, allocations: 25.81 kB / 476.5 MB, free: 33.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.773e-05/0.4147, allocations: 39.62 kB / 476.5 MB, free: 33.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009931/0.4157, allocations: 0.6445 MB / 477.1 MB, free: 33.65 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.004689/0.4204, allocations: 4.339 MB / 481.5 MB, free: 30.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005742/0.421, allocations: 355.2 kB / 481.8 MB, free: 30.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002338/0.4212, allocations: 174.4 kB / 482 MB, free: 30.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001482/0.4227, allocations: 1.7 MB / 483.7 MB, free: 28.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.4227, allocations: 41.72 kB / 483.7 MB, free: 28.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.863e-06/0.4227, allocations: 0 / 483.7 MB, free: 28.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.003249/0.426, allocations: 1.401 MB / 485.1 MB, free: 27.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.277e-05/0.4261, allocations: 131.8 kB / 485.3 MB, free: 27.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007452/0.4268, allocations: 0.6317 MB / 485.9 MB, free: 27.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.953e-05/0.4269, allocations: 36.92 kB / 485.9 MB, free: 27.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002535/0.4272, allocations: 398 kB / 486.3 MB, free: 27.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.4273, allocations: 139.8 kB / 486.5 MB, free: 27.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.815e-05/0.4274, allocations: 63.41 kB / 486.5 MB, free: 27.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.4275, allocations: 374.4 kB / 486.9 MB, free: 26.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002786/0.4278, allocations: 188.8 kB / 487.1 MB, free: 26.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005319/0.4283, allocations: 0.558 MB / 487.6 MB, free: 26.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008085/0.4291, allocations: 0.7796 MB / 488.4 MB, free: 25.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.4292, allocations: 9.656 kB / 488.4 MB, free: 25.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001322/0.4305, allocations: 0.8307 MB / 489.2 MB, free: 25.03 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.4305, allocations: 11.34 kB / 489.3 MB, free: 25.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/0.4305, allocations: 10.66 kB / 489.3 MB, free: 25.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004466/0.431, allocations: 101 kB / 489.4 MB, free: 25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006204/0.4316, allocations: 180.5 kB / 489.5 MB, free: 24.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005252/0.4322, allocations: 0.6638 MB / 490.2 MB, free: 24.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005206/0.4327, allocations: 44.16 kB / 490.3 MB, free: 24.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-05/0.4328, allocations: 42.11 kB / 490.3 MB, free: 24.38 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (87): * Single equations (assignments): 86 * 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 {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003245/0.4331, allocations: 257.1 kB / 490.5 MB, free: 24.19 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.4332, allocations: 71.75 kB / 490.6 MB, free: 24.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008749/0.4341, allocations: 0.5111 MB / 491.1 MB, free: 23.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.4341, allocations: 3.219 kB / 491.1 MB, free: 23.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.4341, allocations: 0 / 491.1 MB, free: 23.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.4342, allocations: 3.609 kB / 491.1 MB, free: 23.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/0.4358, allocations: 1.216 MB / 492.3 MB, free: 23.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.4359, allocations: 3.156 kB / 492.4 MB, free: 23.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002653/0.4361, allocations: 74.53 kB / 492.4 MB, free: 23.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001619/0.4363, allocations: 47.86 kB / 492.5 MB, free: 23.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.949e-05/0.4363, allocations: 13.12 kB / 492.5 MB, free: 23.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003166/0.4367, allocations: 0.5655 MB / 493 MB, free: 22.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.4367, allocations: 7.125 kB / 493.1 MB, free: 22.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009845/0.4377, allocations: 0.7271 MB / 493.8 MB, free: 22.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002871/0.438, allocations: 196.6 kB / 494 MB, free: 21.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.664e-05/0.4381, allocations: 10.53 kB / 494 MB, free: 21.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004349/0.4385, allocations: 31.05 kB / 494 MB, free: 21.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.087e-05/0.4386, allocations: 28.16 kB / 494 MB, free: 21.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.213e-05/0.4387, allocations: 22.33 kB / 494.1 MB, free: 21.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007564/0.4394, allocations: 474.8 kB / 494.5 MB, free: 21.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.653e-06/0.4394, allocations: 4 kB / 494.5 MB, free: 21.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009447/0.4404, allocations: 205.3 kB / 494.7 MB, free: 21.71 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 1 (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 (36): * Single equations (assignments): 35 * 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 {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001816/0.4422, allocations: 1.398 MB / 496.1 MB, free: 20.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001387/0.4436, allocations: 0.4916 MB / 496.6 MB, free: 20.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.4436, allocations: 2.031 kB / 496.6 MB, free: 20.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003945/0.444, allocations: 182.8 kB / 496.8 MB, free: 20.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00209/0.4461, allocations: 345.9 kB / 497.1 MB, free: 20.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/0.4562, allocations: 6.829 MB / 0.4922 GB, free: 15.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000525/0.4567, allocations: 0.9386 MB / 0.4931 GB, free: 15.15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009183/0.4577, allocations: 214.4 kB / 0.4933 GB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000294/0.458, allocations: 231 kB / 0.4935 GB, free: 14.95 MB / 382.1 MB Notification: Performance of SimCode: time 1.312e-06/0.458, allocations: 3.938 kB / 0.4935 GB, free: 14.95 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04115/0.4991, allocations: 19.5 MB / 0.5126 GB, free: 7.516 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002117/0.4994, allocations: 323.3 kB / 0.5129 GB, free: 7.129 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.224/2.724, allocations: 0 / 0.5129 GB, free: 7.129 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches