Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.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.CombiTable1D.Test23") Notification: Performance of loadModel(ModelicaTest): time 1.786/1.786, allocations: 209.3 MB / 225.4 MB, free: 0.7617 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000408/0.000408, allocations: 16 kB / 283.1 MB, free: 9.707 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09754/0.09796, allocations: 48.71 MB / 331.8 MB, free: 8.906 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test23): time 0.002238/0.1003, allocations: 1.202 MB / 333 MB, free: 7.691 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.1018, allocations: 0.8256 MB / 333.9 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.688e-05/0.1018, allocations: 0 / 333.9 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001943/0.102, allocations: 23.86 kB / 333.9 MB, free: 6.836 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001539/0.1022, allocations: 23.97 kB / 333.9 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001492/0.1024, allocations: 35.84 kB / 333.9 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.1025, allocations: 43.89 kB / 334 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.17e-05/0.1026, allocations: 11.97 kB / 334 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.705e-05/0.1027, allocations: 19.92 kB / 334 MB, free: 6.703 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.1029, allocations: 15.92 kB / 334 MB, free: 6.688 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.1029, allocations: 0 / 334 MB, free: 6.688 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.103, allocations: 35.97 kB / 334.1 MB, free: 6.652 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.346e-05/0.1031, allocations: 15.92 kB / 334.1 MB, free: 6.637 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.646e-05/0.1031, allocations: 33.64 kB / 334.1 MB, free: 6.598 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.1033, allocations: 55.92 kB / 334.2 MB, free: 6.543 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.1033, allocations: 0 / 334.2 MB, free: 6.543 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1033, allocations: 0 / 334.2 MB, free: 6.543 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.1033, allocations: 0 / 334.2 MB, free: 6.543 MB / 282.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.0004877/0.1038, allocations: 388.1 kB / 334.5 MB, free: 6.113 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.1039, allocations: 12.02 kB / 334.6 MB, free: 6.102 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.869e-05/0.1039, allocations: 7.906 kB / 334.6 MB, free: 6.094 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.1041, allocations: 183 kB / 334.7 MB, free: 5.875 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.1042, allocations: 0 / 334.7 MB, free: 5.875 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.1042, allocations: 7.938 kB / 334.7 MB, free: 5.867 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.1044, allocations: 67.33 kB / 334.8 MB, free: 5.789 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.1044, allocations: 3.938 kB / 334.8 MB, free: 5.785 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.1045, allocations: 0 / 334.8 MB, free: 5.785 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.1045, allocations: 4 kB / 334.8 MB, free: 5.781 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.1046, allocations: 27.98 kB / 334.8 MB, free: 5.754 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004499/0.1051, allocations: 284.8 kB / 335.1 MB, free: 5.426 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002526/0.1054, allocations: 58.48 kB / 335.2 MB, free: 5.359 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.1054, allocations: 0 / 335.2 MB, free: 5.359 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.1054, allocations: 38.56 kB / 335.2 MB, free: 5.312 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.1055, allocations: 0 / 335.2 MB, free: 5.312 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008147/0.1063, allocations: 161.5 kB / 335.4 MB, free: 5.148 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.1063, allocations: 81.11 kB / 335.5 MB, free: 5.051 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.1065, allocations: 125.7 kB / 335.6 MB, free: 4.918 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.1065, allocations: 29.7 kB / 335.6 MB, free: 4.883 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.08e-05/0.1066, allocations: 150.6 kB / 335.8 MB, free: 4.734 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.1066, allocations: 23.73 kB / 335.8 MB, free: 4.711 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/0.1066, allocations: 4 kB / 335.8 MB, free: 4.707 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1068, allocations: 318.8 kB / 336.1 MB, free: 4.387 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.1069, allocations: 27.98 kB / 336.1 MB, free: 4.359 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.1071, allocations: 41.69 kB / 336.2 MB, free: 4.312 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.1073, allocations: 61.66 kB / 336.2 MB, free: 4.246 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1073, allocations: 0 / 336.2 MB, free: 4.246 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003595/0.1076, allocations: 123.4 kB / 336.3 MB, free: 4.113 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.337e-05/0.1077, allocations: 33.7 kB / 336.4 MB, free: 4.074 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1077, allocations: 0 / 336.4 MB, free: 4.074 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.1077, allocations: 4 kB / 336.4 MB, free: 4.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.1079, allocations: 15.98 kB / 336.4 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.1079, allocations: 0 / 336.4 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.736e-05/0.108, allocations: 8 kB / 336.4 MB, free: 4.047 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.108, allocations: 0 / 336.4 MB, free: 4.047 MB / 282.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 9.985e-05/0.1081, allocations: 121.8 kB / 336.5 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.314e-05/0.1081, allocations: 7.906 kB / 336.5 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003742/0.1085, allocations: 109.5 kB / 336.6 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1085, allocations: 0 / 336.6 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1086, allocations: 4 kB / 336.6 MB, free: 3.793 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.049e-05/0.1086, allocations: 85 kB / 336.7 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.1087, allocations: 4 kB / 336.7 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.1088, allocations: 15.95 kB / 336.7 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.1088, allocations: 3.984 kB / 336.7 MB, free: 3.668 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003839/0.1092, allocations: 173.2 kB / 336.9 MB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003949/0.1096, allocations: 271.2 kB / 337.2 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001385/0.1098, allocations: 27.92 kB / 337.2 MB, free: 3.184 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.216e-05/0.1099, allocations: 103.3 kB / 337.3 MB, free: 3.082 MB / 282.7 MB Notification: Performance of Backend: time 7.32e-07/0.1099, allocations: 0 / 337.3 MB, free: 3.082 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001261/0.1112, allocations: 382.5 kB / 337.7 MB, free: 2.766 MB / 282.7 MB Notification: Performance of SimCode: time 0.0006042/0.1118, allocations: 0.6478 MB / 338.3 MB, free: 2.062 MB / 282.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.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.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 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:(11) [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:(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) []