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.Test24.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.Test24,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.Test24") Notification: Performance of loadModel(ModelicaTest): time 1.84/1.84, allocations: 209.3 MB / 225.4 MB, free: 296 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004158/0.0004159, allocations: 12 kB / 283.1 MB, free: 9.648 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3364, allocations: 48.7 MB / 331.8 MB, free: 6.473 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test24): time 0.002061/0.3385, allocations: 1.207 MB / 333 MB, free: 5.883 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.3398, allocations: 0.8197 MB / 333.8 MB, free: 5.297 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.833e-05/0.3399, allocations: 0 / 333.8 MB, free: 5.297 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001895/0.3401, allocations: 23.38 kB / 333.9 MB, free: 5.285 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001513/0.3403, allocations: 24.53 kB / 333.9 MB, free: 5.273 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001559/0.3404, allocations: 39.12 kB / 333.9 MB, free: 5.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.3406, allocations: 34.73 kB / 334 MB, free: 5.234 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.32e-05/0.3407, allocations: 12.3 kB / 334 MB, free: 5.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.115e-05/0.3407, allocations: 21.34 kB / 334 MB, free: 5.219 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.3409, allocations: 20.59 kB / 334 MB, free: 5.211 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.3409, allocations: 1.375 kB / 334 MB, free: 5.211 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.341, allocations: 31.03 kB / 334 MB, free: 5.203 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.529e-05/0.3411, allocations: 8.688 kB / 334.1 MB, free: 5.199 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.84e-05/0.3411, allocations: 36.27 kB / 334.1 MB, free: 5.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.3413, allocations: 59.17 kB / 334.1 MB, free: 5.145 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.3413, allocations: 0 / 334.1 MB, free: 5.145 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3413, allocations: 1.531 kB / 334.2 MB, free: 5.145 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.3413, allocations: 4 kB / 334.2 MB, free: 5.141 MB / 266.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.0004014/0.3417, allocations: 387 kB / 334.5 MB, free: 4.734 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3418, allocations: 9.5 kB / 334.5 MB, free: 4.734 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.3418, allocations: 10.72 kB / 334.6 MB, free: 4.727 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.342, allocations: 179.6 kB / 334.7 MB, free: 4.523 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.342, allocations: 0 / 334.7 MB, free: 4.523 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.3421, allocations: 7.609 kB / 334.7 MB, free: 4.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.3423, allocations: 62.95 kB / 334.8 MB, free: 4.465 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.3423, allocations: 1.125 kB / 334.8 MB, free: 4.465 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.3423, allocations: 4.688 kB / 334.8 MB, free: 4.461 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.3423, allocations: 5.312 kB / 334.8 MB, free: 4.457 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001488/0.3425, allocations: 34.97 kB / 334.8 MB, free: 4.445 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003857/0.3429, allocations: 276.4 kB / 335.1 MB, free: 4.164 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.3431, allocations: 53.55 kB / 335.2 MB, free: 4.129 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.3432, allocations: 1.156 kB / 335.2 MB, free: 4.129 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.3432, allocations: 36.5 kB / 335.2 MB, free: 4.086 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.644e-06/0.3432, allocations: 0 / 335.2 MB, free: 4.086 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008011/0.344, allocations: 166.2 kB / 335.4 MB, free: 4.016 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.3441, allocations: 82.75 kB / 335.4 MB, free: 3.918 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.3442, allocations: 132.3 kB / 335.6 MB, free: 3.801 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.3442, allocations: 27.53 kB / 335.6 MB, free: 3.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.684e-05/0.3443, allocations: 156.5 kB / 335.8 MB, free: 3.617 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.3443, allocations: 19.48 kB / 335.8 MB, free: 3.602 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-06/0.3443, allocations: 0 / 335.8 MB, free: 3.602 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.228e-05/0.3444, allocations: 320.6 kB / 336.1 MB, free: 3.281 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.3446, allocations: 31.23 kB / 336.1 MB, free: 3.273 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.3447, allocations: 38.7 kB / 336.2 MB, free: 3.254 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.3449, allocations: 56.81 kB / 336.2 MB, free: 3.215 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3449, allocations: 0 / 336.2 MB, free: 3.215 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003412/0.3452, allocations: 128 kB / 336.3 MB, free: 3.133 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.3453, allocations: 31.91 kB / 336.4 MB, free: 3.102 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3453, allocations: 4.688 kB / 336.4 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.3453, allocations: 0.75 kB / 336.4 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.3455, allocations: 14.44 kB / 336.4 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.3455, allocations: 0.7031 kB / 336.4 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.47e-05/0.3456, allocations: 11.12 kB / 336.4 MB, free: 3.094 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.3456, allocations: 3.375 kB / 336.4 MB, free: 3.094 MB / 266.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 7.493e-05/0.3457, allocations: 118.1 kB / 336.5 MB, free: 2.973 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/0.3457, allocations: 7.812 kB / 336.5 MB, free: 2.969 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003611/0.3461, allocations: 104.7 kB / 336.6 MB, free: 2.914 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3461, allocations: 9.156 kB / 336.6 MB, free: 2.906 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.3461, allocations: 5.156 kB / 336.6 MB, free: 2.902 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.296e-05/0.3462, allocations: 84.08 kB / 336.7 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.3462, allocations: 5.344 kB / 336.7 MB, free: 2.801 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.3463, allocations: 10.77 kB / 336.7 MB, free: 2.797 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.3463, allocations: 4.234 kB / 336.7 MB, free: 2.797 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003515/0.3467, allocations: 178.4 kB / 336.9 MB, free: 2.672 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000348/0.3471, allocations: 272.4 kB / 337.2 MB, free: 2.441 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001394/0.3472, allocations: 32.27 kB / 337.2 MB, free: 2.434 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.932e-05/0.3473, allocations: 94.08 kB / 337.3 MB, free: 2.355 MB / 266.7 MB Notification: Performance of Backend: time 7.12e-07/0.3473, allocations: 0 / 337.3 MB, free: 2.355 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001199/0.3485, allocations: 394.1 kB / 337.7 MB, free: 2.117 MB / 266.7 MB Notification: Performance of SimCode: time 0.0004846/0.349, allocations: 0.6431 MB / 338.3 MB, free: 1.461 MB / 266.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_tab" no arrCref index:(17) []