Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadModel(Modelica): time 1.669/1.669, allocations: 171.2 MB / 186.7 MB, free: 1.109 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003975/0.0003974, allocations: 8 kB / 233.9 MB, free: 300 kB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07816/0.07858, allocations: 38.77 MB / 272.6 MB, free: 9.441 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005709/0.08434, allocations: 3.657 MB / 276.3 MB, free: 5.762 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002476/0.08686, allocations: 1.524 MB / 277.8 MB, free: 4.23 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.132e-05/0.08698, allocations: 0 / 277.8 MB, free: 4.23 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002673/0.08726, allocations: 35.8 kB / 277.8 MB, free: 4.195 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003942/0.08767, allocations: 111.6 kB / 278 MB, free: 4.086 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009243/0.08861, allocations: 215.5 kB / 278.2 MB, free: 3.875 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003328/0.08896, allocations: 183.7 kB / 278.3 MB, free: 3.695 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.262e-05/0.08903, allocations: 9.125 kB / 278.4 MB, free: 3.688 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003206/0.08936, allocations: 119.7 kB / 278.5 MB, free: 3.57 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.08951, allocations: 63.69 kB / 278.5 MB, free: 3.508 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.517e-05/0.08956, allocations: 8 kB / 278.5 MB, free: 3.5 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003293/0.08989, allocations: 83.91 kB / 278.6 MB, free: 3.418 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.298e-05/0.08999, allocations: 39.88 kB / 278.7 MB, free: 3.379 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.637e-05/0.09008, allocations: 53.64 kB / 278.7 MB, free: 3.32 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003184/0.09041, allocations: 136 kB / 278.8 MB, free: 3.188 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.09043, allocations: 0 / 278.8 MB, free: 3.188 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.09044, allocations: 0 / 278.8 MB, free: 3.188 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.09045, allocations: 0 / 278.8 MB, free: 3.188 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001197/0.09165, allocations: 459.1 kB / 279.3 MB, free: 2.688 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.09171, allocations: 8.031 kB / 279.3 MB, free: 2.68 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000234/0.09195, allocations: 19.89 kB / 279.3 MB, free: 2.66 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.09224, allocations: 214.8 kB / 279.5 MB, free: 2.41 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.09227, allocations: 8.281 kB / 279.5 MB, free: 2.402 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.273e-05/0.09233, allocations: 15.91 kB / 279.6 MB, free: 2.387 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005958/0.09294, allocations: 216.6 kB / 279.8 MB, free: 2.152 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.09297, allocations: 4 kB / 279.8 MB, free: 2.148 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.98e-05/0.09302, allocations: 4 kB / 279.8 MB, free: 2.145 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.09304, allocations: 7.938 kB / 279.8 MB, free: 2.137 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005889/0.09364, allocations: 155.8 kB / 279.9 MB, free: 1.984 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002001/0.09565, allocations: 0.9402 MB / 280.9 MB, free: 0.9688 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006518/0.09632, allocations: 150.8 kB / 281 MB, free: 0.8125 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007073/0.09705, allocations: 0.4995 MB / 281.5 MB, free: 256 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.09711, allocations: 46.52 kB / 281.6 MB, free: 200 kB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 2.364e-06/0.09712, allocations: 3.938 kB / 281.6 MB, free: 196 kB / 234.7 MB Notification: Performance of matching and sorting (n=20): time 0.2052/0.3024, allocations: 0.7502 MB / 282.3 MB, free: 16.07 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.3024, allocations: 54.58 kB / 282.4 MB, free: 16.01 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.3026, allocations: 149 kB / 282.5 MB, free: 15.9 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.3027, allocations: 29.64 kB / 282.5 MB, free: 15.87 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.942e-05/0.3028, allocations: 138.5 kB / 282.7 MB, free: 15.75 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.96e-05/0.3028, allocations: 72.48 kB / 282.8 MB, free: 15.71 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.734e-05/0.3029, allocations: 9.125 kB / 282.8 MB, free: 15.71 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.067e-05/0.303, allocations: 327.7 kB / 283.1 MB, free: 15.39 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004641/0.3034, allocations: 85.11 kB / 283.2 MB, free: 15.39 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005166/0.304, allocations: 189 kB / 283.4 MB, free: 15.27 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005001/0.3045, allocations: 107 kB / 283.5 MB, free: 15.27 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.3045, allocations: 1.094 kB / 283.5 MB, free: 15.27 MB / 234.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001221/0.3057, allocations: 323.2 kB / 283.8 MB, free: 15.21 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.3058, allocations: 6.156 kB / 283.8 MB, free: 15.21 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.3058, allocations: 2.938 kB / 283.8 MB, free: 15.21 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.111e-05/0.3058, allocations: 16.72 kB / 283.8 MB, free: 15.2 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007204/0.3066, allocations: 79.2 kB / 283.9 MB, free: 15.2 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.835e-05/0.3066, allocations: 9.188 kB / 283.9 MB, free: 15.2 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004143/0.307, allocations: 23.88 kB / 283.9 MB, free: 15.2 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-05/0.3071, allocations: 13.91 kB / 283.9 MB, free: 15.2 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (37): * Single equations (assignments): 37 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001493/0.3073, allocations: 139.5 kB / 284.1 MB, free: 15.07 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.78e-05/0.3073, allocations: 19.03 kB / 284.1 MB, free: 15.07 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00113/0.3085, allocations: 232 kB / 284.3 MB, free: 15.02 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.3085, allocations: 2.719 kB / 284.3 MB, free: 15.02 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.3085, allocations: 2.188 kB / 284.3 MB, free: 15.02 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.36e-05/0.3086, allocations: 89.56 kB / 284.4 MB, free: 14.92 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.207e-05/0.3086, allocations: 9.016 kB / 284.4 MB, free: 14.92 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003956/0.309, allocations: 13.59 kB / 284.4 MB, free: 14.92 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.3091, allocations: 21.48 kB / 284.4 MB, free: 14.91 MB / 234.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002021/0.3111, allocations: 307.9 kB / 284.7 MB, free: 14.8 MB / 234.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002536/0.3137, allocations: 478.1 kB / 285.2 MB, free: 14.51 MB / 234.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000703/0.3145, allocations: 86.5 kB / 285.3 MB, free: 14.48 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001631/0.3147, allocations: 111 kB / 285.4 MB, free: 14.39 MB / 234.7 MB Notification: Performance of Backend: time 1.342e-06/0.3147, allocations: 0 / 285.4 MB, free: 14.39 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.002453/0.3172, allocations: 272.8 kB / 285.7 MB, free: 14.28 MB / 234.7 MB Notification: Performance of SimCode: time 0.001558/0.3188, allocations: 0.9368 MB / 286.6 MB, free: 13.52 MB / 234.7 MB Notification: Performance of Templates: time 0.01638/0.3352, allocations: 2.913 MB / 289.5 MB, free: 13.25 MB / 234.7 MB