Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01628/0.01629, allocations: 106 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001673/0.001673, allocations: 166.4 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.686/1.686, allocations: 170.9 MB / 187.5 MB, free: 0.8555 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2603/0.2603, allocations: 38.09 MB / 265.1 MB, free: 3.941 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004576/0.0004578, allocations: 12 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09652/0.097, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.03142/0.1285, allocations: 14.07 MB / 386.4 MB, free: 14.72 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01152/0.1401, allocations: 4.064 MB / 390.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.1413, allocations: 23.75 kB / 390.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001674/0.143, allocations: 266.7 kB / 390.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003601/0.1466, allocations: 0.7081 MB / 391.4 MB, free: 9.652 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004323/0.1509, allocations: 0.7015 MB / 392.1 MB, free: 8.949 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003283/0.1542, allocations: 1.032 MB / 393.2 MB, free: 7.918 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001179/0.1555, allocations: 373.3 kB / 393.5 MB, free: 7.547 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002454/0.1579, allocations: 0.6231 MB / 394.2 MB, free: 6.922 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001465/0.1594, allocations: 430.5 kB / 394.6 MB, free: 6.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002206/0.1597, allocations: 32 kB / 394.6 MB, free: 6.469 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001613/0.1613, allocations: 235.7 kB / 394.8 MB, free: 6.238 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005173/0.1619, allocations: 207.4 kB / 395 MB, free: 6.035 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003739/0.1623, allocations: 165.3 kB / 395.2 MB, free: 5.867 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001831/0.1641, allocations: 0.7561 MB / 396 MB, free: 5.109 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1641, allocations: 0 / 396 MB, free: 5.109 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1642, allocations: 0 / 396 MB, free: 5.109 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.1642, allocations: 4 kB / 396 MB, free: 5.105 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003675/0.1679, allocations: 0.9231 MB / 396.9 MB, free: 4.133 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.1679, allocations: 8.031 kB / 396.9 MB, free: 4.125 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002476/0.1682, allocations: 98.5 kB / 397 MB, free: 4.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006634/0.1689, allocations: 87.09 kB / 397.1 MB, free: 3.934 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/0.1704, allocations: 0.5005 MB / 397.6 MB, free: 3.391 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001899/0.1707, allocations: 100.4 kB / 397.7 MB, free: 3.281 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/0.1709, allocations: 48 kB / 397.7 MB, free: 3.234 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002657/0.1735, allocations: 0.8026 MB / 398.5 MB, free: 2.355 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.933e-05/0.1736, allocations: 11.94 kB / 398.5 MB, free: 2.344 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001484/0.1738, allocations: 27.95 kB / 398.6 MB, free: 2.316 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001155/0.1739, allocations: 36.98 kB / 398.6 MB, free: 2.281 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00251/0.1764, allocations: 0.64 MB / 399.2 MB, free: 1.641 MB / 298.7 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.008587/0.185, allocations: 4.225 MB / 403.5 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/0.1865, allocations: 408 kB / 403.9 MB, free: 12.72 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006747/0.1872, allocations: 0.4989 MB / 404.4 MB, free: 12.11 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/0.1872, allocations: 42.89 kB / 404.4 MB, free: 12.06 MB / 314.7 MB Notification: Performance of pre-optimization done (n=40): time 2.845e-06/0.1873, allocations: 0 / 404.4 MB, free: 12.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=45): time 0.005088/0.1923, allocations: 1.497 MB / 405.9 MB, free: 10.51 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.855e-05/0.1925, allocations: 136.5 kB / 406 MB, free: 10.34 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009997/0.1935, allocations: 0.5574 MB / 406.6 MB, free: 9.777 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.809e-05/0.1936, allocations: 33.7 kB / 406.6 MB, free: 9.738 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003596/0.194, allocations: 363.4 kB / 407 MB, free: 9.375 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000201/0.1942, allocations: 161.7 kB / 407.1 MB, free: 9.215 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.299e-05/0.1942, allocations: 19.94 kB / 407.1 MB, free: 9.195 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001956/0.1944, allocations: 378.7 kB / 407.5 MB, free: 8.816 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006679/0.1951, allocations: 229.8 kB / 407.7 MB, free: 8.594 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009069/0.196, allocations: 0.5372 MB / 408.3 MB, free: 7.91 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008272/0.1969, allocations: 324.5 kB / 408.6 MB, free: 7.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-06/0.1969, allocations: 4 kB / 408.6 MB, free: 7.586 MB / 314.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00315/0.2001, allocations: 0.9725 MB / 409.6 MB, free: 6.605 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.265e-05/0.2001, allocations: 17.36 kB / 409.6 MB, free: 6.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.292e-05/0.2002, allocations: 12 kB / 409.6 MB, free: 6.578 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001788/0.202, allocations: 260.8 kB / 409.9 MB, free: 6.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008854/0.2029, allocations: 135.8 kB / 410 MB, free: 6.188 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/0.2044, allocations: 0.8528 MB / 410.8 MB, free: 5.309 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009452/0.2053, allocations: 55.89 kB / 410.9 MB, free: 5.254 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-05/0.2055, allocations: 32 kB / 410.9 MB, free: 5.223 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005078/0.206, allocations: 254.3 kB / 411.2 MB, free: 4.965 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/0.2061, allocations: 63.25 kB / 411.2 MB, free: 4.902 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002163/0.2083, allocations: 0.7074 MB / 411.9 MB, free: 4.188 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.2084, allocations: 4 kB / 411.9 MB, free: 4.184 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.2084, allocations: 0 / 411.9 MB, free: 4.184 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.2084, allocations: 3.984 kB / 412 MB, free: 4.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003403/0.2118, allocations: 1.395 MB / 413.3 MB, free: 2.703 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.2119, allocations: 0 / 413.3 MB, free: 2.703 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001888/0.2138, allocations: 195.9 kB / 413.5 MB, free: 2.512 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005073/0.2143, allocations: 64.81 kB / 413.6 MB, free: 2.445 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.168e-05/0.2144, allocations: 15.98 kB / 413.6 MB, free: 2.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003292/0.2177, allocations: 2.793 MB / 416.4 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.678e-06/0.2177, allocations: 8.031 kB / 416.4 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002611/0.2204, allocations: 1.062 MB / 417.5 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004616/0.2208, allocations: 216.4 kB / 417.7 MB, free: 13.99 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/0.221, allocations: 20.06 kB / 417.7 MB, free: 13.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006978/0.2217, allocations: 23.98 kB / 417.7 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.2219, allocations: 39.88 kB / 417.8 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.327e-05/0.222, allocations: 23.98 kB / 417.8 MB, free: 13.89 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007022/0.2227, allocations: 386.8 kB / 418.2 MB, free: 13.51 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.2227, allocations: 0 / 418.2 MB, free: 13.51 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001138/0.2238, allocations: 208 kB / 418.4 MB, free: 13.31 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00357/0.2274, allocations: 2.212 MB / 420.6 MB, free: 11.02 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001889/0.2294, allocations: 0.6011 MB / 421.2 MB, free: 10.42 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.2294, allocations: 3.938 kB / 421.2 MB, free: 10.42 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002007/0.2314, allocations: 486.2 kB / 421.7 MB, free: 9.93 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002509/0.2339, allocations: 297.3 kB / 422 MB, free: 9.641 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2651/0.4991, allocations: 11.07 MB / 433 MB, free: 62.14 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006089/0.4998, allocations: 0.9512 MB / 434 MB, free: 61.45 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001294/0.5011, allocations: 211.2 kB / 434.2 MB, free: 61.44 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000483/0.5016, allocations: 231.4 kB / 434.4 MB, free: 61.44 MB / 330.7 MB Notification: Performance of SimCode: time 1.122e-06/0.5016, allocations: 0 / 434.4 MB, free: 61.44 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08012/0.5817, allocations: 19.41 MB / 453.8 MB, free: 51.8 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000241/0.582, allocations: 292.6 kB / 454.1 MB, free: 51.44 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.043/3.625, allocations: 3.938 kB / 454.1 MB, free: 51.44 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat does not exist to compare? outputFormat=mat