Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test21.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test21") Notification: Performance of loadModel(ModelicaTest): time 2.13/2.13, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.659e-05/1.674e-05, allocations: 4 kB / 303.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2721, allocations: 54.86 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1394/0.4116, allocations: 80.47 MB / 438.5 MB, free: 14.35 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003835/0.412, allocations: 63.97 kB / 438.6 MB, free: 14.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02122/0.4333, allocations: 3.199 MB / 441.8 MB, free: 11.08 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.184e-06/0.4334, allocations: 0 / 441.8 MB, free: 11.08 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.507e-05/0.4334, allocations: 0 / 441.8 MB, free: 11.08 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007279/0.4341, allocations: 396.1 kB / 442.2 MB, free: 10.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.943e-05/0.4342, allocations: 11.97 kB / 442.2 MB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.359e-05/0.4343, allocations: 11.86 kB / 442.2 MB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003855/0.4347, allocations: 179 kB / 442.4 MB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.4348, allocations: 0 / 442.4 MB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/0.4348, allocations: 4 kB / 442.4 MB, free: 10.4 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001276/0.435, allocations: 12 kB / 442.4 MB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.4352, allocations: 57.41 kB / 442.4 MB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.4352, allocations: 8 kB / 442.4 MB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.4353, allocations: 0 / 442.4 MB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.834e-06/0.4353, allocations: 3.953 kB / 442.4 MB, free: 10.31 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006875/0.436, allocations: 253.4 kB / 442.7 MB, free: 10.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003179/0.4363, allocations: 42.56 kB / 442.7 MB, free: 9.977 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.126e-05/0.4364, allocations: 16.8 kB / 442.7 MB, free: 9.957 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.4365, allocations: 7.938 kB / 442.8 MB, free: 9.949 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.11e-05/0.4366, allocations: 38.64 kB / 442.8 MB, free: 9.902 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 3.29e-06/0.4366, allocations: 0 / 442.8 MB, free: 9.902 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000766/0.4374, allocations: 101.4 kB / 442.9 MB, free: 9.797 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.311e-05/0.4375, allocations: 77.11 kB / 443 MB, free: 9.703 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.4377, allocations: 117 kB / 443.1 MB, free: 9.582 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/0.4378, allocations: 29.64 kB / 443.1 MB, free: 9.547 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.4379, allocations: 154.6 kB / 443.3 MB, free: 9.395 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.545e-05/0.438, allocations: 19.73 kB / 443.3 MB, free: 9.375 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.357e-06/0.438, allocations: 0 / 443.3 MB, free: 9.375 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002442/0.4383, allocations: 314.8 kB / 443.6 MB, free: 9.059 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.131e-05/0.4384, allocations: 12 kB / 443.6 MB, free: 9.047 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.4385, allocations: 29.7 kB / 443.6 MB, free: 9.012 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.707e-05/0.4386, allocations: 20.03 kB / 443.6 MB, free: 8.992 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.4387, allocations: 0 / 443.6 MB, free: 8.992 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003257/0.439, allocations: 73.58 kB / 443.7 MB, free: 8.914 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.421e-05/0.4391, allocations: 33.7 kB / 443.8 MB, free: 8.875 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.982e-06/0.4391, allocations: 0 / 443.8 MB, free: 8.875 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.4392, allocations: 0 / 443.8 MB, free: 8.875 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.4393, allocations: 19.94 kB / 443.8 MB, free: 8.855 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.4394, allocations: 3.938 kB / 443.8 MB, free: 8.852 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.4395, allocations: 8 kB / 443.8 MB, free: 8.844 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.4396, allocations: 4 kB / 443.8 MB, free: 8.84 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.0001389/0.4397, allocations: 102.7 kB / 443.9 MB, free: 8.734 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.038e-05/0.4398, allocations: 4 kB / 443.9 MB, free: 8.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003478/0.4402, allocations: 82 kB / 444 MB, free: 8.648 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.128e-06/0.4402, allocations: 0 / 444 MB, free: 8.648 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.4403, allocations: 3.953 kB / 444 MB, free: 8.645 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.557e-06/0.4403, allocations: 144 / 444 MB, free: 8.645 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000803/0.4411, allocations: 319 kB / 444.3 MB, free: 8.289 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.364e-06/0.4411, allocations: 3.938 kB / 444.3 MB, free: 8.285 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.4413, allocations: 20.34 kB / 444.3 MB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.363e-06/0.4413, allocations: 0 / 444.3 MB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.4414, allocations: 4 kB / 444.3 MB, free: 8.262 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.965e-06/0.4414, allocations: 3.953 kB / 444.3 MB, free: 8.258 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.769e-06/0.4414, allocations: 0 / 444.3 MB, free: 8.258 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003471/0.4418, allocations: 159.5 kB / 444.5 MB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.4419, allocations: 89 kB / 444.6 MB, free: 7.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.932e-05/0.442, allocations: 0 / 444.6 MB, free: 7.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.4422, allocations: 7.938 kB / 444.6 MB, free: 7.973 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.303e-05/0.4423, allocations: 11.94 kB / 444.6 MB, free: 7.961 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.4423, allocations: 4 kB / 444.6 MB, free: 7.957 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001416/0.4425, allocations: 91.66 kB / 444.7 MB, free: 7.867 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.128e-06/0.4425, allocations: 0 / 444.7 MB, free: 7.867 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000783/0.4433, allocations: 27.98 kB / 444.7 MB, free: 7.84 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.00186/0.4452, allocations: 327.3 kB / 445 MB, free: 7.559 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003137/0.4455, allocations: 91.39 kB / 445.1 MB, free: 7.457 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.621e-06/0.4456, allocations: 0 / 445.1 MB, free: 7.457 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.4457, allocations: 27.88 kB / 445.1 MB, free: 7.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004355/0.4461, allocations: 4 kB / 445.1 MB, free: 7.426 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005636/0.4467, allocations: 121.8 kB / 445.3 MB, free: 7.273 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005782/0.4473, allocations: 0.6963 MB / 446 MB, free: 6.551 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.4475, allocations: 11.44 kB / 446 MB, free: 6.539 MB / 378.7 MB Notification: Performance of SimCode: time 2.046e-06/0.4475, allocations: 0 / 446 MB, free: 6.539 MB / 378.7 MB Notification: Performance of Templates: time 0.006803/0.4543, allocations: 1.478 MB / 447.4 MB, free: 5.062 MB / 378.7 MB