Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadModel(Modelica): time 1.919/1.919, allocations: 194.8 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003535, allocations: 16 kB / 263.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07846/0.07884, allocations: 44.5 MB / 308.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.07017/0.1491, allocations: 39.12 MB / 347.5 MB, free: 9.812 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006826/0.1559, allocations: 3.806 MB / 351.3 MB, free: 6 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004019/0.1564, allocations: 4 kB / 351.3 MB, free: 5.996 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007013/0.1571, allocations: 191.1 kB / 351.5 MB, free: 5.809 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006236/0.1577, allocations: 255.3 kB / 351.7 MB, free: 5.559 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01573/0.1735, allocations: 4.676 MB / 356.4 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0011/0.1746, allocations: 0.617 MB / 357 MB, free: 256 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002455/0.1749, allocations: 109.5 kB / 357.1 MB, free: 144 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01096/0.1858, allocations: 5.957 MB / 363.1 MB, free: 10.18 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004911/0.1864, allocations: 279.1 kB / 363.3 MB, free: 9.906 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.766e-05/0.1865, allocations: 28 kB / 363.4 MB, free: 9.879 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02749/0.214, allocations: 8.275 MB / 371.6 MB, free: 1.594 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000502/0.2145, allocations: 183.5 kB / 371.8 MB, free: 1.414 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003884/0.215, allocations: 129.5 kB / 372 MB, free: 1.281 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3177/0.5327, allocations: 3.421 MB / 375.4 MB, free: 21.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.51e-06/0.5327, allocations: 1.156 kB / 375.4 MB, free: 21.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.794e-06/0.5327, allocations: 0 / 375.4 MB, free: 21.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.5328, allocations: 0 / 375.4 MB, free: 21.57 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003694/0.5365, allocations: 1.221 MB / 376.6 MB, free: 20.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.5365, allocations: 8.969 kB / 376.6 MB, free: 20.82 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004221/0.5369, allocations: 60 kB / 376.7 MB, free: 20.8 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005466/0.5375, allocations: 345.8 kB / 377 MB, free: 20.58 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.004e-05/0.5376, allocations: 35.02 kB / 377 MB, free: 20.58 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.5377, allocations: 45.86 kB / 377.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/0.5393, allocations: 0.5254 MB / 377.6 MB, free: 20.54 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.034e-05/0.5394, allocations: 6.391 kB / 377.6 MB, free: 20.54 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.717e-05/0.5395, allocations: 19.41 kB / 377.6 MB, free: 20.54 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.5395, allocations: 12.73 kB / 377.6 MB, free: 20.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/0.5414, allocations: 0.6451 MB / 378.3 MB, free: 20.54 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01599/0.5574, allocations: 12.23 MB / 390.5 MB, free: 9.504 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/0.5588, allocations: 0.6476 MB / 391.2 MB, free: 9.289 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01479/0.5736, allocations: 10.76 MB / 401.9 MB, free: 14.69 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.852e-05/0.5737, allocations: 40.09 kB / 402 MB, free: 14.65 MB / 330.7 MB Notification: Performance of pre-optimization done (n=50): time 3.603e-06/0.5737, allocations: 0 / 402 MB, free: 14.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=55): time 0.006995/0.5807, allocations: 2.049 MB / 404 MB, free: 14.05 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.5808, allocations: 60.69 kB / 404.1 MB, free: 13.99 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004212/0.5813, allocations: 320 kB / 404.4 MB, free: 13.89 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.429e-05/0.5814, allocations: 37.2 kB / 404.4 MB, free: 13.86 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.5815, allocations: 258.5 kB / 404.7 MB, free: 13.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.5817, allocations: 186.1 kB / 404.9 MB, free: 13.54 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.175e-05/0.5817, allocations: 13.28 kB / 404.9 MB, free: 13.54 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.5819, allocations: 329 kB / 405.2 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004518/0.5824, allocations: 226 kB / 405.4 MB, free: 13.22 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007358/0.5831, allocations: 314.1 kB / 405.7 MB, free: 13.14 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007658/0.5839, allocations: 270.3 kB / 406 MB, free: 13.12 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.32e-06/0.5839, allocations: 0 / 406 MB, free: 13.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002147/0.5861, allocations: 0.6929 MB / 406.7 MB, free: 13.05 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.5861, allocations: 14.23 kB / 406.7 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.263e-06/0.5861, allocations: 3.094 kB / 406.7 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005761/0.5867, allocations: 109.7 kB / 406.8 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006344/0.5874, allocations: 120.1 kB / 406.9 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003171/0.5906, allocations: 3.293 MB / 410.2 MB, free: 9.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000519/0.5911, allocations: 44.52 kB / 410.2 MB, free: 9.898 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.359e-05/0.5912, allocations: 26.22 kB / 410.3 MB, free: 9.898 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.00036/0.5916, allocations: 192 kB / 410.5 MB, free: 9.781 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003569/0.5919, allocations: 45.62 kB / 410.5 MB, free: 9.762 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/0.5936, allocations: 0.6922 MB / 411.2 MB, free: 9.672 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.374e-06/0.5937, allocations: 4.406 kB / 411.2 MB, free: 9.672 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.209e-06/0.5937, allocations: 7.562 kB / 411.2 MB, free: 9.668 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001448/0.5951, allocations: 0.7785 MB / 412 MB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0028/0.5979, allocations: 1.374 MB / 413.4 MB, free: 8.934 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.321e-06/0.598, allocations: 3.094 kB / 413.4 MB, free: 8.934 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005992/0.5986, allocations: 112.6 kB / 413.5 MB, free: 8.934 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00116/0.5998, allocations: 153.1 kB / 413.6 MB, free: 8.918 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.383e-05/0.5998, allocations: 20.61 kB / 413.6 MB, free: 8.914 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000545/0.6004, allocations: 0.6418 MB / 414.3 MB, free: 8.332 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.222e-06/0.6004, allocations: 0 / 414.3 MB, free: 8.332 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002087/0.6025, allocations: 0.9547 MB / 415.2 MB, free: 8.113 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001976/0.6027, allocations: 125.6 kB / 415.4 MB, free: 7.992 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.792e-05/0.6028, allocations: 19.59 kB / 415.4 MB, free: 7.992 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005849/0.6034, allocations: 34.58 kB / 415.4 MB, free: 7.988 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.394e-05/0.6035, allocations: 36.39 kB / 415.5 MB, free: 7.988 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.411e-05/0.6036, allocations: 33.55 kB / 415.5 MB, free: 7.988 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003386/0.604, allocations: 236.7 kB / 415.7 MB, free: 7.906 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.95e-07/0.604, allocations: 0 / 415.7 MB, free: 7.906 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.004184/0.6082, allocations: 1.286 MB / 417 MB, free: 7.742 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (volume.medium.p,volume.medium.Xi[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 (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006043/0.6143, allocations: 1.547 MB / 418.5 MB, free: 7.434 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001826/0.6161, allocations: 0.7824 MB / 419.3 MB, free: 7.199 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.6161, allocations: 0 / 419.3 MB, free: 7.199 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000689/0.6168, allocations: 313.7 kB / 419.6 MB, free: 7.176 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/0.6185, allocations: 292.6 kB / 419.9 MB, free: 7.141 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/0.6207, allocations: 1.397 MB / 421.3 MB, free: 6.441 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005591/0.6213, allocations: 0.8489 MB / 422.2 MB, free: 5.734 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/0.6216, allocations: 63.11 kB / 422.2 MB, free: 5.727 MB / 330.7 MB Notification: Performance of SimCode: time 1.798e-06/0.6216, allocations: 2.297 kB / 422.2 MB, free: 5.727 MB / 330.7 MB Notification: Performance of Templates: time 0.06809/0.6897, allocations: 37.67 MB / 459.9 MB, free: 3.465 MB / 362.7 MB