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.Test24.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.Test24,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.Test24") Notification: Performance of loadModel(ModelicaTest): time 2.415/2.415, allocations: 234.9 MB / 251.1 MB, free: 10.77 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006279/0.0006283, allocations: 8 kB / 314.9 MB, free: 10.82 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.389, allocations: 54.87 MB / 369.8 MB, free: 10.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test24): time 0.002504/0.3915, allocations: 1.219 MB / 371 MB, free: 9.664 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001678/0.3933, allocations: 0.8335 MB / 371.9 MB, free: 8.824 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.282e-05/0.3934, allocations: 0 / 371.9 MB, free: 8.824 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002346/0.3936, allocations: 23.88 kB / 371.9 MB, free: 8.801 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.3938, allocations: 19.97 kB / 371.9 MB, free: 8.781 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000158/0.394, allocations: 35.83 kB / 371.9 MB, free: 8.746 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.3941, allocations: 39.91 kB / 372 MB, free: 8.707 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.3943, allocations: 11.98 kB / 372 MB, free: 8.695 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.258e-05/0.3943, allocations: 19.92 kB / 372 MB, free: 8.676 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001713/0.3945, allocations: 17.48 kB / 372 MB, free: 8.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.3946, allocations: 0 / 372 MB, free: 8.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.3947, allocations: 35.98 kB / 372.1 MB, free: 8.625 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.075e-05/0.3948, allocations: 11.97 kB / 372.1 MB, free: 8.613 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.184e-05/0.3948, allocations: 33.64 kB / 372.1 MB, free: 8.574 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.395, allocations: 67.84 kB / 372.2 MB, free: 8.508 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.395, allocations: 0 / 372.2 MB, free: 8.508 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.395, allocations: 0 / 372.2 MB, free: 8.508 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.3951, allocations: 0 / 372.2 MB, free: 8.508 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.0005719/0.3956, allocations: 387.2 kB / 372.6 MB, free: 8.078 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.3957, allocations: 16.03 kB / 372.6 MB, free: 8.062 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.302e-05/0.3958, allocations: 3.953 kB / 372.6 MB, free: 8.059 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.396, allocations: 179 kB / 372.8 MB, free: 7.844 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.396, allocations: 0 / 372.8 MB, free: 7.844 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.3961, allocations: 4 kB / 372.8 MB, free: 7.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.3963, allocations: 67.33 kB / 372.8 MB, free: 7.762 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.3963, allocations: 0 / 372.8 MB, free: 7.762 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.3963, allocations: 4 kB / 372.8 MB, free: 7.758 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.3964, allocations: 4 kB / 372.8 MB, free: 7.754 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.3965, allocations: 27.94 kB / 372.9 MB, free: 7.727 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005038/0.3971, allocations: 277 kB / 373.1 MB, free: 7.406 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/0.3974, allocations: 58.44 kB / 373.2 MB, free: 7.34 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.3974, allocations: 3.938 kB / 373.2 MB, free: 7.336 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.3975, allocations: 38.56 kB / 373.2 MB, free: 7.289 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.3975, allocations: 0 / 373.2 MB, free: 7.289 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008985/0.3984, allocations: 173.6 kB / 373.4 MB, free: 7.113 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.3984, allocations: 81.11 kB / 373.5 MB, free: 7.016 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.3986, allocations: 121.8 kB / 373.6 MB, free: 6.887 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.3987, allocations: 29.7 kB / 373.6 MB, free: 6.852 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.362e-05/0.3988, allocations: 162.5 kB / 373.8 MB, free: 6.691 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.3988, allocations: 19.75 kB / 373.8 MB, free: 6.672 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/0.3988, allocations: 0 / 373.8 MB, free: 6.672 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.399, allocations: 310.8 kB / 374.1 MB, free: 6.359 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.3991, allocations: 35.97 kB / 374.1 MB, free: 6.324 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.3993, allocations: 41.7 kB / 374.2 MB, free: 6.277 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.3995, allocations: 61.64 kB / 374.2 MB, free: 6.211 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3995, allocations: 0 / 374.2 MB, free: 6.211 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003905/0.3999, allocations: 127.4 kB / 374.4 MB, free: 6.074 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.166e-05/0.4, allocations: 33.73 kB / 374.4 MB, free: 6.035 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.4, allocations: 0 / 374.4 MB, free: 6.035 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.4, allocations: 3.953 kB / 374.4 MB, free: 6.031 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.4001, allocations: 15.98 kB / 374.4 MB, free: 6.016 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.4002, allocations: 0 / 374.4 MB, free: 6.016 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.259e-05/0.4002, allocations: 11.98 kB / 374.4 MB, free: 6.004 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.4003, allocations: 0 / 374.4 MB, free: 6.004 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.0001322/0.4004, allocations: 113.8 kB / 374.5 MB, free: 5.883 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.081e-05/0.4005, allocations: 11.91 kB / 374.6 MB, free: 5.871 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004005/0.4009, allocations: 101.6 kB / 374.6 MB, free: 5.766 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.4009, allocations: 3.984 kB / 374.7 MB, free: 5.762 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4009, allocations: 7.953 kB / 374.7 MB, free: 5.754 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.516e-05/0.401, allocations: 81.02 kB / 374.7 MB, free: 5.656 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.401, allocations: 8 kB / 374.7 MB, free: 5.648 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.4011, allocations: 11.94 kB / 374.8 MB, free: 5.637 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/0.4012, allocations: 3.984 kB / 374.8 MB, free: 5.633 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004121/0.4016, allocations: 176.9 kB / 374.9 MB, free: 5.453 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000428/0.4021, allocations: 271.1 kB / 375.2 MB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001544/0.4022, allocations: 31.97 kB / 375.2 MB, free: 5.141 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000107/0.4024, allocations: 99.7 kB / 375.3 MB, free: 5.043 MB / 298.7 MB Notification: Performance of Backend: time 7.22e-07/0.4024, allocations: 0 / 375.3 MB, free: 5.043 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001576/0.404, allocations: 457.8 kB / 375.8 MB, free: 4.66 MB / 298.7 MB Notification: Performance of SimCode: time 0.0007278/0.4047, allocations: 0.6284 MB / 376.4 MB, free: 3.977 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.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.2/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) []