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.Test2.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.Test2,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.Test2") Notification: Performance of loadModel(ModelicaTest): time 1.826/1.826, allocations: 209.2 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000414/0.000414, allocations: 15.94 kB / 283.1 MB, free: 9.707 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3266, allocations: 48.71 MB / 331.8 MB, free: 6.484 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002068/0.3287, allocations: 1.2 MB / 333 MB, free: 5.895 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005834/0.3294, allocations: 251.2 kB / 333.3 MB, free: 5.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.194e-05/0.3294, allocations: 0 / 333.3 MB, free: 5.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001734/0.3296, allocations: 19.88 kB / 333.3 MB, free: 5.719 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.3297, allocations: 20.27 kB / 333.3 MB, free: 5.707 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001318/0.3299, allocations: 26.92 kB / 333.3 MB, free: 5.695 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.33, allocations: 40.27 kB / 333.4 MB, free: 5.676 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.021e-05/0.3301, allocations: 18.47 kB / 333.4 MB, free: 5.664 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.979e-05/0.3302, allocations: 17.77 kB / 333.4 MB, free: 5.656 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.859e-05/0.3303, allocations: 16.86 kB / 333.4 MB, free: 5.648 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.3303, allocations: 0 / 333.4 MB, free: 5.648 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.711e-05/0.3304, allocations: 16.7 kB / 333.4 MB, free: 5.645 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.653e-05/0.3304, allocations: 13.7 kB / 333.4 MB, free: 5.637 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.557e-05/0.3305, allocations: 27.67 kB / 333.5 MB, free: 5.605 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.3306, allocations: 45.59 kB / 333.5 MB, free: 5.594 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.3306, allocations: 0 / 333.5 MB, free: 5.594 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.3306, allocations: 4.656 kB / 333.5 MB, free: 5.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.3306, allocations: 0 / 333.5 MB, free: 5.59 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.0004045/0.331, allocations: 382.1 kB / 333.9 MB, free: 5.188 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.3311, allocations: 9.812 kB / 333.9 MB, free: 5.188 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.657e-05/0.3312, allocations: 10.19 kB / 333.9 MB, free: 5.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.3313, allocations: 178 kB / 334.1 MB, free: 4.977 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.3313, allocations: 2.094 kB / 334.1 MB, free: 4.977 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.3314, allocations: 2.125 kB / 334.1 MB, free: 4.977 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.3316, allocations: 50.58 kB / 334.1 MB, free: 4.938 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.3316, allocations: 5.734 kB / 334.1 MB, free: 4.934 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.3316, allocations: 0 / 334.1 MB, free: 4.934 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3316, allocations: 0.9688 kB / 334.1 MB, free: 4.934 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.3318, allocations: 25.16 kB / 334.2 MB, free: 4.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003216/0.3321, allocations: 287.3 kB / 334.5 MB, free: 4.629 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/0.3323, allocations: 43.25 kB / 334.5 MB, free: 4.602 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.3324, allocations: 1.188 kB / 334.5 MB, free: 4.602 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.3324, allocations: 36.55 kB / 334.5 MB, free: 4.559 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.3324, allocations: 0 / 334.5 MB, free: 4.559 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007638/0.3332, allocations: 151.3 kB / 334.7 MB, free: 4.496 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.812e-05/0.3332, allocations: 52.16 kB / 334.7 MB, free: 4.434 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.3334, allocations: 142 kB / 334.9 MB, free: 4.316 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.3334, allocations: 26.31 kB / 334.9 MB, free: 4.285 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.602e-05/0.3334, allocations: 156.8 kB / 335 MB, free: 4.133 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.3335, allocations: 28.16 kB / 335.1 MB, free: 4.109 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.3335, allocations: 0 / 335.1 MB, free: 4.109 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.763e-05/0.3336, allocations: 316.5 kB / 335.4 MB, free: 3.793 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.3337, allocations: 27.28 kB / 335.4 MB, free: 3.785 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.3338, allocations: 28.23 kB / 335.4 MB, free: 3.777 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.334, allocations: 53.94 kB / 335.5 MB, free: 3.738 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.334, allocations: 0 / 335.5 MB, free: 3.738 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003132/0.3343, allocations: 117.1 kB / 335.6 MB, free: 3.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.195e-05/0.3344, allocations: 33.38 kB / 335.6 MB, free: 3.629 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3344, allocations: 0 / 335.6 MB, free: 3.629 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.3344, allocations: 0 / 335.6 MB, free: 3.629 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.3345, allocations: 14.42 kB / 335.7 MB, free: 3.629 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.3345, allocations: 2.406 kB / 335.7 MB, free: 3.629 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.738e-05/0.3346, allocations: 5.828 kB / 335.7 MB, free: 3.629 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.3346, allocations: 1.734 kB / 335.7 MB, free: 3.629 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.564e-05/0.3347, allocations: 127.4 kB / 335.8 MB, free: 3.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.3348, allocations: 7.719 kB / 335.8 MB, free: 3.496 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003518/0.3351, allocations: 97.02 kB / 335.9 MB, free: 3.445 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3351, allocations: 288 / 335.9 MB, free: 3.445 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3352, allocations: 5.656 kB / 335.9 MB, free: 3.441 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.207e-05/0.3352, allocations: 91.98 kB / 336 MB, free: 3.336 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.3352, allocations: 5.016 kB / 336 MB, free: 3.332 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.3353, allocations: 10.2 kB / 336 MB, free: 3.328 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.3354, allocations: 8.344 kB / 336 MB, free: 3.324 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003322/0.3357, allocations: 169.7 kB / 336.2 MB, free: 3.203 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003203/0.3361, allocations: 256.4 kB / 336.4 MB, free: 2.984 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001288/0.3362, allocations: 29.72 kB / 336.5 MB, free: 2.977 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.762e-05/0.3363, allocations: 104.2 kB / 336.6 MB, free: 2.895 MB / 266.7 MB Notification: Performance of Backend: time 5.01e-07/0.3363, allocations: 0 / 336.6 MB, free: 2.895 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009554/0.3373, allocations: 322.3 kB / 336.9 MB, free: 2.688 MB / 266.7 MB Notification: Performance of SimCode: time 0.0004908/0.3378, allocations: 0.6337 MB / 337.5 MB, free: 2.043 MB / 266.7 MB Error: Internal error GetVarIndexListByMapping: No Element for t_new.table found! 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.table 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.table[1,1] (no alias) initial: 0.5 arrCref:t_new.table index:(8) [1,2] Error: Internal error GetVarIndexListByMapping: No Element for t_new.table 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: t_new.table[1,2] (no alias) initial: 1.0 no arrCref index:(9) [1,2] 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:4: t_new.tableOnFileRead (no alias) protected hideResult initial: no arrCref index:(10) [] 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:(13) [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:(14) [] 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:(15) [] 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: false no arrCref index:(16) [] 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:(17) [] 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: "NoName" no arrCref index:(18) [] 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: "NoName" no arrCref index:(19) []