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.Test20.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.Test20,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.Test20") Notification: Performance of loadModel(ModelicaTest): time 1.868/1.868, allocations: 209.3 MB / 225.4 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004411/0.0004411, allocations: 12 kB / 283.1 MB, free: 9.707 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3291, allocations: 48.7 MB / 331.8 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test20): time 0.002082/0.3312, allocations: 1.209 MB / 333 MB, free: 5.891 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.3326, allocations: 0.8223 MB / 333.8 MB, free: 5.305 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.549e-05/0.3327, allocations: 1.188 kB / 333.8 MB, free: 5.305 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002103/0.3329, allocations: 21.39 kB / 333.9 MB, free: 5.293 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001604/0.3331, allocations: 23.25 kB / 333.9 MB, free: 5.281 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001405/0.3333, allocations: 31.97 kB / 333.9 MB, free: 5.266 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.3334, allocations: 39.34 kB / 334 MB, free: 5.246 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.545e-05/0.3335, allocations: 16.31 kB / 334 MB, free: 5.238 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.129e-05/0.3336, allocations: 25.61 kB / 334 MB, free: 5.223 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.3338, allocations: 16.38 kB / 334 MB, free: 5.219 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.3338, allocations: 1.281 kB / 334 MB, free: 5.219 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.3339, allocations: 39.7 kB / 334.1 MB, free: 5.203 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.236e-05/0.334, allocations: 7.75 kB / 334.1 MB, free: 5.199 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.509e-05/0.334, allocations: 31.95 kB / 334.1 MB, free: 5.164 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.3342, allocations: 55.56 kB / 334.1 MB, free: 5.152 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.3342, allocations: 1.125 kB / 334.1 MB, free: 5.152 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3342, allocations: 0.6094 kB / 334.1 MB, free: 5.152 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.778e-06/0.3342, allocations: 0 / 334.1 MB, free: 5.152 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.0004212/0.3346, allocations: 398.8 kB / 334.5 MB, free: 4.738 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.3347, allocations: 9.312 kB / 334.5 MB, free: 4.738 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.3348, allocations: 10.41 kB / 334.6 MB, free: 4.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.3349, allocations: 182.4 kB / 334.7 MB, free: 4.523 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.335, allocations: 1.188 kB / 334.7 MB, free: 4.523 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.335, allocations: 2.984 kB / 334.7 MB, free: 4.523 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.3352, allocations: 71.38 kB / 334.8 MB, free: 4.461 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.3352, allocations: 1.281 kB / 334.8 MB, free: 4.461 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.3352, allocations: 0 / 334.8 MB, free: 4.461 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.3352, allocations: 1.375 kB / 334.8 MB, free: 4.461 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.3354, allocations: 31.41 kB / 334.8 MB, free: 4.453 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003994/0.3358, allocations: 280.7 kB / 335.1 MB, free: 4.168 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/0.3361, allocations: 49.05 kB / 335.2 MB, free: 4.137 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.3361, allocations: 5.656 kB / 335.2 MB, free: 4.133 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.3361, allocations: 35.88 kB / 335.2 MB, free: 4.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.3362, allocations: 0 / 335.2 MB, free: 4.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.000836/0.337, allocations: 163.6 kB / 335.4 MB, free: 4.023 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.337, allocations: 82.67 kB / 335.4 MB, free: 3.926 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.3372, allocations: 128.7 kB / 335.6 MB, free: 3.812 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.3372, allocations: 31.41 kB / 335.6 MB, free: 3.777 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.459e-05/0.3373, allocations: 151.8 kB / 335.7 MB, free: 3.629 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.3373, allocations: 19.89 kB / 335.8 MB, free: 3.613 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.3373, allocations: 0 / 335.8 MB, free: 3.613 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.391e-05/0.3374, allocations: 317.8 kB / 336.1 MB, free: 3.297 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.3375, allocations: 30.16 kB / 336.1 MB, free: 3.289 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.3377, allocations: 42.05 kB / 336.1 MB, free: 3.266 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.3378, allocations: 57.39 kB / 336.2 MB, free: 3.227 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3379, allocations: 0 / 336.2 MB, free: 3.227 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000348/0.3382, allocations: 124.4 kB / 336.3 MB, free: 3.148 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.246e-05/0.3383, allocations: 36.34 kB / 336.4 MB, free: 3.113 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3383, allocations: 0 / 336.4 MB, free: 3.113 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.3383, allocations: 4.5 kB / 336.4 MB, free: 3.109 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.3384, allocations: 14.28 kB / 336.4 MB, free: 3.109 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.3384, allocations: 1.094 kB / 336.4 MB, free: 3.109 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.676e-05/0.3385, allocations: 7.469 kB / 336.4 MB, free: 3.109 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.3385, allocations: 5.125 kB / 336.4 MB, free: 3.105 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 8.003e-05/0.3386, allocations: 119.6 kB / 336.5 MB, free: 2.984 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.927e-05/0.3387, allocations: 12.66 kB / 336.5 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003661/0.3391, allocations: 104 kB / 336.6 MB, free: 2.922 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3391, allocations: 1.031 kB / 336.6 MB, free: 2.922 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3391, allocations: 12.53 kB / 336.6 MB, free: 2.91 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.639e-05/0.3391, allocations: 85.27 kB / 336.7 MB, free: 2.812 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.3392, allocations: 1.688 kB / 336.7 MB, free: 2.812 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.3393, allocations: 13.94 kB / 336.7 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.3393, allocations: 3.656 kB / 336.7 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003542/0.3397, allocations: 174.7 kB / 336.9 MB, free: 2.684 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003454/0.3401, allocations: 271.9 kB / 337.2 MB, free: 2.453 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001381/0.3402, allocations: 27.38 kB / 337.2 MB, free: 2.449 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.706e-05/0.3403, allocations: 103.1 kB / 337.3 MB, free: 2.363 MB / 266.7 MB Notification: Performance of Backend: time 8.82e-07/0.3403, allocations: 1.125 kB / 337.3 MB, free: 2.363 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001222/0.3416, allocations: 390.2 kB / 337.7 MB, free: 2.121 MB / 266.7 MB Notification: Performance of SimCode: time 0.0004981/0.3421, allocations: 0.6435 MB / 338.3 MB, free: 1.469 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_v6.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) []