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.Test12.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.CombiTable1D.Test12,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.Test12") Notification: Performance of loadModel(ModelicaTest): time 2.455/2.455, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004336/0.0004338, allocations: 12 kB / 314.3 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.316, allocations: 54.87 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test12): time 0.002246/0.3183, allocations: 1.223 MB / 370.4 MB, free: 9.469 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006328/0.319, allocations: 253.2 kB / 370.7 MB, free: 9.219 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.313e-05/0.319, allocations: 0 / 370.7 MB, free: 9.219 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001675/0.3192, allocations: 15.92 kB / 370.7 MB, free: 9.203 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001456/0.3194, allocations: 23.91 kB / 370.7 MB, free: 9.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001344/0.3195, allocations: 31.91 kB / 370.7 MB, free: 9.148 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.3197, allocations: 39.91 kB / 370.8 MB, free: 9.109 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.3198, allocations: 19.97 kB / 370.8 MB, free: 9.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.49e-05/0.3199, allocations: 19.92 kB / 370.8 MB, free: 9.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.58e-05/0.3199, allocations: 7.938 kB / 370.8 MB, free: 9.062 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.32, allocations: 0 / 370.8 MB, free: 9.062 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.919e-05/0.32, allocations: 23.92 kB / 370.8 MB, free: 9.039 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.855e-05/0.3201, allocations: 7.938 kB / 370.8 MB, free: 9.031 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.905e-05/0.3201, allocations: 33.7 kB / 370.9 MB, free: 8.992 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.3203, allocations: 51.92 kB / 370.9 MB, free: 8.941 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.931e-06/0.3203, allocations: 0 / 370.9 MB, free: 8.941 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3203, allocations: 0 / 370.9 MB, free: 8.941 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.057e-06/0.3203, allocations: 0 / 370.9 MB, free: 8.941 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005258/0.3209, allocations: 393.5 kB / 371.3 MB, free: 8.504 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3209, allocations: 12.03 kB / 371.3 MB, free: 8.492 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.135e-05/0.321, allocations: 11.86 kB / 371.3 MB, free: 8.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.3212, allocations: 187.7 kB / 371.5 MB, free: 8.258 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.3212, allocations: 4 kB / 371.5 MB, free: 8.254 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.3213, allocations: 4 kB / 371.5 MB, free: 8.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.3215, allocations: 49.69 kB / 371.6 MB, free: 8.195 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3215, allocations: 3.938 kB / 371.6 MB, free: 8.191 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.464e-06/0.3215, allocations: 4 kB / 371.6 MB, free: 8.188 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.961e-06/0.3215, allocations: 0 / 371.6 MB, free: 8.188 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.3217, allocations: 31.92 kB / 371.6 MB, free: 8.156 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004806/0.3222, allocations: 280.9 kB / 371.9 MB, free: 7.832 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002532/0.3224, allocations: 50.56 kB / 371.9 MB, free: 7.773 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.3225, allocations: 3.938 kB / 371.9 MB, free: 7.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.3225, allocations: 38.64 kB / 372 MB, free: 7.723 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 2.207e-06/0.3225, allocations: 0 / 372 MB, free: 7.723 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007744/0.3233, allocations: 173.2 kB / 372.1 MB, free: 7.547 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.3234, allocations: 51.41 kB / 372.2 MB, free: 7.484 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.3236, allocations: 158 kB / 372.3 MB, free: 7.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.3236, allocations: 25.7 kB / 372.4 MB, free: 7.289 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.921e-05/0.3237, allocations: 162.5 kB / 372.5 MB, free: 7.129 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.3238, allocations: 11.81 kB / 372.5 MB, free: 7.117 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.551e-06/0.3238, allocations: 4 kB / 372.5 MB, free: 7.113 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.324, allocations: 314.8 kB / 372.9 MB, free: 6.797 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.3241, allocations: 27.98 kB / 372.9 MB, free: 6.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.3242, allocations: 27.98 kB / 372.9 MB, free: 6.742 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.3244, allocations: 57.62 kB / 373 MB, free: 6.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.819e-06/0.3244, allocations: 0 / 373 MB, free: 6.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003309/0.3247, allocations: 127.4 kB / 373.1 MB, free: 6.543 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.635e-05/0.3248, allocations: 29.7 kB / 373.1 MB, free: 6.508 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.045e-06/0.3248, allocations: 0 / 373.1 MB, free: 6.508 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.3248, allocations: 3.953 kB / 373.1 MB, free: 6.504 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.943e-05/0.3249, allocations: 15.98 kB / 373.1 MB, free: 6.488 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.008e-06/0.325, allocations: 0 / 373.1 MB, free: 6.488 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.673e-05/0.325, allocations: 15.98 kB / 373.2 MB, free: 6.473 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.3251, allocations: 3.984 kB / 373.2 MB, free: 6.469 MB / 298.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 (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.000121/0.3252, allocations: 117.8 kB / 373.3 MB, free: 6.344 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.965e-05/0.3253, allocations: 7.906 kB / 373.3 MB, free: 6.336 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003378/0.3256, allocations: 118.2 kB / 373.4 MB, free: 6.219 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.18e-06/0.3256, allocations: 3.953 kB / 373.4 MB, free: 6.215 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.257e-06/0.3256, allocations: 4.297 kB / 373.4 MB, free: 6.211 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.741e-06/0.3257, allocations: 0 / 373.4 MB, free: 6.211 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000651/0.3263, allocations: 362.4 kB / 373.8 MB, free: 5.801 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.334e-06/0.3263, allocations: 4 kB / 373.8 MB, free: 5.797 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.565e-05/0.3264, allocations: 15.98 kB / 373.8 MB, free: 5.781 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.299e-06/0.3265, allocations: 3.953 kB / 373.8 MB, free: 5.777 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.3265, allocations: 4 kB / 373.8 MB, free: 5.773 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.921e-06/0.3265, allocations: 7.938 kB / 373.8 MB, free: 5.766 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.631e-06/0.3265, allocations: 0 / 373.8 MB, free: 5.766 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003266/0.3268, allocations: 191.4 kB / 374 MB, free: 5.562 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-05/0.3269, allocations: 85.02 kB / 374.1 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.327, allocations: 11.94 kB / 374.1 MB, free: 5.449 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.666e-05/0.3271, allocations: 4 kB / 374.1 MB, free: 5.445 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.3271, allocations: 7.938 kB / 374.1 MB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.3272, allocations: 3.984 kB / 374.1 MB, free: 5.434 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001353/0.3273, allocations: 124.4 kB / 374.2 MB, free: 5.312 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.16e-07/0.3273, allocations: 0 / 374.2 MB, free: 5.312 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003381/0.3277, allocations: 19.98 kB / 374.2 MB, free: 5.293 MB / 298.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 (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.0009771/0.3286, allocations: 285.5 kB / 374.5 MB, free: 5.082 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003385/0.329, allocations: 119.4 kB / 374.6 MB, free: 4.953 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.979e-06/0.329, allocations: 0 / 374.6 MB, free: 4.953 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.3292, allocations: 43.86 kB / 374.7 MB, free: 4.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.3294, allocations: 10.83 kB / 374.7 MB, free: 4.902 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005524/0.33, allocations: 222.3 kB / 374.9 MB, free: 4.648 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/0.3304, allocations: 0.7054 MB / 375.6 MB, free: 3.918 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.624e-05/0.3305, allocations: 11.44 kB / 375.6 MB, free: 3.906 MB / 298.7 MB Notification: Performance of SimCode: time 1.733e-06/0.3305, allocations: 0 / 375.6 MB, free: 3.906 MB / 298.7 MB Notification: Performance of Templates: time 0.003674/0.3342, allocations: 1.237 MB / 376.8 MB, free: 2.668 MB / 298.7 MB