Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.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.Essotherm650,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",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.001295/0.001296, allocations: 105.4 kB / 16.4 MB, free: 6.043 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.001599/0.0016, allocations: 189 kB / 17.34 MB, free: 5.609 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.497/1.497, 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.2343/0.2343, allocations: 43.52 MB / 314.1 MB, free: 460 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.00163/0.001631, allocations: 71.91 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1419, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.04142/0.1834, allocations: 30.07 MB / 0.5168 GB, free: 14.08 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008729/0.1922, allocations: 4.585 MB / 0.5213 GB, free: 9.484 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/0.1934, allocations: 19.88 kB / 0.5213 GB, free: 9.465 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001425/0.1949, allocations: 302 kB / 0.5216 GB, free: 9.168 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006131/0.2011, allocations: 1.821 MB / 0.5233 GB, free: 7.34 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004317/0.2054, allocations: 1.539 MB / 0.5248 GB, free: 5.797 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003542/0.209, allocations: 1.841 MB / 0.5266 GB, free: 3.949 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00147/0.2105, allocations: 481.3 kB / 0.5271 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3533/0.5638, allocations: 3.495 MB / 0.5305 GB, free: 6.773 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003189/0.5671, allocations: 1.379 MB / 0.5319 GB, free: 6.773 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002569/0.5673, allocations: 60.75 kB / 0.5319 GB, free: 6.773 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003883/0.5712, allocations: 1.543 MB / 0.5334 GB, free: 6.773 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003912/0.5716, allocations: 270.4 kB / 0.5337 GB, free: 6.773 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005431/0.5722, allocations: 401.2 kB / 0.5341 GB, free: 6.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002643/0.5748, allocations: 1.482 MB / 0.5355 GB, free: 6.637 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.5748, allocations: 0 / 0.5355 GB, free: 6.637 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.5749, allocations: 0 / 0.5355 GB, free: 6.637 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.5749, allocations: 1.219 kB / 0.5355 GB, free: 6.637 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.002486/0.5774, allocations: 1.146 MB / 0.5366 GB, free: 6.109 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.5774, allocations: 17.3 kB / 0.5367 GB, free: 6.105 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001411/0.5776, allocations: 103.8 kB / 0.5368 GB, free: 6.066 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009949/0.5786, allocations: 140.9 kB / 0.5369 GB, free: 6.027 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.5797, allocations: 0.5312 MB / 0.5374 GB, free: 5.766 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/0.5798, allocations: 106.5 kB / 0.5375 GB, free: 5.703 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.5799, allocations: 52.28 kB / 0.5376 GB, free: 5.703 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/0.5817, allocations: 0.8379 MB / 0.5384 GB, free: 5.461 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/0.5817, allocations: 5.516 kB / 0.5384 GB, free: 5.461 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.612e-05/0.5818, allocations: 21.28 kB / 0.5384 GB, free: 5.461 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.994e-05/0.5819, allocations: 44.38 kB / 0.5384 GB, free: 5.461 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/0.5831, allocations: 0.6031 MB / 0.539 GB, free: 5.461 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.005198/0.5883, allocations: 4.883 MB / 0.5438 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008041/0.5891, allocations: 335.7 kB / 0.5441 GB, free: 1.828 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002972/0.5894, allocations: 145 kB / 0.5443 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000561/0.59, allocations: 0.6052 MB / 0.5448 GB, free: 1.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.59, allocations: 37 kB / 0.5449 GB, free: 1.121 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.214e-06/0.59, allocations: 0 / 0.5449 GB, free: 1.121 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.004421/0.5945, allocations: 1.538 MB / 0.5464 GB, free: 16.62 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.685e-05/0.5946, allocations: 137.6 kB / 0.5465 GB, free: 16.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/0.5957, allocations: 0.6592 MB / 0.5472 GB, free: 16.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.656e-05/0.5958, allocations: 32.52 kB / 0.5472 GB, free: 16.29 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002775/0.5961, allocations: 385 kB / 0.5476 GB, free: 16.08 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.5962, allocations: 142.1 kB / 0.5477 GB, free: 15.99 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002495/0.5964, allocations: 153.8 kB / 0.5478 GB, free: 15.96 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002277/0.5967, allocations: 378.7 kB / 0.5482 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004429/0.5971, allocations: 205.8 kB / 0.5484 GB, free: 15.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006548/0.5978, allocations: 0.4993 MB / 0.5489 GB, free: 15.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.599, allocations: 0.7132 MB / 0.5496 GB, free: 14.92 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.599, allocations: 3.312 kB / 0.5496 GB, free: 14.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001991/0.601, allocations: 0.8921 MB / 0.5505 GB, free: 14.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/0.6011, allocations: 8.531 kB / 0.5505 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-05/0.6011, allocations: 9.812 kB / 0.5505 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001422/0.6025, allocations: 295.3 kB / 0.5508 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003903/0.6029, allocations: 122.9 kB / 0.5509 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001329/0.6043, allocations: 1.403 MB / 0.5522 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004678/0.6048, allocations: 26.17 kB / 0.5523 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.621e-05/0.6049, allocations: 47.78 kB / 0.5523 GB, free: 13.75 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.0003553/0.6052, allocations: 246.4 kB / 0.5525 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/0.6054, allocations: 74.73 kB / 0.5526 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001681/0.6071, allocations: 0.6504 MB / 0.5533 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.6071, allocations: 4.375 kB / 0.5533 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.6071, allocations: 4 kB / 0.5533 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.6071, allocations: 2.844 kB / 0.5533 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002133/0.6092, allocations: 1.226 MB / 0.5545 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.6093, allocations: 0.8438 kB / 0.5545 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.6094, allocations: 46.11 kB / 0.5545 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008398/0.6103, allocations: 200 kB / 0.5547 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.275e-05/0.6103, allocations: 15.2 kB / 0.5547 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00104/0.6114, allocations: 1.297 MB / 0.556 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.6114, allocations: 6.859 kB / 0.556 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.6128, allocations: 0.8209 MB / 0.5568 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003769/0.6132, allocations: 187 kB / 0.557 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.242e-05/0.6133, allocations: 8.375 kB / 0.557 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003569/0.6136, allocations: 19.48 kB / 0.557 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.167e-05/0.6137, allocations: 30.67 kB / 0.557 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.113e-05/0.6138, allocations: 21.36 kB / 0.557 GB, free: 11.73 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006644/0.6144, allocations: 455.6 kB / 0.5575 GB, free: 11.64 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6144, allocations: 0 / 0.5575 GB, free: 11.64 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001287/0.6157, allocations: 297.1 kB / 0.5578 GB, free: 11.62 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.002656/0.6184, allocations: 1.593 MB / 0.5593 GB, free: 10.85 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001157/0.6196, allocations: 0.5356 MB / 0.5598 GB, free: 10.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.6196, allocations: 5.5 kB / 0.5598 GB, free: 10.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004945/0.6201, allocations: 226.7 kB / 0.5601 GB, free: 10.81 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/0.6216, allocations: 334 kB / 0.5604 GB, free: 10.77 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009554/0.6312, allocations: 6.141 MB / 0.5664 GB, free: 8.246 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006095/0.6318, allocations: 0.9323 MB / 0.5673 GB, free: 7.52 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000731/0.6326, allocations: 216.2 kB / 0.5675 GB, free: 7.469 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003746/0.633, allocations: 227.8 kB / 0.5677 GB, free: 7.309 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.633, allocations: 1.844 kB / 0.5677 GB, free: 7.309 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0553/0.6883, allocations: 23.39 MB / 0.5906 GB, free: 6.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.52/14.21, allocations: 8.234 kB / 0.5906 GB, free: 6.582 MB / 446.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Incompressible/Essotherm650/Essotherm650.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches