Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23") Notification: Performance of loadModel(ModelicaTest): time 1.832/1.832, allocations: 209.3 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004169/0.0004169, allocations: 12 kB / 283.1 MB, free: 9.703 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3244, allocations: 48.7 MB / 331.8 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.002098/0.3266, allocations: 1.21 MB / 333 MB, free: 5.898 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.3279, allocations: 0.8171 MB / 333.8 MB, free: 5.312 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.52e-05/0.328, allocations: 1.031 kB / 333.8 MB, free: 5.312 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001967/0.3282, allocations: 19.7 kB / 333.9 MB, free: 5.305 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001494/0.3284, allocations: 27.73 kB / 333.9 MB, free: 5.289 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001314/0.3285, allocations: 31.02 kB / 333.9 MB, free: 5.273 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.3287, allocations: 39.25 kB / 334 MB, free: 5.254 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.63e-05/0.3288, allocations: 18.5 kB / 334 MB, free: 5.242 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.975e-05/0.3289, allocations: 18.97 kB / 334 MB, free: 5.234 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.329, allocations: 17.92 kB / 334 MB, free: 5.227 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.329, allocations: 2.062 kB / 334 MB, free: 5.227 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.3292, allocations: 32.88 kB / 334 MB, free: 5.219 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.319e-05/0.3292, allocations: 10.78 kB / 334.1 MB, free: 5.211 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.635e-05/0.3292, allocations: 28.17 kB / 334.1 MB, free: 5.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.3294, allocations: 58.48 kB / 334.1 MB, free: 5.164 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.3294, allocations: 1.094 kB / 334.1 MB, free: 5.164 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3294, allocations: 0 / 334.1 MB, free: 5.164 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.3295, allocations: 0 / 334.1 MB, free: 5.164 MB / 266.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.0004047/0.3299, allocations: 400.7 kB / 334.5 MB, free: 4.746 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.3299, allocations: 9.219 kB / 334.5 MB, free: 4.746 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.06e-05/0.33, allocations: 7.25 kB / 334.5 MB, free: 4.742 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.3301, allocations: 178.3 kB / 334.7 MB, free: 4.539 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.3302, allocations: 5.469 kB / 334.7 MB, free: 4.535 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.3302, allocations: 1.438 kB / 334.7 MB, free: 4.535 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.3304, allocations: 67.94 kB / 334.8 MB, free: 4.477 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.3304, allocations: 5.344 kB / 334.8 MB, free: 4.473 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.3304, allocations: 0 / 334.8 MB, free: 4.473 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.3304, allocations: 5.562 kB / 334.8 MB, free: 4.469 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.3306, allocations: 28.36 kB / 334.8 MB, free: 4.461 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/0.3309, allocations: 277.8 kB / 335.1 MB, free: 4.172 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000235/0.3312, allocations: 41.75 kB / 335.1 MB, free: 4.145 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.3312, allocations: 1.219 kB / 335.1 MB, free: 4.145 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.3313, allocations: 36.48 kB / 335.2 MB, free: 4.102 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.3313, allocations: 0 / 335.2 MB, free: 4.102 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007547/0.332, allocations: 156.1 kB / 335.3 MB, free: 4.035 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.3321, allocations: 82.39 kB / 335.4 MB, free: 3.938 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.3322, allocations: 129 kB / 335.5 MB, free: 3.824 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.3322, allocations: 26.98 kB / 335.6 MB, free: 3.793 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.229e-05/0.3323, allocations: 156.1 kB / 335.7 MB, free: 3.641 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.3323, allocations: 19.52 kB / 335.7 MB, free: 3.625 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-06/0.3323, allocations: 0 / 335.7 MB, free: 3.625 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.283e-05/0.3324, allocations: 317.2 kB / 336 MB, free: 3.309 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.3325, allocations: 24.05 kB / 336.1 MB, free: 3.305 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.3327, allocations: 44.77 kB / 336.1 MB, free: 3.277 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.3329, allocations: 54.5 kB / 336.2 MB, free: 3.238 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.3329, allocations: 0 / 336.2 MB, free: 3.238 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003277/0.3332, allocations: 119.6 kB / 336.3 MB, free: 3.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.257e-05/0.3333, allocations: 35.88 kB / 336.3 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3333, allocations: 1.25 kB / 336.3 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3333, allocations: 0 / 336.3 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.3334, allocations: 18.56 kB / 336.3 MB, free: 3.121 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.3334, allocations: 0.5625 kB / 336.3 MB, free: 3.121 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.299e-05/0.3335, allocations: 7.156 kB / 336.3 MB, free: 3.121 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.3335, allocations: 7.047 kB / 336.4 MB, free: 3.117 MB / 266.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 7.237e-05/0.3336, allocations: 117.7 kB / 336.5 MB, free: 2.996 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-05/0.3337, allocations: 8.078 kB / 336.5 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003415/0.334, allocations: 96.09 kB / 336.6 MB, free: 2.941 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.334, allocations: 4.75 kB / 336.6 MB, free: 2.938 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.334, allocations: 3.938 kB / 336.6 MB, free: 2.934 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/0.3341, allocations: 96.69 kB / 336.7 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.3341, allocations: 1.719 kB / 336.7 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.3342, allocations: 11.16 kB / 336.7 MB, free: 2.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.3343, allocations: 8.5 kB / 336.7 MB, free: 2.816 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003377/0.3346, allocations: 172.5 kB / 336.9 MB, free: 2.691 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003295/0.335, allocations: 266.2 kB / 337.1 MB, free: 2.465 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001301/0.3351, allocations: 24.55 kB / 337.1 MB, free: 2.461 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.33e-05/0.3352, allocations: 98.84 kB / 337.2 MB, free: 2.379 MB / 266.7 MB Notification: Performance of Backend: time 6.51e-07/0.3352, allocations: 0 / 337.2 MB, free: 2.379 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001186/0.3364, allocations: 393.3 kB / 337.6 MB, free: 2.137 MB / 266.7 MB Notification: Performance of SimCode: time 0.0004985/0.3369, allocations: 0.6267 MB / 338.3 MB, free: 1.496 MB / 266.7 MB Error: Internal error GetVarIndexListByMapping: No Element for t_new.columns found! Error: Internal error GetVarIndexListByMapping: No Element for t_new.y found! Error: Internal error GetVarIndexListByMapping: No Element for $DER.clock.y found! Error: Internal error GetVarIndexListByMapping: No Element for $DER.d_t_new.u found! Error: Internal error GetVarIndexListByMapping: No Element for clock.y found! Error: Internal error GetVarIndexListByMapping: No Element for d_t_new.u found! Error: Internal error GetVarIndexListByMapping: No Element for d_t_new.y found! Error: Internal error GetVarIndexListByMapping: No Element for clock.offset found! Error: Internal error GetVarIndexListByMapping: No Element for clock.startTime found! Error: Internal error GetVarIndexListByMapping: No Element for t_new.tableOnFileRead found! Error: Internal error GetVarIndexListByMapping: No Element for t_new.nout found! Error: Internal error GetVarIndexListByMapping: No Element for t_new.smoothness found! Error: Internal error GetVarIndexListByMapping: No Element for t_new.tableOnFile found! Error: Internal error GetVarIndexListByMapping: No Element for t_new.verboseRead found! Error: Internal error GetVarIndexListByMapping: No Element for t_new.fileName found! Error: Internal error GetVarIndexListByMapping: No Element for t_new.tableName found! Error: Internal error GetVarIndexListByMapping: No Element for t_new.u found! Error: Internal error GetVarIndexListByMapping: No Element for $DER.clock.y found! [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:13946:9-13946:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:0: $DER.clock.y (no alias) initial: no arrCref index:(1) [] Error: Internal error GetVarIndexListByMapping: No Element for $DER.d_t_new.u found! [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:13946:9-13946:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:1: $DER.d_t_new.u (no alias) initial: no arrCref index:(2) [] Error: Internal error GetVarIndexListByMapping: No Element for clock.y found! [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:13946:9-13946:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:2: clock.y (no alias) initial: no arrCref index:(3) [] Error: Internal error GetVarIndexListByMapping: No Element for d_t_new.u found! [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:13946:9-13946:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:3: d_t_new.u (no alias) initial: no arrCref index:(4) [] Error: Internal error GetVarIndexListByMapping: No Element for d_t_new.y found! [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:13946:9-13946:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:4: d_t_new.y (no alias) initial: no arrCref index:(5) [] Error: Internal error GetVarIndexListByMapping: No Element for clock.offset found! [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:13946:9-13946:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:0: clock.offset (no alias) initial: 0.0 no arrCref index:(6) [] Error: Internal error GetVarIndexListByMapping: No Element for clock.startTime found! [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:13946:9-13946:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:1: clock.startTime (no alias) initial: 0.0 no arrCref index:(7) [] Error: Internal error GetVarIndexListByMapping: No Element for t_new.tableOnFileRead found! [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:13946:9-13946:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:2: t_new.tableOnFileRead (no alias) protected hideResult initial: no arrCref index:(8) [] Error: Internal error GetVarIndexListByMapping: No Element for clock.y found! [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:13946:9-13946:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:2: clock.y (no alias) initial: no arrCref index:(3) [] Error: Internal error GetVarIndexListByMapping: No Element for d_t_new.u found! [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:13946:9-13946:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:3: d_t_new.u (no alias) initial: no arrCref index:(4) [] Error: Internal error GetVarIndexListByMapping: No Element for t_new.columns found! [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:13946:9-13946:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:0: t_new.columns[1] (no alias) initial: 2 arrCref:t_new.columns index:(11) [1] Error: Internal error GetVarIndexListByMapping: No Element for t_new.nout found! [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:13946:9-13946:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:1: t_new.nout (no alias) initial: 1 no arrCref index:(12) [] Error: Internal error GetVarIndexListByMapping: No Element for t_new.smoothness found! [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:13946:9-13946:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:2: t_new.smoothness (no alias) initial: Modelica.Blocks.Types.Smoothness.LinearSegments no arrCref index:(13) [] Error: Internal error GetVarIndexListByMapping: No Element for t_new.tableOnFile found! [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:13946:9-13946:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:0: t_new.tableOnFile (no alias) initial: true no arrCref index:(14) [] Error: Internal error GetVarIndexListByMapping: No Element for t_new.verboseRead found! [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:13946:9-13946:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:1: t_new.verboseRead (no alias) initial: true no arrCref index:(15) [] Error: Internal error GetVarIndexListByMapping: No Element for t_new.fileName found! [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:13946:9-13946:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:0: t_new.fileName (no alias) initial: "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Data/Tables/test.txt" no arrCref index:(16) [] Error: Internal error GetVarIndexListByMapping: No Element for t_new.tableName found! [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:13946:9-13946:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:1: t_new.tableName (no alias) initial: "a" no arrCref index:(17) []