Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.0009667/0.0009669, allocations: 103.9 kB / 17.63 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00116/0.00116, allocations: 202.4 kB / 18.57 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2335/0.2335, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 77.69 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.13, allocations: 62.43 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.02897/0.159, allocations: 25.07 MB / 0.4934 GB, free: 12.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006944/0.166, allocations: 4.367 MB / 0.4976 GB, free: 7.648 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006943/0.1667, allocations: 19.88 kB / 0.4976 GB, free: 7.629 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009299/0.1676, allocations: 302.1 kB / 0.4979 GB, free: 7.332 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004309/0.172, allocations: 1.634 MB / 0.4995 GB, free: 5.695 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003281/0.1753, allocations: 1.37 MB / 0.5009 GB, free: 4.332 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002456/0.1778, allocations: 1.844 MB / 0.5027 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000915/0.1787, allocations: 493.3 kB / 0.5031 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.233/0.4117, allocations: 3.357 MB / 0.5064 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002584/0.4143, allocations: 1.424 MB / 0.5078 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002261/0.4146, allocations: 60.97 kB / 0.5079 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002503/0.4171, allocations: 1.276 MB / 0.5091 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003736/0.4175, allocations: 264.8 kB / 0.5094 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005453/0.418, allocations: 406.6 kB / 0.5097 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002517/0.4205, allocations: 1.36 MB / 0.5111 GB, free: 13.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4205, allocations: 0.7969 kB / 0.5111 GB, free: 13.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4206, allocations: 0 / 0.5111 GB, free: 13.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.359e-05/0.4206, allocations: 4 kB / 0.5111 GB, free: 13.25 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.002332/0.4229, allocations: 1.125 MB / 0.5122 GB, free: 12.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.423, allocations: 14.08 kB / 0.5122 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001277/0.4231, allocations: 101.3 kB / 0.5123 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.4241, allocations: 144.3 kB / 0.5124 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007921/0.4249, allocations: 0.5084 MB / 0.5129 GB, free: 12.35 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.425, allocations: 107.3 kB / 0.513 GB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.799e-05/0.4252, allocations: 51.62 kB / 0.5131 GB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.4266, allocations: 0.8345 MB / 0.5139 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.4266, allocations: 5.875 kB / 0.5139 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.23e-05/0.4267, allocations: 26.11 kB / 0.5139 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.581e-05/0.4268, allocations: 40.55 kB / 0.514 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001291/0.4281, allocations: 0.6065 MB / 0.5145 GB, free: 12.03 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.005229/0.4333, allocations: 4.689 MB / 0.5191 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007998/0.4342, allocations: 332.8 kB / 0.5194 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002468/0.4344, allocations: 141.3 kB / 0.5196 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002255/0.4346, allocations: 414.6 kB / 0.52 GB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.4347, allocations: 38.12 kB / 0.52 GB, free: 8.062 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 3.136e-06/0.4347, allocations: 0 / 0.52 GB, free: 8.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.004401/0.4391, allocations: 1.539 MB / 0.5215 GB, free: 7.543 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.4392, allocations: 133.1 kB / 0.5216 GB, free: 7.387 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000881/0.4401, allocations: 0.6551 MB / 0.5223 GB, free: 7.242 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.093e-05/0.4401, allocations: 35.23 kB / 0.5223 GB, free: 7.211 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002401/0.4404, allocations: 398.1 kB / 0.5227 GB, free: 6.996 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.4405, allocations: 128.5 kB / 0.5228 GB, free: 6.918 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002299/0.4407, allocations: 150.5 kB / 0.523 GB, free: 6.895 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.4408, allocations: 377.9 kB / 0.5233 GB, free: 6.582 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003637/0.4412, allocations: 205.2 kB / 0.5235 GB, free: 6.578 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004697/0.4417, allocations: 0.4922 MB / 0.524 GB, free: 6.211 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008329/0.4425, allocations: 0.7174 MB / 0.5247 GB, free: 5.852 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.4425, allocations: 3.75 kB / 0.5247 GB, free: 5.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001774/0.4443, allocations: 0.886 MB / 0.5256 GB, free: 5.754 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.4443, allocations: 9.531 kB / 0.5256 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.4444, allocations: 8.812 kB / 0.5256 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001334/0.4457, allocations: 290.6 kB / 0.5259 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003969/0.4461, allocations: 122.2 kB / 0.526 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009959/0.4471, allocations: 1.4 MB / 0.5273 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006085/0.4477, allocations: 25.94 kB / 0.5274 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-05/0.4478, allocations: 40.92 kB / 0.5274 GB, free: 4.68 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.000369/0.4482, allocations: 244.4 kB / 0.5276 GB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.4484, allocations: 74.41 kB / 0.5277 GB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001622/0.45, allocations: 0.7167 MB / 0.5284 GB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.353e-06/0.45, allocations: 8.312 kB / 0.5284 GB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.45, allocations: 4.062 kB / 0.5284 GB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.45, allocations: 4.297 kB / 0.5284 GB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/0.4518, allocations: 1.214 MB / 0.5296 GB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.4519, allocations: 0 / 0.5296 GB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.452, allocations: 40.86 kB / 0.5297 GB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008865/0.4529, allocations: 193.6 kB / 0.5298 GB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/0.453, allocations: 17.14 kB / 0.5299 GB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007922/0.4538, allocations: 1.293 MB / 0.5311 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.4538, allocations: 3.188 kB / 0.5311 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.455, allocations: 0.8061 MB / 0.5319 GB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003069/0.4553, allocations: 188.9 kB / 0.5321 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001577/0.4555, allocations: 9.25 kB / 0.5321 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004394/0.4559, allocations: 21.08 kB / 0.5321 GB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.048e-05/0.456, allocations: 25.08 kB / 0.5321 GB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.187e-05/0.4561, allocations: 20.94 kB / 0.5322 GB, free: 2.656 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006384/0.4567, allocations: 458.4 kB / 0.5326 GB, free: 2.562 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4567, allocations: 0 / 0.5326 GB, free: 2.562 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001164/0.4579, allocations: 256.7 kB / 0.5328 GB, free: 2.543 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.002088/0.46, allocations: 1.511 MB / 0.5343 GB, free: 1.668 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001242/0.4613, allocations: 0.5542 MB / 0.5349 GB, free: 1.523 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/0.4613, allocations: 7.078 kB / 0.5349 GB, free: 1.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004512/0.4617, allocations: 229.3 kB / 0.5351 GB, free: 1.457 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/0.4633, allocations: 335.5 kB / 0.5354 GB, free: 1.359 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008113/0.4714, allocations: 6.374 MB / 0.5416 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005503/0.472, allocations: 0.9333 MB / 0.5425 GB, free: 12.77 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008746/0.4729, allocations: 256.5 kB / 0.5428 GB, free: 12.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003144/0.4732, allocations: 232.4 kB / 0.543 GB, free: 12.52 MB / 398.1 MB Notification: Performance of SimCode: time 1.643e-06/0.4732, allocations: 0 / 0.543 GB, free: 12.52 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05343/0.5266, allocations: 21.78 MB / 0.5643 GB, free: 9.047 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.34, allocations: 23.44 kB / 0.5643 GB, free: 9.023 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Incompressible/Essotherm650/Essotherm650.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches