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.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test9") Notification: Performance of loadModel(ModelicaTest): time 2.146/2.146, allocations: 234.9 MB / 250.5 MB, free: 10.45 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009299/0.0009308, allocations: 12 kB / 314.3 MB, free: 10.51 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3071, allocations: 54.89 MB / 369.2 MB, free: 10.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test9): time 0.003817/0.311, allocations: 1.207 MB / 370.4 MB, free: 9.605 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.3125, allocations: 257.1 kB / 370.6 MB, free: 9.352 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.365e-05/0.3126, allocations: 0 / 370.6 MB, free: 9.352 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001513/0.3142, allocations: 427.2 kB / 371.1 MB, free: 8.934 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009994/0.3152, allocations: 239.5 kB / 371.3 MB, free: 8.699 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002775/0.3156, allocations: 23.98 kB / 371.3 MB, free: 8.676 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000462/0.3161, allocations: 111.8 kB / 371.4 MB, free: 8.566 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.3163, allocations: 11.98 kB / 371.4 MB, free: 8.555 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003307/0.3166, allocations: 103.8 kB / 371.5 MB, free: 8.453 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000635/0.3173, allocations: 143.8 kB / 371.7 MB, free: 8.312 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.463e-05/0.3174, allocations: 3.938 kB / 371.7 MB, free: 8.309 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.157e-05/0.3175, allocations: 11.94 kB / 371.7 MB, free: 8.297 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.3176, allocations: 79.75 kB / 371.8 MB, free: 8.219 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.756e-05/0.3177, allocations: 61.52 kB / 371.8 MB, free: 8.152 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002676/0.318, allocations: 159.8 kB / 372 MB, free: 7.996 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.248e-06/0.318, allocations: 4 kB / 372 MB, free: 7.992 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.922e-06/0.318, allocations: 0 / 372 MB, free: 7.992 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.841e-06/0.318, allocations: 0 / 372 MB, free: 7.992 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.0008605/0.3189, allocations: 0.6065 MB / 372.6 MB, free: 7.332 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.3189, allocations: 8.031 kB / 372.6 MB, free: 7.324 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.112e-05/0.319, allocations: 47.39 kB / 372.7 MB, free: 7.277 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/0.3194, allocations: 271.3 kB / 372.9 MB, free: 6.969 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.3194, allocations: 8 kB / 372.9 MB, free: 6.961 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.3194, allocations: 4 kB / 372.9 MB, free: 6.957 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.3196, allocations: 57.67 kB / 373 MB, free: 6.895 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.3197, allocations: 0 / 373 MB, free: 6.895 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.604e-06/0.3197, allocations: 0 / 373 MB, free: 6.895 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3197, allocations: 0 / 373 MB, free: 6.895 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/0.3199, allocations: 43.94 kB / 373 MB, free: 6.852 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005704/0.3205, allocations: 368.8 kB / 373.4 MB, free: 6.441 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.3206, allocations: 46.5 kB / 373.4 MB, free: 6.387 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.3207, allocations: 4 kB / 373.4 MB, free: 6.383 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.3207, allocations: 30.56 kB / 373.5 MB, free: 6.344 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 2.363e-06/0.3208, allocations: 0 / 373.5 MB, free: 6.344 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004595/0.3212, allocations: 141.1 kB / 373.6 MB, free: 6.199 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.3213, allocations: 51.41 kB / 373.7 MB, free: 6.137 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.3225, allocations: 0.8534 MB / 374.5 MB, free: 5.273 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.3225, allocations: 25.7 kB / 374.5 MB, free: 5.242 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002147/0.3228, allocations: 230.6 kB / 374.8 MB, free: 5.016 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.3228, allocations: 3.906 kB / 374.8 MB, free: 5.012 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.541e-05/0.3228, allocations: 4 kB / 374.8 MB, free: 5.008 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.323, allocations: 314.8 kB / 375.1 MB, free: 4.691 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.3231, allocations: 27.98 kB / 375.1 MB, free: 4.664 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.333e-05/0.3232, allocations: 15.98 kB / 375.1 MB, free: 4.648 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.3234, allocations: 49.69 kB / 375.2 MB, free: 4.594 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.2e-06/0.3234, allocations: 0 / 375.2 MB, free: 4.594 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002903/0.3237, allocations: 107.4 kB / 375.3 MB, free: 4.477 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.193e-05/0.3237, allocations: 33.64 kB / 375.3 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3237, allocations: 0 / 375.3 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.3238, allocations: 4 kB / 375.3 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.3239, allocations: 11.95 kB / 375.3 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.584e-06/0.3239, allocations: 0 / 375.3 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.88e-05/0.324, allocations: 15.89 kB / 375.3 MB, free: 4.406 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.324, allocations: 4.328 kB / 375.3 MB, free: 4.402 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 (4): * Single equations (assignments): 3 * 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.0002609/0.3243, allocations: 205.8 kB / 375.5 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.527e-05/0.3244, allocations: 39.53 kB / 375.6 MB, free: 4.152 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003758/0.3248, allocations: 132.8 kB / 375.7 MB, free: 4.016 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.3248, allocations: 0 / 375.7 MB, free: 4.016 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.006e-06/0.3248, allocations: 3.953 kB / 375.7 MB, free: 4.012 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.874e-06/0.3249, allocations: 0 / 375.7 MB, free: 4.012 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004092/0.3253, allocations: 277.5 kB / 376 MB, free: 3.691 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.238e-06/0.3253, allocations: 3.984 kB / 376 MB, free: 3.688 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.441e-05/0.3254, allocations: 12 kB / 376 MB, free: 3.676 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.3254, allocations: 0 / 376 MB, free: 3.676 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.91e-06/0.3254, allocations: 0 / 376 MB, free: 3.676 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.3254, allocations: 0 / 376 MB, free: 3.676 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.792e-06/0.3254, allocations: 4 kB / 376 MB, free: 3.672 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003391/0.3258, allocations: 210.9 kB / 376.2 MB, free: 3.449 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.3259, allocations: 108.6 kB / 376.3 MB, free: 3.324 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.539e-05/0.326, allocations: 4 kB / 376.3 MB, free: 3.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.3261, allocations: 15.98 kB / 376.3 MB, free: 3.305 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.3262, allocations: 0 / 376.3 MB, free: 3.305 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.263e-06/0.3262, allocations: 3.938 kB / 376.3 MB, free: 3.301 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0009712/0.3272, allocations: 0.6394 MB / 377 MB, free: 2.664 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.62e-07/0.3272, allocations: 0 / 377 MB, free: 2.664 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003728/0.3276, allocations: 23.89 kB / 377 MB, free: 2.641 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 (3): * Single equations (assignments): 3 * 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.0008144/0.3284, allocations: 249 kB / 377.2 MB, free: 2.445 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003064/0.3287, allocations: 95.38 kB / 377.3 MB, free: 2.34 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.91e-06/0.3288, allocations: 4 kB / 377.3 MB, free: 2.336 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.3289, allocations: 27.98 kB / 377.4 MB, free: 2.309 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.3292, allocations: 13.95 kB / 377.4 MB, free: 2.293 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.3307, allocations: 0.8227 MB / 378.2 MB, free: 1.434 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005913/0.3313, allocations: 0.8223 MB / 379 MB, free: 0.582 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.857e-05/0.3314, allocations: 11.44 kB / 379 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of SimCode: time 1.72e-06/0.3314, allocations: 4 kB / 379 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of Templates: time 0.008827/0.3402, allocations: 3.152 MB / 382.2 MB, free: 13.41 MB / 314.7 MB