Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.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.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",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.001138/0.001138, allocations: 105.7 kB / 15.98 MB, free: 6.34 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.001027/0.001027, allocations: 194.2 kB / 16.91 MB, free: 6.184 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.618/1.618, allocations: 205.1 MB / 222.8 MB, free: 4.707 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.4107/0.4107, allocations: 43.5 MB / 313.6 MB, free: 8.52 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.001616/0.001616, allocations: 71.89 kB / 382.3 MB, free: 8.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1622, allocations: 57.79 MB / 440.1 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.3693/0.5316, allocations: 30.57 MB / 470.7 MB, free: 33.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006539/0.5382, allocations: 4.676 MB / 475.4 MB, free: 30.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000669/0.5389, allocations: 23.5 kB / 475.4 MB, free: 30.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008728/0.5398, allocations: 266.4 kB / 475.6 MB, free: 30.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004119/0.5439, allocations: 1.647 MB / 477.3 MB, free: 29.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003622/0.5475, allocations: 1.399 MB / 478.7 MB, free: 29.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002124/0.5497, allocations: 1.862 MB / 480.6 MB, free: 28.35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005872/0.5503, allocations: 480.8 kB / 481 MB, free: 28.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005203/0.5555, allocations: 3.476 MB / 484.5 MB, free: 27.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001987/0.5575, allocations: 1.414 MB / 485.9 MB, free: 26.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001305/0.5576, allocations: 62.5 kB / 486 MB, free: 26.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002833/0.5605, allocations: 1.484 MB / 487.5 MB, free: 26.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002793/0.5608, allocations: 267.4 kB / 487.7 MB, free: 26.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004369/0.5612, allocations: 408 kB / 488.1 MB, free: 26.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0024/0.5636, allocations: 1.491 MB / 489.6 MB, free: 25.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.5636, allocations: 3.938 kB / 489.6 MB, free: 25.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.5637, allocations: 0 / 489.6 MB, free: 25.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.572e-05/0.5637, allocations: 4 kB / 489.6 MB, free: 25.76 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002296/0.566, allocations: 1.142 MB / 490.8 MB, free: 24.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.566, allocations: 12.98 kB / 490.8 MB, free: 24.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001367/0.5662, allocations: 103.7 kB / 490.9 MB, free: 24.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.5672, allocations: 139.5 kB / 491 MB, free: 24.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008439/0.5681, allocations: 0.5114 MB / 491.5 MB, free: 24.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/0.5682, allocations: 103.3 kB / 491.6 MB, free: 24.42 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.5684, allocations: 49.67 kB / 491.7 MB, free: 24.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001914/0.5703, allocations: 0.8364 MB / 492.5 MB, free: 23.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.186e-05/0.5703, allocations: 6.266 kB / 492.5 MB, free: 23.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.143e-05/0.5704, allocations: 28.23 kB / 492.5 MB, free: 23.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.001e-05/0.5705, allocations: 44.08 kB / 492.6 MB, free: 23.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001381/0.5719, allocations: 0.6017 MB / 493.2 MB, free: 23.7 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.00552/0.5774, allocations: 4.895 MB / 498.1 MB, free: 19.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007416/0.5782, allocations: 340.2 kB / 498.4 MB, free: 19.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002673/0.5785, allocations: 145.2 kB / 498.6 MB, free: 19.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004635/0.5789, allocations: 0.604 MB / 499.2 MB, free: 18.63 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.579, allocations: 43 kB / 499.2 MB, free: 18.58 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 3.216e-06/0.579, allocations: 0 / 499.2 MB, free: 18.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.004273/0.5833, allocations: 1.534 MB / 0.489 GB, free: 17.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.5833, allocations: 133.5 kB / 0.4891 GB, free: 17.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009134/0.5842, allocations: 0.655 MB / 0.4898 GB, free: 17.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.39e-05/0.5843, allocations: 32.92 kB / 0.4898 GB, free: 17.26 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002497/0.5846, allocations: 391.5 kB / 0.4902 GB, free: 16.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.5847, allocations: 134 kB / 0.4903 GB, free: 16.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002284/0.5849, allocations: 152.6 kB / 0.4904 GB, free: 16.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.5851, allocations: 375.2 kB / 0.4908 GB, free: 16.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003813/0.5854, allocations: 202.2 kB / 0.491 GB, free: 16.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005911/0.586, allocations: 0.5005 MB / 0.4915 GB, free: 15.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009473/0.587, allocations: 0.7149 MB / 0.4922 GB, free: 15.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.587, allocations: 11.44 kB / 0.4922 GB, free: 15.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00179/0.5888, allocations: 0.8967 MB / 0.4931 GB, free: 14.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.5889, allocations: 9.516 kB / 0.4931 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/0.5889, allocations: 9.594 kB / 0.4931 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00129/0.5902, allocations: 291.6 kB / 0.4934 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000396/0.5906, allocations: 128.4 kB / 0.4935 GB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/0.5916, allocations: 1.399 MB / 0.4949 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005916/0.5922, allocations: 29.2 kB / 0.4949 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.742e-05/0.5923, allocations: 48.7 kB / 0.4949 GB, free: 13.66 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 (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003719/0.5927, allocations: 246.1 kB / 0.4952 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.5928, allocations: 75.59 kB / 0.4952 GB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/0.5944, allocations: 0.6618 MB / 0.4959 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.5944, allocations: 3.344 kB / 0.4959 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.5944, allocations: 1.031 kB / 0.4959 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.5945, allocations: 2.156 kB / 0.4959 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002248/0.5967, allocations: 1.229 MB / 0.4971 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.5967, allocations: 1.812 kB / 0.4971 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002026/0.5969, allocations: 41.2 kB / 0.4971 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001013/0.598, allocations: 213.7 kB / 0.4973 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.33e-05/0.598, allocations: 10.05 kB / 0.4973 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009504/0.599, allocations: 1.298 MB / 0.4986 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.599, allocations: 6.453 kB / 0.4986 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/0.6006, allocations: 0.8133 MB / 0.4994 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004022/0.601, allocations: 187.1 kB / 0.4996 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.6011, allocations: 7.562 kB / 0.4996 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004224/0.6015, allocations: 26.42 kB / 0.4996 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.6016, allocations: 21.97 kB / 0.4996 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.686e-05/0.6017, allocations: 23.78 kB / 0.4997 GB, free: 10.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007086/0.6024, allocations: 459.1 kB / 0.5001 GB, free: 10.44 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6024, allocations: 1.25 kB / 0.5001 GB, free: 10.44 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001397/0.6038, allocations: 296.7 kB / 0.5004 GB, free: 10.39 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00264/0.6065, allocations: 1.612 MB / 0.502 GB, free: 9.344 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001456/0.608, allocations: 0.5644 MB / 0.5025 GB, free: 9.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.608, allocations: 0.5312 kB / 0.5025 GB, free: 9.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000551/0.6085, allocations: 223.5 kB / 0.5027 GB, free: 9.102 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001659/0.6102, allocations: 322.4 kB / 0.503 GB, free: 9.016 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01076/0.621, allocations: 6.578 MB / 0.5095 GB, free: 4.887 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005686/0.6216, allocations: 0.9277 MB / 0.5104 GB, free: 4.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001182/0.6228, allocations: 217 kB / 0.5106 GB, free: 4.098 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003635/0.6231, allocations: 224 kB / 0.5108 GB, free: 3.941 MB / 382.1 MB Notification: Performance of SimCode: time 1.644e-06/0.6232, allocations: 4 kB / 0.5108 GB, free: 3.938 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0815/0.7047, allocations: 22.63 MB / 0.5329 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003778/0.7051, allocations: 311.5 kB / 0.5332 GB, free: 420 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.575/3.28, allocations: 0 / 0.5332 GB, free: 420 kB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Incompressible/Glycol47/Glycol47.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches