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.00103/0.00103, allocations: 108.8 kB / 15.98 MB, free: 5.906 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.001066/0.001066, allocations: 190.6 kB / 16.9 MB, free: 5.758 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.706/1.706, allocations: 205.1 MB / 222.8 MB, free: 4.227 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.4359/0.4359, allocations: 43.51 MB / 313.6 MB, free: 8.922 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.001755/0.001755, allocations: 67.91 kB / 382.3 MB, free: 8.504 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1601, allocations: 57.78 MB / 440.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.3148/0.475, allocations: 16.92 MB / 457 MB, free: 37.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008046/0.4831, allocations: 5.535 MB / 462.6 MB, free: 37.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008505/0.484, allocations: 28.06 kB / 462.6 MB, free: 37.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009858/0.4849, allocations: 272.9 kB / 462.9 MB, free: 37.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002491/0.4875, allocations: 0.7752 MB / 463.6 MB, free: 37.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003323/0.4909, allocations: 0.9278 MB / 464.6 MB, free: 36.99 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002824/0.4937, allocations: 1.786 MB / 466.4 MB, free: 36.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001134/0.4948, allocations: 462.5 kB / 466.8 MB, free: 36.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001692/0.4966, allocations: 0.7449 MB / 467.5 MB, free: 36.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007637/0.4973, allocations: 0.6542 MB / 468.2 MB, free: 36.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.746e-05/0.4974, allocations: 59.81 kB / 468.3 MB, free: 36.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009234/0.4984, allocations: 344.9 kB / 468.6 MB, free: 36.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002553/0.4986, allocations: 263.8 kB / 468.9 MB, free: 36.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004036/0.499, allocations: 398 kB / 469.2 MB, free: 36.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.5005, allocations: 1.105 MB / 470.3 MB, free: 36.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.5005, allocations: 4 kB / 470.4 MB, free: 36.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.5005, allocations: 3.375 kB / 470.4 MB, free: 36.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.5005, allocations: 0 / 470.4 MB, free: 36.09 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.002115/0.5026, allocations: 1.047 MB / 471.4 MB, free: 35.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.5027, allocations: 9.562 kB / 471.4 MB, free: 35.38 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001324/0.5028, allocations: 98.72 kB / 471.5 MB, free: 35.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003685/0.5032, allocations: 90.27 kB / 471.6 MB, free: 35.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007585/0.504, allocations: 0.5092 MB / 472.1 MB, free: 34.92 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.5041, allocations: 101.5 kB / 472.2 MB, free: 34.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.641e-05/0.5042, allocations: 50.97 kB / 472.3 MB, free: 34.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.5054, allocations: 0.8341 MB / 473.1 MB, free: 34.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.5054, allocations: 3 kB / 473.1 MB, free: 34.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.859e-05/0.5055, allocations: 30.7 kB / 473.1 MB, free: 34.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.184e-05/0.5056, allocations: 39.41 kB / 473.2 MB, free: 34.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008699/0.5065, allocations: 0.6407 MB / 473.8 MB, free: 34.12 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.003802/0.5103, allocations: 4.347 MB / 478.1 MB, free: 30.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005498/0.5108, allocations: 350.7 kB / 478.5 MB, free: 30.4 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.5111, allocations: 177 kB / 478.7 MB, free: 30.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001554/0.5126, allocations: 1.697 MB / 480.4 MB, free: 28.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.5127, allocations: 41.56 kB / 480.4 MB, free: 28.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.573e-06/0.5127, allocations: 4 kB / 480.4 MB, free: 28.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.003509/0.5162, allocations: 1.396 MB / 481.8 MB, free: 27.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.086e-05/0.5163, allocations: 135 kB / 481.9 MB, free: 27.81 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007983/0.5171, allocations: 0.6258 MB / 482.6 MB, free: 27.53 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.27e-05/0.5171, allocations: 36.7 kB / 482.6 MB, free: 27.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002505/0.5174, allocations: 398 kB / 483 MB, free: 27.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.5175, allocations: 138.3 kB / 483.1 MB, free: 27.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001808/0.5177, allocations: 145.9 kB / 483.3 MB, free: 27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.5178, allocations: 373.1 kB / 483.6 MB, free: 26.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002779/0.5181, allocations: 191.9 kB / 483.8 MB, free: 26.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004542/0.5185, allocations: 0.5537 MB / 484.4 MB, free: 26.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006923/0.5192, allocations: 0.7853 MB / 485.2 MB, free: 25.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.5193, allocations: 6.125 kB / 485.2 MB, free: 25.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001156/0.5204, allocations: 0.829 MB / 486 MB, free: 25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.5205, allocations: 10.06 kB / 486 MB, free: 25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.5205, allocations: 12.69 kB / 486 MB, free: 25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004386/0.5209, allocations: 101.1 kB / 486.1 MB, free: 24.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006131/0.5216, allocations: 184 kB / 486.3 MB, free: 24.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005028/0.5221, allocations: 0.6705 MB / 487 MB, free: 24.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005584/0.5226, allocations: 44.2 kB / 487 MB, free: 24.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.198e-05/0.5227, allocations: 46.78 kB / 487 MB, free: 24.34 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.0003326/0.523, allocations: 258 kB / 487.3 MB, free: 24.15 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.5232, allocations: 65.97 kB / 487.4 MB, free: 24.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008269/0.524, allocations: 0.5064 MB / 487.9 MB, free: 23.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.524, allocations: 6.469 kB / 487.9 MB, free: 23.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.5241, allocations: 0 / 487.9 MB, free: 23.87 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.5241, allocations: 0 / 487.9 MB, free: 23.87 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001566/0.5256, allocations: 1.22 MB / 489.1 MB, free: 23.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.5257, allocations: 3.094 kB / 489.1 MB, free: 23.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002699/0.5259, allocations: 74.64 kB / 489.2 MB, free: 23.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001671/0.5261, allocations: 44.58 kB / 489.2 MB, free: 23.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/0.5262, allocations: 10.34 kB / 489.2 MB, free: 23.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002411/0.5264, allocations: 0.5668 MB / 489.8 MB, free: 22.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.5264, allocations: 2.812 kB / 489.8 MB, free: 22.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007889/0.5272, allocations: 0.732 MB / 490.5 MB, free: 22.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002325/0.5275, allocations: 185.9 kB / 490.7 MB, free: 21.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.5276, allocations: 13.25 kB / 490.7 MB, free: 21.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004089/0.528, allocations: 28.78 kB / 490.7 MB, free: 21.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.101e-05/0.528, allocations: 33.61 kB / 490.8 MB, free: 21.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.886e-05/0.5281, allocations: 25.55 kB / 490.8 MB, free: 21.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005075/0.5286, allocations: 469.4 kB / 491.3 MB, free: 21.72 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5286, allocations: 0 / 491.3 MB, free: 21.72 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001051/0.5297, allocations: 209.2 kB / 491.5 MB, free: 21.68 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.001617/0.5313, allocations: 1.401 MB / 492.9 MB, free: 20.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001508/0.5328, allocations: 0.5315 MB / 493.4 MB, free: 20.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.5328, allocations: 5.781 kB / 493.4 MB, free: 20.47 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000421/0.5333, allocations: 182.5 kB / 493.6 MB, free: 20.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/0.5351, allocations: 375.3 kB / 494 MB, free: 20.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/0.5464, allocations: 6.741 MB / 0.489 GB, free: 15.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005886/0.5471, allocations: 0.938 MB / 0.4899 GB, free: 15.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001119/0.5482, allocations: 208.8 kB / 0.4901 GB, free: 15.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003711/0.5486, allocations: 234.6 kB / 0.4903 GB, free: 14.89 MB / 382.1 MB Notification: Performance of SimCode: time 1.462e-06/0.5486, allocations: 0 / 0.4903 GB, free: 14.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05024/0.5989, allocations: 20.19 MB / 0.51 GB, free: 8.082 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/0.5991, allocations: 332 kB / 0.5103 GB, free: 7.688 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.504/3.103, allocations: 12 kB / 0.5103 GB, free: 7.676 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