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.001245/0.001245, allocations: 109.8 kB / 16.41 MB, free: 6.004 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.001154/0.001154, allocations: 190.1 kB / 17.34 MB, free: 5.625 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.539/1.539, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2249/0.2249, allocations: 43.53 MB / 314.1 MB, free: 476 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.00141/0.00141, allocations: 71.91 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1338, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.03984/0.1737, allocations: 30.07 MB / 0.5168 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007366/0.1811, allocations: 4.589 MB / 0.5213 GB, free: 9.512 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009739/0.1821, allocations: 19.88 kB / 0.5213 GB, free: 9.492 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001161/0.1832, allocations: 298.1 kB / 0.5216 GB, free: 9.199 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005396/0.1887, allocations: 1.821 MB / 0.5233 GB, free: 7.371 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004338/0.1931, allocations: 1.539 MB / 0.5248 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00274/0.1959, allocations: 1.837 MB / 0.5266 GB, free: 3.984 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009803/0.1968, allocations: 481.4 kB / 0.5271 GB, free: 3.512 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007124/0.204, allocations: 3.503 MB / 0.5305 GB, free: 0 / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2942/0.4982, allocations: 1.375 MB / 0.5319 GB, free: 7.227 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000258/0.4985, allocations: 60.47 kB / 0.5319 GB, free: 7.227 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003365/0.5019, allocations: 1.541 MB / 0.5334 GB, free: 7.227 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004737/0.5024, allocations: 266.5 kB / 0.5337 GB, free: 7.227 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007233/0.5031, allocations: 403.2 kB / 0.5341 GB, free: 7.195 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003375/0.5065, allocations: 1.49 MB / 0.5355 GB, free: 7.082 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.5065, allocations: 0.7031 kB / 0.5355 GB, free: 7.082 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.5065, allocations: 1.156 kB / 0.5355 GB, free: 7.082 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.059e-05/0.5065, allocations: 0 / 0.5355 GB, free: 7.082 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.002546/0.5091, allocations: 1.146 MB / 0.5366 GB, free: 6.555 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.5091, allocations: 14.81 kB / 0.5366 GB, free: 6.551 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001356/0.5093, allocations: 103.9 kB / 0.5367 GB, free: 6.512 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.5103, allocations: 146.8 kB / 0.5369 GB, free: 6.473 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000905/0.5112, allocations: 0.5347 MB / 0.5374 GB, free: 6.211 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.5113, allocations: 104 kB / 0.5375 GB, free: 6.148 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.5115, allocations: 51.36 kB / 0.5376 GB, free: 6.148 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.513, allocations: 0.8358 MB / 0.5384 GB, free: 5.906 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.5131, allocations: 4.969 kB / 0.5384 GB, free: 5.906 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.549e-05/0.5132, allocations: 26.16 kB / 0.5384 GB, free: 5.906 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-05/0.5132, allocations: 39.52 kB / 0.5384 GB, free: 5.906 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.5145, allocations: 0.6053 MB / 0.539 GB, free: 5.906 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.004828/0.5193, allocations: 4.883 MB / 0.5438 GB, free: 2.297 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007051/0.52, allocations: 328.7 kB / 0.5441 GB, free: 2.273 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002471/0.5203, allocations: 143.7 kB / 0.5442 GB, free: 2.262 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004005/0.5207, allocations: 0.6066 MB / 0.5448 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.5207, allocations: 41.22 kB / 0.5449 GB, free: 1.566 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.723e-06/0.5207, allocations: 0 / 0.5449 GB, free: 1.566 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.004328/0.5251, allocations: 1.533 MB / 0.5464 GB, free: 1.062 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/0.5252, allocations: 133.9 kB / 0.5465 GB, free: 16.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009136/0.5261, allocations: 0.6599 MB / 0.5472 GB, free: 16.76 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.203e-05/0.5262, allocations: 31.7 kB / 0.5472 GB, free: 16.73 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/0.5265, allocations: 387.1 kB / 0.5476 GB, free: 16.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.5266, allocations: 137.7 kB / 0.5477 GB, free: 16.44 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002146/0.5268, allocations: 152.8 kB / 0.5478 GB, free: 16.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.527, allocations: 381.3 kB / 0.5482 GB, free: 16.1 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003539/0.5273, allocations: 212.2 kB / 0.5484 GB, free: 16.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000525/0.5279, allocations: 0.4972 MB / 0.5489 GB, free: 15.72 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009618/0.5288, allocations: 0.7143 MB / 0.5496 GB, free: 15.37 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.5289, allocations: 3.031 kB / 0.5496 GB, free: 15.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001722/0.5306, allocations: 0.8923 MB / 0.5505 GB, free: 15.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.5306, allocations: 10.16 kB / 0.5505 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.5306, allocations: 10.22 kB / 0.5505 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0013/0.5319, allocations: 293.3 kB / 0.5507 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003927/0.5324, allocations: 126.3 kB / 0.5509 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/0.5336, allocations: 1.401 MB / 0.5522 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005273/0.5341, allocations: 26.58 kB / 0.5523 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.868e-05/0.5342, allocations: 46.58 kB / 0.5523 GB, free: 14.2 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.0003836/0.5346, allocations: 247.1 kB / 0.5525 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.5347, allocations: 75.53 kB / 0.5526 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001559/0.5363, allocations: 0.6462 MB / 0.5532 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.5363, allocations: 3.531 kB / 0.5533 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.5363, allocations: 5.094 kB / 0.5533 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.5363, allocations: 6.234 kB / 0.5533 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002038/0.5384, allocations: 1.223 MB / 0.5545 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.5384, allocations: 1 kB / 0.5545 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.5386, allocations: 46.97 kB / 0.5545 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000845/0.5394, allocations: 206.4 kB / 0.5547 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.969e-05/0.5395, allocations: 11.31 kB / 0.5547 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001042/0.5405, allocations: 1.296 MB / 0.556 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-06/0.5406, allocations: 5.062 kB / 0.556 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.5419, allocations: 0.8185 MB / 0.5568 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002777/0.5421, allocations: 185.8 kB / 0.557 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.801e-05/0.5422, allocations: 11.66 kB / 0.557 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003638/0.5426, allocations: 18.95 kB / 0.557 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7e-05/0.5427, allocations: 26.72 kB / 0.557 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.973e-05/0.5428, allocations: 25.78 kB / 0.557 GB, free: 12.18 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005728/0.5433, allocations: 457.3 kB / 0.5575 GB, free: 12.09 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5433, allocations: 1.188 kB / 0.5575 GB, free: 12.09 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001198/0.5445, allocations: 297.7 kB / 0.5578 GB, free: 12.06 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.002411/0.547, allocations: 1.592 MB / 0.5593 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.5481, allocations: 0.5337 MB / 0.5598 GB, free: 11.27 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.5481, allocations: 1.312 kB / 0.5598 GB, free: 11.27 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005095/0.5487, allocations: 231.6 kB / 0.5601 GB, free: 11.26 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/0.5501, allocations: 341.2 kB / 0.5604 GB, free: 11.22 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008133/0.5582, allocations: 6.151 MB / 0.5664 GB, free: 8.672 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004491/0.5587, allocations: 0.9317 MB / 0.5673 GB, free: 7.949 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007055/0.5594, allocations: 206.9 kB / 0.5675 GB, free: 7.902 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003189/0.5597, allocations: 233.3 kB / 0.5677 GB, free: 7.742 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.5597, allocations: 0 / 0.5677 GB, free: 7.742 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05715/0.6169, allocations: 23.39 MB / 0.5906 GB, free: 6.996 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/13.81, allocations: 16.23 kB / 0.5906 GB, free: 6.98 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