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.001484/0.00149, allocations: 102.7 kB / 16.4 MB, free: 6.473 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.001696/0.001697, 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.551/1.551, 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.2353/0.2353, allocations: 43.53 MB / 314.1 MB, free: 464 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.001679/0.001679, allocations: 63.91 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1408, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.03676/0.1776, allocations: 30.09 MB / 0.5168 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007492/0.1851, allocations: 4.585 MB / 0.5213 GB, free: 9.496 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008644/0.186, allocations: 23.81 kB / 0.5213 GB, free: 9.473 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001106/0.1872, allocations: 302 kB / 0.5216 GB, free: 9.176 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005338/0.1926, allocations: 1.774 MB / 0.5233 GB, free: 7.395 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00383/0.1964, allocations: 1.488 MB / 0.5248 GB, free: 5.902 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002674/0.1991, allocations: 1.844 MB / 0.5266 GB, free: 4.051 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009318/0.2, allocations: 485.4 kB / 0.527 GB, free: 3.574 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006319/0.2064, allocations: 3.164 MB / 0.5301 GB, free: 412 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3433/0.5497, allocations: 1.261 MB / 0.5314 GB, free: 6.812 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003116/0.55, allocations: 64.06 kB / 0.5314 GB, free: 6.812 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00425/0.5543, allocations: 1.452 MB / 0.5328 GB, free: 6.812 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005507/0.5548, allocations: 259.9 kB / 0.5331 GB, free: 6.812 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008707/0.5557, allocations: 402.5 kB / 0.5335 GB, free: 6.812 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003775/0.5595, allocations: 1.49 MB / 0.5349 GB, free: 6.785 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.5595, allocations: 0 / 0.5349 GB, free: 6.785 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.5595, allocations: 0 / 0.5349 GB, free: 6.785 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.873e-05/0.5596, allocations: 0.9844 kB / 0.5349 GB, free: 6.785 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.003511/0.5631, allocations: 1.141 MB / 0.536 GB, free: 6.266 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.5632, allocations: 15.95 kB / 0.5361 GB, free: 6.262 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001657/0.5633, allocations: 105.2 kB / 0.5362 GB, free: 6.223 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001645/0.565, allocations: 145 kB / 0.5363 GB, free: 6.184 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.5662, allocations: 0.5317 MB / 0.5368 GB, free: 5.922 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/0.5664, allocations: 104 kB / 0.5369 GB, free: 5.859 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.5665, allocations: 49.16 kB / 0.537 GB, free: 5.859 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002119/0.5686, allocations: 0.8416 MB / 0.5378 GB, free: 5.617 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.269e-05/0.5687, allocations: 8.812 kB / 0.5378 GB, free: 5.617 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.5688, allocations: 26.56 kB / 0.5378 GB, free: 5.617 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-05/0.5689, allocations: 39.66 kB / 0.5379 GB, free: 5.617 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001681/0.5706, allocations: 0.6024 MB / 0.5384 GB, free: 5.617 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.005673/0.5763, allocations: 4.887 MB / 0.5432 GB, free: 2.008 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006503/0.5769, allocations: 327.9 kB / 0.5435 GB, free: 1.984 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002442/0.5772, allocations: 147.8 kB / 0.5437 GB, free: 1.973 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004088/0.5776, allocations: 0.6052 MB / 0.5443 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001058/0.5777, allocations: 36.12 kB / 0.5443 GB, free: 17.28 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 2.124e-06/0.5777, allocations: 1.859 kB / 0.5443 GB, free: 17.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=36): time 0.004253/0.582, allocations: 1.536 MB / 0.5458 GB, free: 16.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.48e-05/0.5821, allocations: 136.2 kB / 0.5459 GB, free: 16.62 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.5833, allocations: 0.6593 MB / 0.5466 GB, free: 16.47 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.407e-05/0.5834, allocations: 35.45 kB / 0.5466 GB, free: 16.44 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003017/0.5837, allocations: 384.6 kB / 0.547 GB, free: 16.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.5838, allocations: 135.4 kB / 0.5471 GB, free: 16.15 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002416/0.584, allocations: 155 kB / 0.5472 GB, free: 16.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.5843, allocations: 378 kB / 0.5476 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003653/0.5846, allocations: 206.2 kB / 0.5478 GB, free: 15.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005381/0.5852, allocations: 0.4966 MB / 0.5483 GB, free: 15.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008693/0.586, allocations: 0.7135 MB / 0.549 GB, free: 15.08 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.5861, allocations: 2.875 kB / 0.549 GB, free: 15.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001859/0.5879, allocations: 0.8964 MB / 0.5499 GB, free: 14.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.588, allocations: 8.5 kB / 0.5499 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.588, allocations: 11 kB / 0.5499 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00133/0.5893, allocations: 293.2 kB / 0.5502 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000404/0.5897, allocations: 126.2 kB / 0.5503 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/0.591, allocations: 1.399 MB / 0.5516 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005716/0.5916, allocations: 28.7 kB / 0.5517 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.609e-05/0.5917, allocations: 42 kB / 0.5517 GB, free: 13.91 MB / 430.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.0004089/0.5921, allocations: 250.3 kB / 0.552 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.5923, allocations: 74.09 kB / 0.552 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001578/0.5939, allocations: 0.642 MB / 0.5527 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.5939, allocations: 4.375 kB / 0.5527 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.5939, allocations: 0 / 0.5527 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.5939, allocations: 10.61 kB / 0.5527 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002146/0.5961, allocations: 1.222 MB / 0.5539 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.5961, allocations: 0.9062 kB / 0.5539 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/0.5963, allocations: 45.66 kB / 0.5539 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008895/0.5972, allocations: 210.4 kB / 0.5541 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.976e-05/0.5972, allocations: 11.61 kB / 0.5541 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/0.5983, allocations: 1.3 MB / 0.5554 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.5983, allocations: 8.406 kB / 0.5554 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.5997, allocations: 0.8199 MB / 0.5562 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003568/0.6, allocations: 186.9 kB / 0.5564 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002005/0.6003, allocations: 7.688 kB / 0.5564 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004994/0.6008, allocations: 14.33 kB / 0.5564 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.731e-05/0.6009, allocations: 26.05 kB / 0.5564 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.946e-05/0.6009, allocations: 30.25 kB / 0.5564 GB, free: 11.89 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007301/0.6017, allocations: 454.2 kB / 0.5569 GB, free: 11.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6017, allocations: 0 / 0.5569 GB, free: 11.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001913/0.6036, allocations: 293.4 kB / 0.5572 GB, free: 11.78 MB / 430.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.00423/0.6079, allocations: 1.611 MB / 0.5587 GB, free: 11.01 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001599/0.6095, allocations: 0.5278 MB / 0.5592 GB, free: 10.99 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.6095, allocations: 0 / 0.5592 GB, free: 10.99 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005259/0.61, allocations: 225.5 kB / 0.5595 GB, free: 10.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001787/0.6118, allocations: 339.5 kB / 0.5598 GB, free: 10.94 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/0.6222, allocations: 6.152 MB / 0.5658 GB, free: 8.422 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006096/0.6229, allocations: 0.9288 MB / 0.5667 GB, free: 7.699 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007827/0.6237, allocations: 206.7 kB / 0.5669 GB, free: 7.652 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003912/0.6241, allocations: 238.8 kB / 0.5671 GB, free: 7.484 MB / 430.1 MB Notification: Performance of SimCode: time 1.032e-06/0.6241, allocations: 1.5 kB / 0.5671 GB, free: 7.484 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05945/0.6836, allocations: 23.39 MB / 0.59 GB, free: 7.332 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/13.9, allocations: 7.875 kB / 0.59 GB, free: 7.324 MB / 446.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches