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.Test1.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.Test1,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.Test1") Notification: Performance of loadModel(ModelicaTest): time 2.519/2.519, allocations: 234.9 MB / 251.1 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004586/0.0004588, allocations: 12 kB / 314.9 MB, free: 9.621 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4559/0.4563, allocations: 54.87 MB / 369.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test1): time 0.002537/0.459, allocations: 1.215 MB / 371 MB, free: 9.504 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007343/0.4597, allocations: 257.2 kB / 371.3 MB, free: 9.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.199e-05/0.4598, allocations: 0 / 371.3 MB, free: 9.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002059/0.46, allocations: 15.92 kB / 371.3 MB, free: 9.234 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.4602, allocations: 31.84 kB / 371.3 MB, free: 9.203 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001553/0.4604, allocations: 27.92 kB / 371.4 MB, free: 9.176 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.4606, allocations: 39.94 kB / 371.4 MB, free: 9.137 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.4607, allocations: 11.98 kB / 371.4 MB, free: 9.125 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.559e-05/0.4607, allocations: 11.94 kB / 371.4 MB, free: 9.113 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.079e-05/0.4608, allocations: 15.92 kB / 371.4 MB, free: 9.098 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.4609, allocations: 4 kB / 371.4 MB, free: 9.094 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.911e-05/0.4609, allocations: 15.88 kB / 371.5 MB, free: 9.078 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.373e-05/0.461, allocations: 19.97 kB / 371.5 MB, free: 9.059 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.729e-05/0.4611, allocations: 29.7 kB / 371.5 MB, free: 9.023 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.4612, allocations: 47.88 kB / 371.5 MB, free: 8.977 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.4612, allocations: 0 / 371.5 MB, free: 8.977 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4612, allocations: 0 / 371.5 MB, free: 8.977 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.4612, allocations: 0 / 371.5 MB, free: 8.977 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.0005712/0.4618, allocations: 385.5 kB / 371.9 MB, free: 8.547 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.4619, allocations: 12.02 kB / 371.9 MB, free: 8.535 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.532e-05/0.4619, allocations: 11.86 kB / 371.9 MB, free: 8.523 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.4622, allocations: 175.1 kB / 372.1 MB, free: 8.312 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.4622, allocations: 4 kB / 372.1 MB, free: 8.309 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.225e-05/0.4623, allocations: 8 kB / 372.1 MB, free: 8.301 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.4625, allocations: 45.69 kB / 372.2 MB, free: 8.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.4625, allocations: 0 / 372.2 MB, free: 8.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.4625, allocations: 3.938 kB / 372.2 MB, free: 8.246 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.4625, allocations: 0 / 372.2 MB, free: 8.246 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001692/0.4627, allocations: 47.86 kB / 372.2 MB, free: 8.199 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005515/0.4633, allocations: 272.8 kB / 372.5 MB, free: 7.883 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002876/0.4636, allocations: 50.56 kB / 372.5 MB, free: 7.824 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.4636, allocations: 0 / 372.5 MB, free: 7.824 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.4637, allocations: 38.5 kB / 372.6 MB, free: 7.777 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.4637, allocations: 0 / 372.6 MB, free: 7.777 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008744/0.4646, allocations: 165.5 kB / 372.7 MB, free: 7.609 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.4646, allocations: 55.34 kB / 372.8 MB, free: 7.543 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.4648, allocations: 130.1 kB / 372.9 MB, free: 7.406 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.4648, allocations: 29.7 kB / 373 MB, free: 7.371 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.4649, allocations: 158.6 kB / 373.1 MB, free: 7.215 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.465, allocations: 11.75 kB / 373.1 MB, free: 7.203 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.967e-06/0.465, allocations: 4 kB / 373.1 MB, free: 7.199 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.4652, allocations: 322.8 kB / 373.4 MB, free: 6.875 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.4653, allocations: 23.98 kB / 373.5 MB, free: 6.852 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.4655, allocations: 23.98 kB / 373.5 MB, free: 6.828 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.4656, allocations: 57.69 kB / 373.5 MB, free: 6.766 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4657, allocations: 7.938 kB / 373.5 MB, free: 6.758 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000375/0.466, allocations: 123.3 kB / 373.7 MB, free: 6.625 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.248e-05/0.4661, allocations: 29.7 kB / 373.7 MB, free: 6.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.4661, allocations: 0 / 373.7 MB, free: 6.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.4661, allocations: 3.953 kB / 373.7 MB, free: 6.586 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.4663, allocations: 23.92 kB / 373.7 MB, free: 6.562 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.4663, allocations: 4 kB / 373.7 MB, free: 6.559 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.41e-05/0.4664, allocations: 8 kB / 373.7 MB, free: 6.551 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.4664, allocations: 0 / 373.7 MB, free: 6.551 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.0001226/0.4665, allocations: 117.8 kB / 373.9 MB, free: 6.426 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.598e-05/0.4666, allocations: 4 kB / 373.9 MB, free: 6.422 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004208/0.467, allocations: 113.8 kB / 374 MB, free: 6.305 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.467, allocations: 3.984 kB / 374 MB, free: 6.301 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.068e-05/0.4671, allocations: 3.953 kB / 374 MB, free: 6.297 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.996e-05/0.4671, allocations: 81.41 kB / 374.1 MB, free: 6.199 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.4672, allocations: 3.938 kB / 374.1 MB, free: 6.195 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.4673, allocations: 12 kB / 374.1 MB, free: 6.184 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.031e-05/0.4674, allocations: 11.92 kB / 374.1 MB, free: 6.172 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004032/0.4678, allocations: 176.9 kB / 374.3 MB, free: 5.992 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004364/0.4682, allocations: 274.7 kB / 374.5 MB, free: 5.707 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001498/0.4684, allocations: 27.97 kB / 374.5 MB, free: 5.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001068/0.4685, allocations: 111.7 kB / 374.7 MB, free: 5.57 MB / 298.7 MB Notification: Performance of Backend: time 7.12e-07/0.4685, allocations: 0 / 374.7 MB, free: 5.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00128/0.4698, allocations: 368.5 kB / 375 MB, free: 5.266 MB / 298.7 MB Notification: Performance of SimCode: time 0.0007295/0.4706, allocations: 0.6363 MB / 375.7 MB, free: 4.574 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.0 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) []