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.CombiTable2D.Test22.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.CombiTable2D.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test22") Notification: Performance of loadModel(ModelicaTest): time 2.218/2.218, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004448/0.000445, allocations: 12 kB / 314.3 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3101, allocations: 54.86 MB / 369.2 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test22): time 0.002736/0.3129, allocations: 1.512 MB / 370.7 MB, free: 9.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002208/0.3152, allocations: 1.023 MB / 371.7 MB, free: 8.059 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.3153, allocations: 0 / 371.7 MB, free: 8.059 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001871/0.3155, allocations: 27.78 kB / 371.7 MB, free: 8.031 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003244/0.3159, allocations: 115.7 kB / 371.9 MB, free: 7.918 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003869/0.3163, allocations: 115.6 kB / 372 MB, free: 7.805 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002935/0.3166, allocations: 151.7 kB / 372.1 MB, free: 7.656 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.3168, allocations: 48.45 kB / 372.2 MB, free: 7.609 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000234/0.317, allocations: 95.66 kB / 372.3 MB, free: 7.516 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002646/0.3173, allocations: 143.5 kB / 372.4 MB, free: 7.375 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.423e-05/0.3173, allocations: 8 kB / 372.4 MB, free: 7.367 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001952/0.3175, allocations: 47.92 kB / 372.5 MB, free: 7.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.3177, allocations: 107.7 kB / 372.6 MB, free: 7.215 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.607e-05/0.3178, allocations: 69.45 kB / 372.6 MB, free: 7.141 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004072/0.3182, allocations: 256.3 kB / 372.9 MB, free: 6.891 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.052e-06/0.3182, allocations: 0 / 372.9 MB, free: 6.891 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3182, allocations: 0 / 372.9 MB, free: 6.891 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.688e-06/0.3183, allocations: 0 / 372.9 MB, free: 6.891 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001132/0.3194, allocations: 0.7782 MB / 373.7 MB, free: 6.039 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.3195, allocations: 8.031 kB / 373.7 MB, free: 6.031 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.3196, allocations: 55.34 kB / 373.7 MB, free: 5.977 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006433/0.3202, allocations: 387.3 kB / 374.1 MB, free: 5.555 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.3203, allocations: 11.94 kB / 374.1 MB, free: 5.543 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.893e-05/0.3203, allocations: 12 kB / 374.1 MB, free: 5.531 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000356/0.3207, allocations: 139.2 kB / 374.3 MB, free: 5.383 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.3207, allocations: 0 / 374.3 MB, free: 5.383 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.3208, allocations: 8 kB / 374.3 MB, free: 5.375 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.362e-06/0.3208, allocations: 3.953 kB / 374.3 MB, free: 5.371 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003141/0.3211, allocations: 87.89 kB / 374.4 MB, free: 5.285 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.3223, allocations: 0.6526 MB / 375 MB, free: 4.578 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003086/0.3227, allocations: 117.2 kB / 375.1 MB, free: 4.445 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.827e-05/0.3227, allocations: 4 kB / 375.1 MB, free: 4.441 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.3228, allocations: 30.56 kB / 375.2 MB, free: 4.402 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 3.202e-06/0.3228, allocations: 0 / 375.2 MB, free: 4.402 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.001914/0.3247, allocations: 0.5496 MB / 375.7 MB, free: 3.844 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.159e-05/0.3248, allocations: 81.06 kB / 375.8 MB, free: 3.746 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001279/0.3261, allocations: 0.8112 MB / 376.6 MB, free: 2.926 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/0.3262, allocations: 29.7 kB / 376.6 MB, free: 2.891 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002217/0.3264, allocations: 250.8 kB / 376.9 MB, free: 2.645 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.324e-05/0.3265, allocations: 51.23 kB / 376.9 MB, free: 2.594 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.589e-05/0.3265, allocations: 4 kB / 376.9 MB, free: 2.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.3267, allocations: 318.8 kB / 377.2 MB, free: 2.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002885/0.327, allocations: 71.95 kB / 377.3 MB, free: 2.199 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002636/0.3273, allocations: 93.61 kB / 377.4 MB, free: 2.102 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003614/0.3277, allocations: 186.7 kB / 377.6 MB, free: 1.895 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.3277, allocations: 0 / 377.6 MB, free: 1.895 MB / 298.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008553/0.3286, allocations: 328.3 kB / 377.9 MB, free: 1.543 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/0.3287, allocations: 118.8 kB / 378 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.843e-06/0.3287, allocations: 0 / 378 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.3287, allocations: 4 kB / 378 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002889/0.329, allocations: 43.91 kB / 378.1 MB, free: 1.355 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.696e-06/0.3291, allocations: 0 / 378.1 MB, free: 1.355 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.3293, allocations: 19.98 kB / 378.1 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/0.3293, allocations: 12 kB / 378.1 MB, free: 1.324 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.000305/0.3296, allocations: 197.7 kB / 378.3 MB, free: 1.121 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.3298, allocations: 43.44 kB / 378.3 MB, free: 1.078 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008647/0.3307, allocations: 297.4 kB / 378.6 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.84e-06/0.3307, allocations: 0 / 378.6 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.112e-06/0.3307, allocations: 4.75 kB / 378.6 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.3307, allocations: 0 / 378.6 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001612/0.3324, allocations: 0.7669 MB / 379.4 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.573e-06/0.3324, allocations: 3.938 kB / 379.4 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002405/0.3327, allocations: 39.97 kB / 379.4 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.659e-06/0.3327, allocations: 0 / 379.4 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.826e-05/0.3327, allocations: 15.98 kB / 379.4 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.421e-06/0.3327, allocations: 3.938 kB / 379.4 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.167e-06/0.3328, allocations: 7.938 kB / 379.5 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008414/0.3336, allocations: 410.1 kB / 379.9 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001993/0.3338, allocations: 136.5 kB / 380 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.907e-05/0.3339, allocations: 4 kB / 380 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002633/0.3342, allocations: 15.98 kB / 380 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.387e-05/0.3343, allocations: 15.98 kB / 380 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.277e-05/0.3343, allocations: 7.984 kB / 380 MB, free: 15.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009353/0.3352, allocations: 0.5886 MB / 380.6 MB, free: 14.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.063e-06/0.3353, allocations: 0 / 380.6 MB, free: 14.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005625/0.3358, allocations: 71.91 kB / 380.7 MB, free: 14.61 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.002176/0.338, allocations: 0.5819 MB / 381.3 MB, free: 14.12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008935/0.339, allocations: 393.5 kB / 381.7 MB, free: 13.69 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.197e-06/0.339, allocations: 0 / 381.7 MB, free: 13.69 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002903/0.3393, allocations: 91.88 kB / 381.7 MB, free: 13.6 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005451/0.3399, allocations: 46.28 kB / 381.8 MB, free: 13.55 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.3418, allocations: 0.9028 MB / 382.7 MB, free: 12.61 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006448/0.3425, allocations: 0.8418 MB / 383.5 MB, free: 11.74 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001734/0.3427, allocations: 35.42 kB / 383.6 MB, free: 11.71 MB / 314.7 MB Notification: Performance of SimCode: time 2.016e-06/0.3427, allocations: 7.938 kB / 383.6 MB, free: 11.7 MB / 314.7 MB Notification: Performance of Templates: time 0.01095/0.3536, allocations: 5.12 MB / 388.7 MB, free: 6.57 MB / 314.7 MB