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.001169/0.001169, allocations: 108.8 kB / 16.41 MB, free: 6.477 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.001156/0.001156, allocations: 189.5 kB / 17.34 MB, free: 5.754 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.304/1.304, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2037/0.2037, allocations: 43.52 MB / 314.1 MB, free: 468 kB / 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.001456/0.001456, allocations: 63.91 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1046, allocations: 57.8 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02155/0.1262, allocations: 20.25 MB / 0.5072 GB, free: 7.957 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006698/0.1329, allocations: 4.286 MB / 0.5114 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007095/0.1337, allocations: 23.88 kB / 0.5114 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.1347, allocations: 306 kB / 0.5117 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002345/0.1372, allocations: 0.855 MB / 0.5125 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002422/0.1396, allocations: 0.8999 MB / 0.5134 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002361/0.142, allocations: 1.798 MB / 0.5152 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008344/0.1428, allocations: 461.3 kB / 0.5156 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001898/0.1448, allocations: 0.9301 MB / 0.5165 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001098/0.1459, allocations: 0.6305 MB / 0.5171 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002171/0.1461, allocations: 60 kB / 0.5172 GB, free: 13.69 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009383/0.1471, allocations: 303.6 kB / 0.5175 GB, free: 13.39 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003572/0.1474, allocations: 263.2 kB / 0.5177 GB, free: 13.14 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006088/0.148, allocations: 390.2 kB / 0.5181 GB, free: 12.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001697/0.1497, allocations: 1.09 MB / 0.5192 GB, free: 11.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1498, allocations: 0 / 0.5192 GB, free: 11.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1498, allocations: 0 / 0.5192 GB, free: 11.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.96e-05/0.1498, allocations: 0 / 0.5192 GB, free: 11.66 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.00256/0.1524, allocations: 1.047 MB / 0.5202 GB, free: 10.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.1524, allocations: 15.89 kB / 0.5202 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001633/0.1526, allocations: 102.6 kB / 0.5203 GB, free: 10.44 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003816/0.153, allocations: 92.08 kB / 0.5204 GB, free: 10.35 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000909/0.1539, allocations: 0.5288 MB / 0.5209 GB, free: 9.781 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/0.154, allocations: 101 kB / 0.521 GB, free: 9.672 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.938e-05/0.1542, allocations: 52.12 kB / 0.521 GB, free: 9.621 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.1554, allocations: 0.8136 MB / 0.5218 GB, free: 8.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.1554, allocations: 3.938 kB / 0.5218 GB, free: 8.727 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.076e-05/0.1555, allocations: 31.92 kB / 0.5219 GB, free: 8.695 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-05/0.1556, allocations: 40.97 kB / 0.5219 GB, free: 8.656 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.1567, allocations: 0.6438 MB / 0.5225 GB, free: 8.012 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.004914/0.1616, allocations: 4.217 MB / 0.5267 GB, free: 3.504 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009136/0.1625, allocations: 415.8 kB / 0.5271 GB, free: 3.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003394/0.1629, allocations: 213.4 kB / 0.5273 GB, free: 2.879 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005214/0.1634, allocations: 0.5029 MB / 0.5278 GB, free: 2.266 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.1635, allocations: 34.89 kB / 0.5278 GB, free: 2.223 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 4.419e-06/0.1635, allocations: 0 / 0.5278 GB, free: 2.223 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.003416/0.1669, allocations: 1.525 MB / 0.5293 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.823e-05/0.167, allocations: 132.5 kB / 0.5294 GB, free: 496 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2068/0.3738, allocations: 0.5702 MB / 0.53 GB, free: 42.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001448/0.374, allocations: 35.52 kB / 0.53 GB, free: 42.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002616/0.3742, allocations: 352.8 kB / 0.5303 GB, free: 42.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.3744, allocations: 166.8 kB / 0.5305 GB, free: 42.37 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002116/0.3746, allocations: 142.1 kB / 0.5306 GB, free: 42.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.351e-05/0.3747, allocations: 380.5 kB / 0.531 GB, free: 42.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004019/0.3751, allocations: 222.1 kB / 0.5312 GB, free: 42.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000451/0.3756, allocations: 0.5234 MB / 0.5317 GB, free: 41.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007984/0.3764, allocations: 0.7755 MB / 0.5325 GB, free: 41.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.3764, allocations: 3.25 kB / 0.5325 GB, free: 41.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001765/0.3782, allocations: 0.9368 MB / 0.5334 GB, free: 41.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.3782, allocations: 13.64 kB / 0.5334 GB, free: 41.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.3782, allocations: 9.062 kB / 0.5334 GB, free: 41.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00111/0.3793, allocations: 273.4 kB / 0.5337 GB, free: 41.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004742/0.3798, allocations: 120 kB / 0.5338 GB, free: 41.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009182/0.3808, allocations: 0.8674 MB / 0.5346 GB, free: 40.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005475/0.3813, allocations: 26.05 kB / 0.5347 GB, free: 40.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-05/0.3814, allocations: 37.52 kB / 0.5347 GB, free: 40.64 MB / 414.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.0003319/0.3817, allocations: 252.7 kB / 0.5349 GB, free: 40.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.3819, allocations: 67.84 kB / 0.535 GB, free: 40.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001409/0.3833, allocations: 0.7052 MB / 0.5357 GB, free: 40.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.3833, allocations: 5.969 kB / 0.5357 GB, free: 40.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.3833, allocations: 1.312 kB / 0.5357 GB, free: 40.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.3834, allocations: 6.75 kB / 0.5357 GB, free: 40.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002092/0.3854, allocations: 1.399 MB / 0.5371 GB, free: 39.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.3855, allocations: 5.5 kB / 0.5371 GB, free: 39.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009819/0.3865, allocations: 192.6 kB / 0.5373 GB, free: 39.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002348/0.3867, allocations: 56.81 kB / 0.5373 GB, free: 39.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.595e-05/0.3868, allocations: 16.25 kB / 0.5373 GB, free: 39.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001669/0.3884, allocations: 2.982 MB / 0.5402 GB, free: 36.69 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3884, allocations: 1.938 kB / 0.5402 GB, free: 36.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.3899, allocations: 1 MB / 0.5412 GB, free: 36.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002829/0.3902, allocations: 199 kB / 0.5414 GB, free: 35.99 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.21e-05/0.3903, allocations: 19.27 kB / 0.5414 GB, free: 35.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003808/0.3906, allocations: 21.72 kB / 0.5414 GB, free: 35.97 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.3908, allocations: 39.95 kB / 0.5415 GB, free: 35.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.953e-05/0.3908, allocations: 21.12 kB / 0.5415 GB, free: 35.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005995/0.3914, allocations: 420.2 kB / 0.5419 GB, free: 35.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3914, allocations: 0 / 0.5419 GB, free: 35.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001032/0.3925, allocations: 202.6 kB / 0.5421 GB, free: 35.75 MB / 414.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.00256/0.395, allocations: 1.686 MB / 0.5437 GB, free: 34.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001393/0.3964, allocations: 0.6039 MB / 0.5443 GB, free: 34.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3965, allocations: 0 / 0.5443 GB, free: 34.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001091/0.3976, allocations: 487.3 kB / 0.5448 GB, free: 34.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001675/0.3992, allocations: 372.5 kB / 0.5451 GB, free: 34.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009858/0.4091, allocations: 6.533 MB / 0.5515 GB, free: 30.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004377/0.4096, allocations: 0.937 MB / 0.5524 GB, free: 29.58 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008075/0.4104, allocations: 206.4 kB / 0.5526 GB, free: 29.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003167/0.4107, allocations: 231.3 kB / 0.5529 GB, free: 29.38 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4107, allocations: 0 / 0.5529 GB, free: 29.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04966/0.4604, allocations: 22.44 MB / 0.5748 GB, free: 13.73 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.15, allocations: 20.28 kB / 0.5748 GB, free: 13.71 MB / 414.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches