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.Test25_usertab.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.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertab") Notification: Performance of loadModel(ModelicaTest): time 1.808/1.808, allocations: 209.3 MB / 225.4 MB, free: 0.6055 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005752/0.0005753, allocations: 11.98 kB / 283.1 MB, free: 9.688 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3519, allocations: 48.7 MB / 331.8 MB, free: 6.473 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test25_usertab): time 0.002116/0.3541, allocations: 1.216 MB / 333 MB, free: 5.875 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006445/0.3548, allocations: 266.9 kB / 333.3 MB, free: 5.703 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.772e-05/0.3548, allocations: 1.188 kB / 333.3 MB, free: 5.703 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002302/0.3551, allocations: 17.83 kB / 333.3 MB, free: 5.695 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001489/0.3552, allocations: 24.7 kB / 333.3 MB, free: 5.684 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001376/0.3554, allocations: 39.19 kB / 333.4 MB, free: 5.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.3555, allocations: 35.5 kB / 333.4 MB, free: 5.645 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.694e-05/0.3556, allocations: 16.72 kB / 333.4 MB, free: 5.637 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.209e-05/0.3557, allocations: 17.36 kB / 333.4 MB, free: 5.629 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.771e-05/0.3558, allocations: 26.94 kB / 333.5 MB, free: 5.613 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.3558, allocations: 1.531 kB / 333.5 MB, free: 5.613 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.3559, allocations: 29.94 kB / 333.5 MB, free: 5.609 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.435e-05/0.356, allocations: 6.641 kB / 333.5 MB, free: 5.605 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.805e-05/0.356, allocations: 32.98 kB / 333.5 MB, free: 5.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.3562, allocations: 69.91 kB / 333.6 MB, free: 5.547 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.3562, allocations: 0 / 333.6 MB, free: 5.547 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3562, allocations: 0 / 333.6 MB, free: 5.547 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.3562, allocations: 4 kB / 333.6 MB, free: 5.543 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004274/0.3567, allocations: 392.5 kB / 334 MB, free: 5.137 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.3567, allocations: 9.109 kB / 334 MB, free: 5.137 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.551e-05/0.3568, allocations: 5.906 kB / 334 MB, free: 5.133 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.3569, allocations: 183.7 kB / 334.2 MB, free: 4.926 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.357, allocations: 2.625 kB / 334.2 MB, free: 4.926 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.357, allocations: 1.312 kB / 334.2 MB, free: 4.926 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.3572, allocations: 74.98 kB / 334.3 MB, free: 4.863 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.3572, allocations: 5.219 kB / 334.3 MB, free: 4.859 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.3573, allocations: 0 / 334.3 MB, free: 4.859 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.3573, allocations: 1.125 kB / 334.3 MB, free: 4.859 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001656/0.3575, allocations: 36.52 kB / 334.3 MB, free: 4.852 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004216/0.3579, allocations: 295.1 kB / 334.6 MB, free: 4.559 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.358, allocations: 47.19 kB / 334.6 MB, free: 4.523 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.3581, allocations: 2.031 kB / 334.6 MB, free: 4.523 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.3581, allocations: 31.28 kB / 334.7 MB, free: 4.484 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.755e-06/0.3581, allocations: 3.984 kB / 334.7 MB, free: 4.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0008422/0.359, allocations: 178.2 kB / 334.8 MB, free: 4.406 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.359, allocations: 78.23 kB / 334.9 MB, free: 4.312 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.3592, allocations: 126.9 kB / 335 MB, free: 4.203 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.3592, allocations: 25.7 kB / 335.1 MB, free: 4.172 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.471e-05/0.3592, allocations: 156.3 kB / 335.2 MB, free: 4.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.3593, allocations: 24.59 kB / 335.2 MB, free: 4 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-06/0.3593, allocations: 0 / 335.2 MB, free: 4 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.318e-05/0.3594, allocations: 317.3 kB / 335.6 MB, free: 3.684 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.3595, allocations: 26.81 kB / 335.6 MB, free: 3.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.3597, allocations: 49.3 kB / 335.6 MB, free: 3.652 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.3598, allocations: 62.2 kB / 335.7 MB, free: 3.609 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3599, allocations: 0 / 335.7 MB, free: 3.609 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003554/0.3602, allocations: 135.9 kB / 335.8 MB, free: 3.523 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.3603, allocations: 30.58 kB / 335.9 MB, free: 3.492 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3603, allocations: 1.188 kB / 335.9 MB, free: 3.492 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3603, allocations: 0.6094 kB / 335.9 MB, free: 3.492 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.3605, allocations: 15.39 kB / 335.9 MB, free: 3.492 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.3605, allocations: 1.562 kB / 335.9 MB, free: 3.492 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.8e-05/0.3606, allocations: 10.89 kB / 335.9 MB, free: 3.488 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.3606, allocations: 3.75 kB / 335.9 MB, free: 3.488 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 (7): * Single equations (assignments): 6 * 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.669e-05/0.3607, allocations: 120 kB / 336 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.829e-05/0.3607, allocations: 5.594 kB / 336 MB, free: 3.363 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003902/0.3611, allocations: 122.4 kB / 336.1 MB, free: 3.297 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3611, allocations: 6.297 kB / 336.1 MB, free: 3.293 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3612, allocations: 0 / 336.1 MB, free: 3.293 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.534e-05/0.3612, allocations: 83.92 kB / 336.2 MB, free: 3.195 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.3612, allocations: 1.703 kB / 336.2 MB, free: 3.195 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.3613, allocations: 10.41 kB / 336.2 MB, free: 3.191 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.3614, allocations: 9.391 kB / 336.2 MB, free: 3.188 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003709/0.3618, allocations: 190.3 kB / 336.4 MB, free: 3.055 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003552/0.3622, allocations: 268.8 kB / 336.7 MB, free: 2.832 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001438/0.3623, allocations: 32.83 kB / 336.7 MB, free: 2.824 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.358e-05/0.3624, allocations: 102.9 kB / 336.8 MB, free: 2.738 MB / 266.7 MB Notification: Performance of Backend: time 8.01e-07/0.3624, allocations: 0 / 336.8 MB, free: 2.738 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001258/0.3637, allocations: 403.6 kB / 337.2 MB, free: 2.492 MB / 266.7 MB Notification: Performance of SimCode: time 0.0005023/0.3642, allocations: 0.6529 MB / 337.9 MB, free: 1.828 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 realExpression.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 realExpression.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: realExpression.y (no alias) initial: no arrCref index:(5) [] 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:5: t_new.u[1] (no alias) initial: arrCref:t_new.u index:(6) [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:(7) [] 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:(8) [] 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:(9) [] 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:5: t_new.u[1] (no alias) initial: arrCref:t_new.u index:(6) [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:(12) [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:(13) [] 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:(14) [] 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:(15) [] 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:(16) [] 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:(17) [] 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: "TestTable_1D_a" no arrCref index:(18) []