Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test19") Notification: Performance of loadModel(ModelicaTest): time 1.828/1.828, allocations: 209.3 MB / 225.4 MB, free: 0.6055 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004111/0.0004113, allocations: 8 kB / 283.1 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3338, allocations: 48.71 MB / 331.8 MB, free: 6.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.002096/0.336, allocations: 1.2 MB / 333 MB, free: 5.887 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.3373, allocations: 0.8223 MB / 333.8 MB, free: 5.301 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.371e-05/0.3374, allocations: 1.125 kB / 333.8 MB, free: 5.301 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001945/0.3376, allocations: 28.67 kB / 333.9 MB, free: 5.281 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001467/0.3378, allocations: 19.91 kB / 333.9 MB, free: 5.273 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001318/0.3379, allocations: 35.23 kB / 333.9 MB, free: 5.254 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.338, allocations: 43.33 kB / 334 MB, free: 5.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.427e-05/0.3382, allocations: 11.81 kB / 334 MB, free: 5.227 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.973e-05/0.3382, allocations: 17 kB / 334 MB, free: 5.219 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.3384, allocations: 23.61 kB / 334 MB, free: 5.207 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.605e-05/0.3384, allocations: 2.062 kB / 334 MB, free: 5.207 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.3385, allocations: 32.06 kB / 334.1 MB, free: 5.199 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.283e-05/0.3386, allocations: 3.578 kB / 334.1 MB, free: 5.199 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.652e-05/0.3386, allocations: 36.05 kB / 334.1 MB, free: 5.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.3388, allocations: 62.22 kB / 334.1 MB, free: 5.141 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.3388, allocations: 0 / 334.1 MB, free: 5.141 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.3388, allocations: 0 / 334.1 MB, free: 5.141 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.3389, allocations: 0 / 334.1 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.0004153/0.3393, allocations: 388.3 kB / 334.5 MB, free: 4.738 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.3393, allocations: 8.219 kB / 334.5 MB, free: 4.738 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.662e-05/0.3394, allocations: 10.22 kB / 334.5 MB, free: 4.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.3395, allocations: 182.7 kB / 334.7 MB, free: 4.523 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.3396, allocations: 5.094 kB / 334.7 MB, free: 4.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.3396, allocations: 2.312 kB / 334.7 MB, free: 4.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.3398, allocations: 67.64 kB / 334.8 MB, free: 4.461 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3398, allocations: 1 kB / 334.8 MB, free: 4.461 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.3398, allocations: 0 / 334.8 MB, free: 4.461 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.3398, allocations: 1.188 kB / 334.8 MB, free: 4.461 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.34, allocations: 37.91 kB / 334.8 MB, free: 4.445 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003233/0.3403, allocations: 272.7 kB / 335.1 MB, free: 4.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.3406, allocations: 46.52 kB / 335.1 MB, free: 4.129 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.3406, allocations: 6.078 kB / 335.2 MB, free: 4.125 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.62e-05/0.3407, allocations: 31.08 kB / 335.2 MB, free: 4.086 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.3407, allocations: 0 / 335.2 MB, free: 4.086 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007515/0.3414, allocations: 156.1 kB / 335.3 MB, free: 4.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.435e-05/0.3415, allocations: 79.45 kB / 335.4 MB, free: 3.926 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.3416, allocations: 128.2 kB / 335.5 MB, free: 3.812 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.3416, allocations: 27.2 kB / 335.6 MB, free: 3.781 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.465e-05/0.3417, allocations: 156.7 kB / 335.7 MB, free: 3.629 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.3417, allocations: 14.45 kB / 335.7 MB, free: 3.617 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-06/0.3417, allocations: 5.688 kB / 335.7 MB, free: 3.613 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.425e-05/0.3418, allocations: 319.6 kB / 336.1 MB, free: 3.293 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.3419, allocations: 23.88 kB / 336.1 MB, free: 3.289 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.3421, allocations: 41.44 kB / 336.1 MB, free: 3.266 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.3422, allocations: 62.41 kB / 336.2 MB, free: 3.219 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3422, allocations: 0 / 336.2 MB, free: 3.219 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003303/0.3426, allocations: 115.6 kB / 336.3 MB, free: 3.145 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/0.3426, allocations: 31.7 kB / 336.3 MB, free: 3.113 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3426, allocations: 0.5156 kB / 336.3 MB, free: 3.113 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.3427, allocations: 5.812 kB / 336.3 MB, free: 3.109 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.3428, allocations: 13.75 kB / 336.3 MB, free: 3.109 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.3428, allocations: 1.594 kB / 336.3 MB, free: 3.109 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.143e-05/0.3429, allocations: 6.328 kB / 336.3 MB, free: 3.109 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.3429, allocations: 7.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 7.147e-05/0.343, allocations: 118.3 kB / 336.5 MB, free: 2.984 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.798e-05/0.343, allocations: 15.8 kB / 336.5 MB, free: 2.973 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003325/0.3434, allocations: 95.86 kB / 336.6 MB, free: 2.922 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.257e-06/0.3434, allocations: 0 / 336.6 MB, free: 2.922 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3434, allocations: 1.375 kB / 336.6 MB, free: 2.922 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.332e-05/0.3434, allocations: 86.97 kB / 336.7 MB, free: 2.82 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.3435, allocations: 1.906 kB / 336.7 MB, free: 2.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.3436, allocations: 19.81 kB / 336.7 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.3436, allocations: 4.203 kB / 336.7 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003271/0.344, allocations: 169.5 kB / 336.9 MB, free: 2.688 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003201/0.3443, allocations: 255.9 kB / 337.1 MB, free: 2.469 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001282/0.3445, allocations: 25.58 kB / 337.1 MB, free: 2.465 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.268e-05/0.3445, allocations: 110.8 kB / 337.2 MB, free: 2.371 MB / 266.7 MB Notification: Performance of Backend: time 6.41e-07/0.3446, allocations: 0 / 337.2 MB, free: 2.371 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001168/0.3457, allocations: 391.8 kB / 337.6 MB, free: 2.125 MB / 266.7 MB Notification: Performance of SimCode: time 0.0004831/0.3462, allocations: 0.6376 MB / 338.3 MB, free: 1.477 MB / 266.7 MB 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.clock.y found! Error: Internal error GetVarIndexListByMapping: No Element for $DER.d_t_new.u found! Error: Internal error GetVarIndexListByMapping: No Element for clock.y 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.nout 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 t_new.u found! Error: Internal error GetVarIndexListByMapping: No Element for $DER.clock.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:0: $DER.clock.y (no alias) initial: no arrCref index:(1) [] 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:1: $DER.d_t_new.u (no alias) initial: no arrCref index:(2) [] Error: Internal error GetVarIndexListByMapping: No Element for clock.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:2: clock.y (no alias) initial: no arrCref index:(3) [] 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:3: d_t_new.u (no alias) initial: no arrCref index:(4) [] 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:4: d_t_new.y (no alias) initial: no arrCref index:(5) [] 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 clock.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:2: clock.y (no alias) initial: no arrCref index:(3) [] 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:3: d_t_new.u (no alias) initial: no arrCref index:(4) [] 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.nout 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.nout (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) []