Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test2.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test2,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.Test2") Notification: Performance of loadModel(ModelicaTest): time 2.466/2.466, allocations: 234.9 MB / 251.1 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004551/0.0004553, allocations: 11.98 kB / 315 MB, free: 9.621 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.3803, allocations: 54.86 MB / 369.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test2): time 0.002396/0.3827, allocations: 1.219 MB / 371 MB, free: 9.512 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006891/0.3834, allocations: 257.2 kB / 371.3 MB, free: 9.258 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.352e-05/0.3835, allocations: 0 / 371.3 MB, free: 9.258 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001847/0.3837, allocations: 15.86 kB / 371.3 MB, free: 9.242 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001451/0.3839, allocations: 27.91 kB / 371.3 MB, free: 9.215 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001486/0.384, allocations: 27.92 kB / 371.4 MB, free: 9.188 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.3842, allocations: 43.94 kB / 371.4 MB, free: 9.145 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.087e-05/0.3843, allocations: 4 kB / 371.4 MB, free: 9.141 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.631e-05/0.3844, allocations: 19.92 kB / 371.4 MB, free: 9.121 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.574e-05/0.3844, allocations: 15.86 kB / 371.4 MB, free: 9.105 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.3845, allocations: 4 kB / 371.4 MB, free: 9.102 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.09e-05/0.3846, allocations: 15.94 kB / 371.5 MB, free: 9.086 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.878e-05/0.3846, allocations: 15.97 kB / 371.5 MB, free: 9.07 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.63e-05/0.3847, allocations: 37.64 kB / 371.5 MB, free: 9.027 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.3848, allocations: 39.94 kB / 371.5 MB, free: 8.988 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.3848, allocations: 0 / 371.5 MB, free: 8.988 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3848, allocations: 0 / 371.5 MB, free: 8.988 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.3848, allocations: 0 / 371.5 MB, free: 8.988 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.0005249/0.3854, allocations: 385.5 kB / 371.9 MB, free: 8.559 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.3854, allocations: 8.031 kB / 371.9 MB, free: 8.551 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.3855, allocations: 11.86 kB / 371.9 MB, free: 8.539 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.3857, allocations: 187 kB / 372.1 MB, free: 8.316 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.3857, allocations: 0 / 372.1 MB, free: 8.316 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.3858, allocations: 0 / 372.1 MB, free: 8.316 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.386, allocations: 61.62 kB / 372.2 MB, free: 8.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.386, allocations: 0 / 372.2 MB, free: 8.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.386, allocations: 0 / 372.2 MB, free: 8.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.386, allocations: 3.938 kB / 372.2 MB, free: 8.246 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001651/0.3862, allocations: 35.92 kB / 372.2 MB, free: 8.211 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004645/0.3867, allocations: 280.8 kB / 372.5 MB, free: 7.887 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/0.3869, allocations: 46.5 kB / 372.5 MB, free: 7.832 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.387, allocations: 4 kB / 372.5 MB, free: 7.828 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.387, allocations: 34.56 kB / 372.6 MB, free: 7.785 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.387, allocations: 0 / 372.6 MB, free: 7.785 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008341/0.3879, allocations: 169.4 kB / 372.7 MB, free: 7.613 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.3879, allocations: 51.41 kB / 372.8 MB, free: 7.551 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.3881, allocations: 134.1 kB / 372.9 MB, free: 7.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.3881, allocations: 25.7 kB / 373 MB, free: 7.379 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.811e-05/0.3882, allocations: 158.6 kB / 373.1 MB, free: 7.223 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.3883, allocations: 15.75 kB / 373.1 MB, free: 7.207 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.271e-06/0.3883, allocations: 0 / 373.1 MB, free: 7.207 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.3884, allocations: 314.8 kB / 373.4 MB, free: 6.891 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.3886, allocations: 31.97 kB / 373.5 MB, free: 6.859 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.3887, allocations: 27.98 kB / 373.5 MB, free: 6.832 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.3889, allocations: 49.69 kB / 373.5 MB, free: 6.777 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.3889, allocations: 11.94 kB / 373.5 MB, free: 6.766 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003597/0.3893, allocations: 127.2 kB / 373.7 MB, free: 6.629 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.832e-05/0.3894, allocations: 33.7 kB / 373.7 MB, free: 6.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3894, allocations: 0 / 373.7 MB, free: 6.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.3894, allocations: 3.953 kB / 373.7 MB, free: 6.586 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.3895, allocations: 15.98 kB / 373.7 MB, free: 6.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.3896, allocations: 4 kB / 373.7 MB, free: 6.566 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.768e-05/0.3896, allocations: 4 kB / 373.7 MB, free: 6.562 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.3897, allocations: 4 kB / 373.7 MB, free: 6.559 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.0001098/0.3898, allocations: 117.8 kB / 373.9 MB, free: 6.434 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.497e-05/0.3898, allocations: 4 kB / 373.9 MB, free: 6.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003887/0.3902, allocations: 109.5 kB / 374 MB, free: 6.316 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3902, allocations: 0 / 374 MB, free: 6.316 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.3903, allocations: 7.953 kB / 374 MB, free: 6.309 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.983e-05/0.3903, allocations: 81.09 kB / 374 MB, free: 6.211 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.3904, allocations: 4 kB / 374.1 MB, free: 6.207 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.3905, allocations: 12.25 kB / 374.1 MB, free: 6.195 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.3905, allocations: 3.984 kB / 374.1 MB, free: 6.191 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004019/0.3909, allocations: 180.9 kB / 374.2 MB, free: 6.008 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004347/0.3914, allocations: 274.6 kB / 374.5 MB, free: 5.723 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001512/0.3916, allocations: 35.97 kB / 374.5 MB, free: 5.688 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001026/0.3917, allocations: 99.77 kB / 374.6 MB, free: 5.59 MB / 298.7 MB Notification: Performance of Backend: time 4.31e-07/0.3917, allocations: 0 / 374.6 MB, free: 5.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001266/0.393, allocations: 371.3 kB / 375 MB, free: 5.281 MB / 298.7 MB Notification: Performance of SimCode: time 0.0007117/0.3937, allocations: 0.6365 MB / 375.6 MB, free: 4.59 MB / 298.7 MB Error: Internal error GetVarIndexListByMapping: No Element for $DER.t_new.u found! Error: Internal error GetVarIndexListByMapping: No Element for t_new.u found! 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.d_t_new.u 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.n 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 clock.y found! 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:0: $DER.d_t_new.u (no alias) initial: no arrCref index:(1) [] Error: Internal error GetVarIndexListByMapping: No Element for $DER.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.t_new.u[1] (no alias) initial: arrCref:$DER.t_new.u index:(2) [1] 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:2: d_t_new.u (no alias) initial: no arrCref index:(3) [] 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:3: d_t_new.y (no alias) initial: no arrCref index:(4) [] Error: Internal error GetVarIndexListByMapping: No Element for 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:4: t_new.u[1] (no alias) initial: arrCref:t_new.u index:(5) [1] 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 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:4: t_new.u[1] (no alias) initial: arrCref:t_new.u index:(5) [1] 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:2: d_t_new.u (no alias) initial: no arrCref index:(3) [] 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.n 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.n (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) []