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.CombiTable1Ds.Test4.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadModel(ModelicaTest): time 2.264/2.264, allocations: 234.9 MB / 250.5 MB, free: 9.457 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004845/0.0004847, allocations: 16 kB / 314.4 MB, free: 9.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2784, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1243/0.4027, allocations: 81.03 MB / 450.3 MB, free: 9.559 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.403, allocations: 71.8 kB / 450.4 MB, free: 9.492 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01326/0.4162, allocations: 3.413 MB / 453.8 MB, free: 6.066 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.489e-06/0.4163, allocations: 4 kB / 453.8 MB, free: 6.062 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.4163, allocations: 0 / 453.8 MB, free: 6.062 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005566/0.4169, allocations: 436.5 kB / 454.2 MB, free: 5.582 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.4169, allocations: 8.031 kB / 454.2 MB, free: 5.574 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.945e-05/0.417, allocations: 11.86 kB / 454.2 MB, free: 5.562 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.4173, allocations: 206.7 kB / 454.4 MB, free: 5.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.4173, allocations: 4 kB / 454.4 MB, free: 5.316 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.4174, allocations: 4 kB / 454.4 MB, free: 5.312 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.4176, allocations: 61.67 kB / 454.5 MB, free: 5.246 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.4176, allocations: 3.938 kB / 454.5 MB, free: 5.242 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.4176, allocations: 0 / 454.5 MB, free: 5.242 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.4176, allocations: 0 / 454.5 MB, free: 5.242 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.4178, allocations: 43.92 kB / 454.5 MB, free: 5.199 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004902/0.4183, allocations: 316.7 kB / 454.9 MB, free: 4.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.4185, allocations: 48.38 kB / 454.9 MB, free: 4.785 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.4185, allocations: 8.109 kB / 454.9 MB, free: 4.777 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.4185, allocations: 34.56 kB / 454.9 MB, free: 4.734 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.079e-06/0.4186, allocations: 0 / 454.9 MB, free: 4.734 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008359/0.4194, allocations: 209 kB / 455.2 MB, free: 4.523 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.4195, allocations: 59.28 kB / 455.2 MB, free: 4.453 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00029/0.4198, allocations: 202.5 kB / 455.4 MB, free: 4.242 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.4198, allocations: 25.7 kB / 455.4 MB, free: 4.211 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.4199, allocations: 166.8 kB / 455.6 MB, free: 4.043 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/0.42, allocations: 35.61 kB / 455.6 MB, free: 4.008 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.126e-06/0.42, allocations: 0 / 455.6 MB, free: 4.008 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.4202, allocations: 310.8 kB / 455.9 MB, free: 3.695 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.4203, allocations: 31.98 kB / 456 MB, free: 3.664 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.4204, allocations: 39.97 kB / 456 MB, free: 3.625 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.4206, allocations: 57.69 kB / 456.1 MB, free: 3.562 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.4206, allocations: 0 / 456.1 MB, free: 3.562 MB / 378.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003399/0.4209, allocations: 135.3 kB / 456.2 MB, free: 3.418 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.729e-05/0.421, allocations: 45.64 kB / 456.2 MB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.421, allocations: 0 / 456.2 MB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.4211, allocations: 0 / 456.2 MB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.4212, allocations: 16.66 kB / 456.3 MB, free: 3.352 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.507e-06/0.4212, allocations: 3.984 kB / 456.3 MB, free: 3.348 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.208e-05/0.4213, allocations: 12 kB / 456.3 MB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.4213, allocations: 3.938 kB / 456.3 MB, free: 3.332 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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.0001419/0.4215, allocations: 137.8 kB / 456.4 MB, free: 3.188 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.471e-05/0.4216, allocations: 11.91 kB / 456.4 MB, free: 3.176 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003968/0.422, allocations: 134.8 kB / 456.5 MB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.63e-06/0.422, allocations: 0 / 456.5 MB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.093e-06/0.422, allocations: 4 kB / 456.6 MB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.233e-06/0.422, allocations: 0 / 456.6 MB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007395/0.4228, allocations: 418.6 kB / 457 MB, free: 2.566 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.815e-06/0.4228, allocations: 3.953 kB / 457 MB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.4229, allocations: 23.98 kB / 457 MB, free: 2.539 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/0.4229, allocations: 4 kB / 457 MB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.423, allocations: 0 / 457 MB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.842e-06/0.423, allocations: 80 / 457 MB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.18e-06/0.423, allocations: 3.984 kB / 457 MB, free: 2.531 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000365/0.4233, allocations: 211.4 kB / 457.2 MB, free: 2.309 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.778e-05/0.4235, allocations: 96.88 kB / 457.3 MB, free: 2.195 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.239e-05/0.4235, allocations: 8 kB / 457.3 MB, free: 2.188 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.4236, allocations: 11.92 kB / 457.3 MB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.4237, allocations: 4 kB / 457.3 MB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.094e-06/0.4237, allocations: 0 / 457.3 MB, free: 2.172 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002106/0.4239, allocations: 163.9 kB / 457.5 MB, free: 2.012 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.29e-07/0.4239, allocations: 0 / 457.5 MB, free: 2.012 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003618/0.4243, allocations: 32 kB / 457.5 MB, free: 1.98 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0009817/0.4253, allocations: 294.2 kB / 457.8 MB, free: 1.754 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003541/0.4257, allocations: 135.3 kB / 457.9 MB, free: 1.609 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.89e-06/0.4257, allocations: 0 / 457.9 MB, free: 1.609 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.4258, allocations: 47.97 kB / 458 MB, free: 1.562 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.4261, allocations: 8 kB / 458 MB, free: 1.555 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006801/0.4268, allocations: 307.3 kB / 458.3 MB, free: 1.219 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003949/0.4272, allocations: 0.716 MB / 459 MB, free: 488 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.469e-05/0.4273, allocations: 15.44 kB / 459 MB, free: 472 kB / 378.7 MB Notification: Performance of SimCode: time 1.446e-06/0.4273, allocations: 0 / 459 MB, free: 472 kB / 378.7 MB Notification: Performance of Templates: time 0.00411/0.4314, allocations: 1.553 MB / 460.6 MB, free: 14.91 MB / 394.7 MB