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.Test23.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.Test23,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.Test23") Notification: Performance of loadModel(ModelicaTest): time 2.482/2.482, allocations: 234.9 MB / 251.1 MB, free: 9.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006703/0.0006702, allocations: 12 kB / 315 MB, free: 9.531 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3918, allocations: 54.86 MB / 369.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.002578/0.3944, allocations: 1.212 MB / 371 MB, free: 9.477 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.3962, allocations: 0.8374 MB / 371.9 MB, free: 8.633 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.437e-05/0.3963, allocations: 4 kB / 371.9 MB, free: 8.629 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002384/0.3966, allocations: 19.86 kB / 371.9 MB, free: 8.609 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001943/0.3968, allocations: 27.91 kB / 371.9 MB, free: 8.582 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000162/0.397, allocations: 27.91 kB / 371.9 MB, free: 8.555 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.3971, allocations: 39.89 kB / 372 MB, free: 8.516 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.3973, allocations: 8 kB / 372 MB, free: 8.508 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.049e-05/0.3973, allocations: 15.92 kB / 372 MB, free: 8.492 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.3975, allocations: 23.91 kB / 372 MB, free: 8.469 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.3975, allocations: 8 kB / 372 MB, free: 8.461 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.3977, allocations: 27.98 kB / 372.1 MB, free: 8.434 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.952e-05/0.3977, allocations: 7.938 kB / 372.1 MB, free: 8.426 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.278e-05/0.3978, allocations: 29.7 kB / 372.1 MB, free: 8.391 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.398, allocations: 67.83 kB / 372.2 MB, free: 8.324 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.398, allocations: 0 / 372.2 MB, free: 8.324 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.398, allocations: 0 / 372.2 MB, free: 8.324 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.398, allocations: 0 / 372.2 MB, free: 8.324 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.0006162/0.3987, allocations: 392.4 kB / 372.5 MB, free: 7.891 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.3987, allocations: 12.03 kB / 372.6 MB, free: 7.879 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.732e-05/0.3988, allocations: 7.953 kB / 372.6 MB, free: 7.871 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.399, allocations: 182.9 kB / 372.7 MB, free: 7.652 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.3991, allocations: 4 kB / 372.7 MB, free: 7.648 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.3991, allocations: 4 kB / 372.8 MB, free: 7.645 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.3993, allocations: 59.41 kB / 372.8 MB, free: 7.574 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.3994, allocations: 0 / 372.8 MB, free: 7.574 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.3994, allocations: 12 kB / 372.8 MB, free: 7.562 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.3994, allocations: 3.938 kB / 372.8 MB, free: 7.559 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.3996, allocations: 31.92 kB / 372.9 MB, free: 7.527 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004517/0.4, allocations: 264.9 kB / 373.1 MB, free: 7.219 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002685/0.4003, allocations: 54.48 kB / 373.2 MB, free: 7.156 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.4004, allocations: 0 / 373.2 MB, free: 7.156 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.4004, allocations: 30.56 kB / 373.2 MB, free: 7.117 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.4004, allocations: 4 kB / 373.2 MB, free: 7.113 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.000852/0.4013, allocations: 161.4 kB / 373.4 MB, free: 6.949 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.4014, allocations: 77.11 kB / 373.4 MB, free: 6.855 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.4015, allocations: 121.8 kB / 373.6 MB, free: 6.727 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.4016, allocations: 25.7 kB / 373.6 MB, free: 6.695 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.4017, allocations: 162.5 kB / 373.7 MB, free: 6.535 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.4017, allocations: 19.75 kB / 373.8 MB, free: 6.516 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.069e-05/0.4017, allocations: 4 kB / 373.8 MB, free: 6.512 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.4019, allocations: 310.8 kB / 374.1 MB, free: 6.199 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.402, allocations: 23.98 kB / 374.1 MB, free: 6.176 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.4022, allocations: 45.62 kB / 374.1 MB, free: 6.125 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/0.4024, allocations: 61.7 kB / 374.2 MB, free: 6.059 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4024, allocations: 0 / 374.2 MB, free: 6.059 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003817/0.4028, allocations: 111.4 kB / 374.3 MB, free: 5.938 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.686e-05/0.4029, allocations: 33.7 kB / 374.3 MB, free: 5.898 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.4029, allocations: 4.031 kB / 374.3 MB, free: 5.895 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.4029, allocations: 3.953 kB / 374.3 MB, free: 5.891 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.4031, allocations: 19.98 kB / 374.4 MB, free: 5.871 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/0.4031, allocations: 3.984 kB / 374.4 MB, free: 5.867 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.658e-05/0.4032, allocations: 4 kB / 374.4 MB, free: 5.863 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.4032, allocations: 4 kB / 374.4 MB, free: 5.859 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.0001304/0.4034, allocations: 121.8 kB / 374.5 MB, free: 5.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.4034, allocations: 12.19 kB / 374.5 MB, free: 5.719 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003817/0.4038, allocations: 89.62 kB / 374.6 MB, free: 5.625 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.046e-06/0.4038, allocations: 3.984 kB / 374.6 MB, free: 5.621 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.4038, allocations: 7.891 kB / 374.6 MB, free: 5.613 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.322e-05/0.4039, allocations: 89.02 kB / 374.7 MB, free: 5.508 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.404, allocations: 4.312 kB / 374.7 MB, free: 5.504 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.4041, allocations: 7.984 kB / 374.7 MB, free: 5.496 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.4041, allocations: 8 kB / 374.7 MB, free: 5.488 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003873/0.4045, allocations: 176.9 kB / 374.9 MB, free: 5.309 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004235/0.405, allocations: 258.8 kB / 375.1 MB, free: 5.039 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001452/0.4051, allocations: 31.98 kB / 375.2 MB, free: 5.008 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001035/0.4053, allocations: 95.27 kB / 375.3 MB, free: 4.914 MB / 298.7 MB Notification: Performance of Backend: time 7.22e-07/0.4053, allocations: 0 / 375.3 MB, free: 4.914 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00162/0.4069, allocations: 454.8 kB / 375.7 MB, free: 4.539 MB / 298.7 MB Notification: Performance of SimCode: time 0.0007365/0.4076, allocations: 0.6285 MB / 376.3 MB, free: 3.855 MB / 298.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.2/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) []