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.Test19.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.Test19,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.Test19") Notification: Performance of loadModel(ModelicaTest): time 1.794/1.794, allocations: 209.2 MB / 225.4 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004041/0.0004041, allocations: 12 kB / 283.1 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3356, allocations: 48.7 MB / 331.8 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test19): time 0.002077/0.3377, allocations: 1.204 MB / 333 MB, free: 5.898 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.339, allocations: 0.8233 MB / 333.8 MB, free: 5.312 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.497e-05/0.3391, allocations: 1.25 kB / 333.8 MB, free: 5.312 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001911/0.3393, allocations: 25.25 kB / 333.9 MB, free: 5.297 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000152/0.3395, allocations: 20.47 kB / 333.9 MB, free: 5.289 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001355/0.3396, allocations: 38.48 kB / 333.9 MB, free: 5.266 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.3397, allocations: 39.19 kB / 334 MB, free: 5.246 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.483e-05/0.3399, allocations: 12.03 kB / 334 MB, free: 5.242 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.112e-05/0.3399, allocations: 21.05 kB / 334 MB, free: 5.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.3401, allocations: 20.3 kB / 334 MB, free: 5.223 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.3401, allocations: 1.062 kB / 334 MB, free: 5.223 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.3402, allocations: 32.48 kB / 334 MB, free: 5.215 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.538e-05/0.3403, allocations: 16.81 kB / 334.1 MB, free: 5.203 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.652e-05/0.3403, allocations: 28.14 kB / 334.1 MB, free: 5.172 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.3405, allocations: 58.58 kB / 334.2 MB, free: 5.156 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.3405, allocations: 1.219 kB / 334.2 MB, free: 5.156 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3405, allocations: 0 / 334.2 MB, free: 5.156 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.3405, allocations: 0 / 334.2 MB, free: 5.156 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.0004135/0.3409, allocations: 388.1 kB / 334.5 MB, free: 4.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.341, allocations: 13.16 kB / 334.5 MB, free: 4.746 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.9e-05/0.341, allocations: 7.562 kB / 334.6 MB, free: 4.742 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.3412, allocations: 185.7 kB / 334.7 MB, free: 4.531 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.3412, allocations: 5.312 kB / 334.7 MB, free: 4.527 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.3413, allocations: 6.656 kB / 334.7 MB, free: 4.523 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.3415, allocations: 60.14 kB / 334.8 MB, free: 4.473 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.3415, allocations: 0 / 334.8 MB, free: 4.473 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.3415, allocations: 1.719 kB / 334.8 MB, free: 4.473 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3415, allocations: 7.938 kB / 334.8 MB, free: 4.465 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.3417, allocations: 31.08 kB / 334.8 MB, free: 4.457 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004049/0.3421, allocations: 281.5 kB / 335.1 MB, free: 4.172 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002432/0.3424, allocations: 52.17 kB / 335.2 MB, free: 4.137 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.3424, allocations: 1.906 kB / 335.2 MB, free: 4.137 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.3424, allocations: 32.78 kB / 335.2 MB, free: 4.098 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.3424, allocations: 0 / 335.2 MB, free: 4.098 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007907/0.3432, allocations: 170.3 kB / 335.4 MB, free: 4.023 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.298e-05/0.3433, allocations: 78.55 kB / 335.4 MB, free: 3.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.3434, allocations: 132.5 kB / 335.6 MB, free: 3.812 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.3434, allocations: 27.5 kB / 335.6 MB, free: 3.781 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.3e-05/0.3435, allocations: 160 kB / 335.8 MB, free: 3.625 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.3435, allocations: 15.86 kB / 335.8 MB, free: 3.613 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-06/0.3435, allocations: 0 / 335.8 MB, free: 3.613 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.446e-05/0.3436, allocations: 321.4 kB / 336.1 MB, free: 3.293 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.3437, allocations: 25.58 kB / 336.1 MB, free: 3.289 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.3439, allocations: 47.31 kB / 336.2 MB, free: 3.262 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.3441, allocations: 56.67 kB / 336.2 MB, free: 3.223 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3441, allocations: 1.469 kB / 336.2 MB, free: 3.223 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003415/0.3444, allocations: 122.9 kB / 336.3 MB, free: 3.145 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.3445, allocations: 35.89 kB / 336.4 MB, free: 3.109 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3445, allocations: 0 / 336.4 MB, free: 3.109 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.3445, allocations: 1.031 kB / 336.4 MB, free: 3.109 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.3446, allocations: 14.05 kB / 336.4 MB, free: 3.109 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.3446, allocations: 1.469 kB / 336.4 MB, free: 3.109 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.371e-05/0.3447, allocations: 7.75 kB / 336.4 MB, free: 3.109 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.3447, allocations: 1.438 kB / 336.4 MB, free: 3.109 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.661e-05/0.3448, allocations: 127 kB / 336.5 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.639e-05/0.3449, allocations: 7.812 kB / 336.5 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003582/0.3452, allocations: 102 kB / 336.6 MB, free: 2.926 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.3453, allocations: 0 / 336.6 MB, free: 2.926 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3453, allocations: 3.938 kB / 336.6 MB, free: 2.922 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/0.3453, allocations: 93.91 kB / 336.7 MB, free: 2.816 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.3453, allocations: 4 kB / 336.7 MB, free: 2.812 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.3455, allocations: 11.31 kB / 336.7 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.3455, allocations: 4.938 kB / 336.7 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003651/0.3459, allocations: 177 kB / 336.9 MB, free: 2.684 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003431/0.3463, allocations: 269 kB / 337.2 MB, free: 2.457 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001407/0.3464, allocations: 35.61 kB / 337.2 MB, free: 2.445 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.896e-05/0.3465, allocations: 95.84 kB / 337.3 MB, free: 2.367 MB / 266.7 MB Notification: Performance of Backend: time 5.21e-07/0.3465, allocations: 0 / 337.3 MB, free: 2.367 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001181/0.3477, allocations: 397.3 kB / 337.7 MB, free: 2.125 MB / 266.7 MB Notification: Performance of SimCode: time 0.0004868/0.3482, allocations: 0.6366 MB / 338.3 MB, free: 1.477 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_v4.mat" 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) []