Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.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.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.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2") Notification: Performance of loadModel(ModelicaTest): time 2.54/2.54, allocations: 234.9 MB / 251.1 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005996/0.0005997, allocations: 12 kB / 314.9 MB, free: 9.617 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4105/0.4112, allocations: 54.86 MB / 369.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002554/0.4138, allocations: 1.223 MB / 371 MB, free: 9.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00075/0.4146, allocations: 249.2 kB / 371.3 MB, free: 9.254 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.752e-05/0.4147, allocations: 3.938 kB / 371.3 MB, free: 9.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002058/0.4149, allocations: 11.98 kB / 371.3 MB, free: 9.238 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001728/0.4151, allocations: 31.84 kB / 371.3 MB, free: 9.207 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001449/0.4152, allocations: 23.97 kB / 371.3 MB, free: 9.184 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.4154, allocations: 39.91 kB / 371.4 MB, free: 9.145 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.4155, allocations: 11.98 kB / 371.4 MB, free: 9.133 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.726e-05/0.4156, allocations: 15.92 kB / 371.4 MB, free: 9.117 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.966e-05/0.4157, allocations: 15.92 kB / 371.4 MB, free: 9.102 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.4157, allocations: 0 / 371.4 MB, free: 9.102 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.976e-05/0.4158, allocations: 19.92 kB / 371.4 MB, free: 9.082 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.38e-05/0.4159, allocations: 15.94 kB / 371.5 MB, free: 9.066 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.186e-05/0.4159, allocations: 25.7 kB / 371.5 MB, free: 9.035 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.4161, allocations: 47.92 kB / 371.5 MB, free: 8.988 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.4161, allocations: 0 / 371.5 MB, free: 8.988 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4161, allocations: 0 / 371.5 MB, free: 8.988 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.4161, allocations: 4 kB / 371.5 MB, free: 8.984 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.0005741/0.4167, allocations: 389.4 kB / 371.9 MB, free: 8.551 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.4167, allocations: 8.031 kB / 371.9 MB, free: 8.543 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.139e-05/0.4168, allocations: 11.86 kB / 371.9 MB, free: 8.531 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.417, allocations: 175.1 kB / 372.1 MB, free: 8.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.417, allocations: 4 kB / 372.1 MB, free: 8.316 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.08e-05/0.4171, allocations: 4 kB / 372.1 MB, free: 8.312 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.4173, allocations: 45.69 kB / 372.2 MB, free: 8.262 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.4173, allocations: 0 / 372.2 MB, free: 8.262 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.4173, allocations: 3.984 kB / 372.2 MB, free: 8.258 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.4173, allocations: 0 / 372.2 MB, free: 8.258 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001639/0.4175, allocations: 43.81 kB / 372.2 MB, free: 8.215 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000431/0.418, allocations: 268.8 kB / 372.5 MB, free: 7.902 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002843/0.4183, allocations: 42.56 kB / 372.5 MB, free: 7.852 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.4183, allocations: 4.094 kB / 372.5 MB, free: 7.848 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.4183, allocations: 38.55 kB / 372.6 MB, free: 7.801 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.4184, allocations: 0 / 372.6 MB, free: 7.801 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008257/0.4192, allocations: 161.3 kB / 372.7 MB, free: 7.637 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.4192, allocations: 55.34 kB / 372.8 MB, free: 7.57 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.4194, allocations: 134.1 kB / 372.9 MB, free: 7.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.4195, allocations: 25.7 kB / 372.9 MB, free: 7.398 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.226e-05/0.4196, allocations: 162.5 kB / 373.1 MB, free: 7.238 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.4196, allocations: 19.75 kB / 373.1 MB, free: 7.219 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-06/0.4196, allocations: 0 / 373.1 MB, free: 7.219 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.4198, allocations: 310.8 kB / 373.4 MB, free: 6.906 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.4199, allocations: 27.98 kB / 373.4 MB, free: 6.879 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.42, allocations: 27.97 kB / 373.5 MB, free: 6.852 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.4202, allocations: 49.7 kB / 373.5 MB, free: 6.797 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.4202, allocations: 3.984 kB / 373.5 MB, free: 6.793 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003441/0.4206, allocations: 119.3 kB / 373.6 MB, free: 6.664 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.395e-05/0.4206, allocations: 35.42 kB / 373.7 MB, free: 6.625 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.4207, allocations: 0 / 373.7 MB, free: 6.625 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.4207, allocations: 3.953 kB / 373.7 MB, free: 6.621 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.4208, allocations: 15.98 kB / 373.7 MB, free: 6.605 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.4208, allocations: 4 kB / 373.7 MB, free: 6.602 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.949e-05/0.4209, allocations: 7.938 kB / 373.7 MB, free: 6.594 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.4209, allocations: 4 kB / 373.7 MB, free: 6.59 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.000111/0.4211, allocations: 117.8 kB / 373.8 MB, free: 6.465 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.645e-05/0.4211, allocations: 4 kB / 373.8 MB, free: 6.461 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003737/0.4215, allocations: 109.5 kB / 373.9 MB, free: 6.348 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.4215, allocations: 0 / 373.9 MB, free: 6.348 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.4215, allocations: 4.266 kB / 373.9 MB, free: 6.344 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.596e-05/0.4216, allocations: 77.11 kB / 374 MB, free: 6.25 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.4216, allocations: 0 / 374 MB, free: 6.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.4218, allocations: 15.98 kB / 374 MB, free: 6.234 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.4218, allocations: 7.938 kB / 374 MB, free: 6.227 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004191/0.4222, allocations: 172.9 kB / 374.2 MB, free: 6.051 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004131/0.4227, allocations: 266.7 kB / 374.5 MB, free: 5.773 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001377/0.4228, allocations: 23.98 kB / 374.5 MB, free: 5.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001049/0.4229, allocations: 107.8 kB / 374.6 MB, free: 5.645 MB / 298.7 MB Notification: Performance of Backend: time 7.71e-07/0.423, allocations: 0 / 374.6 MB, free: 5.645 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001265/0.4242, allocations: 372 kB / 374.9 MB, free: 5.332 MB / 298.7 MB Notification: Performance of SimCode: time 0.0006999/0.4249, allocations: 0.6285 MB / 375.6 MB, free: 4.648 MB / 298.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) []