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.Test1.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.Test1,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.Test1") Notification: Performance of loadModel(ModelicaTest): time 1.788/1.788, allocations: 209.2 MB / 225.4 MB, free: 0.5352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004062/0.0004062, allocations: 8 kB / 283.1 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3295, allocations: 48.71 MB / 331.8 MB, free: 6.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002106/0.3317, allocations: 1.205 MB / 333 MB, free: 5.891 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005886/0.3323, allocations: 251.6 kB / 333.3 MB, free: 5.723 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.938e-05/0.3324, allocations: 1.094 kB / 333.3 MB, free: 5.723 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001689/0.3326, allocations: 17.84 kB / 333.3 MB, free: 5.711 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.3327, allocations: 17.75 kB / 333.3 MB, free: 5.703 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001375/0.3329, allocations: 32.8 kB / 333.3 MB, free: 5.688 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.333, allocations: 34.78 kB / 333.4 MB, free: 5.672 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.455e-05/0.3331, allocations: 14.72 kB / 333.4 MB, free: 5.664 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.042e-05/0.3332, allocations: 18.56 kB / 333.4 MB, free: 5.656 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.971e-05/0.3333, allocations: 22.47 kB / 333.4 MB, free: 5.641 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.3333, allocations: 1.656 kB / 333.4 MB, free: 5.641 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.911e-05/0.3334, allocations: 15.61 kB / 333.4 MB, free: 5.637 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.516e-05/0.3334, allocations: 5.734 kB / 333.4 MB, free: 5.637 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.725e-05/0.3335, allocations: 36.98 kB / 333.5 MB, free: 5.598 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.3336, allocations: 41 kB / 333.5 MB, free: 5.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.3336, allocations: 0 / 333.5 MB, free: 5.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3336, allocations: 0 / 333.5 MB, free: 5.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.3336, allocations: 0 / 333.5 MB, free: 5.59 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.0003973/0.334, allocations: 387.8 kB / 333.9 MB, free: 5.184 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.3341, allocations: 8.594 kB / 333.9 MB, free: 5.184 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/0.3341, allocations: 6.234 kB / 333.9 MB, free: 5.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.3343, allocations: 173.8 kB / 334.1 MB, free: 4.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.3343, allocations: 0.7812 kB / 334.1 MB, free: 4.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.3344, allocations: 6.688 kB / 334.1 MB, free: 4.977 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.3346, allocations: 51.34 kB / 334.1 MB, free: 4.938 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.3346, allocations: 8.641 kB / 334.1 MB, free: 4.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.3346, allocations: 0 / 334.1 MB, free: 4.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.3346, allocations: 1.031 kB / 334.2 MB, free: 4.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.3348, allocations: 25.98 kB / 334.2 MB, free: 4.926 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003636/0.3352, allocations: 279.5 kB / 334.4 MB, free: 4.633 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/0.3354, allocations: 49.58 kB / 334.5 MB, free: 4.598 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.3355, allocations: 1.734 kB / 334.5 MB, free: 4.598 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.3355, allocations: 32.23 kB / 334.5 MB, free: 4.559 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 2.745e-06/0.3355, allocations: 3.984 kB / 334.5 MB, free: 4.555 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.000792/0.3363, allocations: 159.3 kB / 334.7 MB, free: 4.484 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.734e-05/0.3363, allocations: 52.56 kB / 334.7 MB, free: 4.422 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.3365, allocations: 134.6 kB / 334.9 MB, free: 4.312 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.3365, allocations: 29.7 kB / 334.9 MB, free: 4.277 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.774e-05/0.3366, allocations: 160.6 kB / 335.1 MB, free: 4.121 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.3366, allocations: 20.03 kB / 335.1 MB, free: 4.105 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-06/0.3366, allocations: 0 / 335.1 MB, free: 4.105 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.409e-05/0.3367, allocations: 321.2 kB / 335.4 MB, free: 3.785 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.3368, allocations: 23.03 kB / 335.4 MB, free: 3.781 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.337, allocations: 28.64 kB / 335.4 MB, free: 3.773 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.3371, allocations: 53.55 kB / 335.5 MB, free: 3.734 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.3371, allocations: 0 / 335.5 MB, free: 3.734 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003378/0.3375, allocations: 122.6 kB / 335.6 MB, free: 3.652 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.831e-05/0.3375, allocations: 31.77 kB / 335.6 MB, free: 3.621 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3375, allocations: 4 kB / 335.6 MB, free: 3.617 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/0.3376, allocations: 1.406 kB / 335.7 MB, free: 3.617 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.3377, allocations: 14.33 kB / 335.7 MB, free: 3.617 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.3377, allocations: 0 / 335.7 MB, free: 3.617 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.82e-05/0.3378, allocations: 6.703 kB / 335.7 MB, free: 3.617 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.3378, allocations: 3.562 kB / 335.7 MB, free: 3.617 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 9.369e-05/0.3379, allocations: 118.4 kB / 335.8 MB, free: 3.496 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.338, allocations: 11.42 kB / 335.8 MB, free: 3.488 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003783/0.3384, allocations: 101.1 kB / 335.9 MB, free: 3.434 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.3384, allocations: 0.6562 kB / 335.9 MB, free: 3.434 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.3384, allocations: 0 / 335.9 MB, free: 3.434 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.545e-05/0.3385, allocations: 87.61 kB / 336 MB, free: 3.332 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.3385, allocations: 5.875 kB / 336 MB, free: 3.328 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.3386, allocations: 10.77 kB / 336 MB, free: 3.324 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.3387, allocations: 3.562 kB / 336 MB, free: 3.324 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003393/0.339, allocations: 169.6 kB / 336.2 MB, free: 3.203 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003279/0.3394, allocations: 256.5 kB / 336.4 MB, free: 2.984 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000135/0.3395, allocations: 33.52 kB / 336.5 MB, free: 2.973 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.389e-05/0.3396, allocations: 100.7 kB / 336.6 MB, free: 2.895 MB / 266.7 MB Notification: Performance of Backend: time 8.41e-07/0.3396, allocations: 1.312 kB / 336.6 MB, free: 2.895 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001/0.3406, allocations: 328.8 kB / 336.9 MB, free: 2.68 MB / 266.7 MB Notification: Performance of SimCode: time 0.0004973/0.3411, allocations: 0.6289 MB / 337.5 MB, free: 2.039 MB / 266.7 MB Error: Internal error GetVarIndexListByMapping: No Element for t_new.table 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.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.table 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.table[1,1] (no alias) initial: 0.0 arrCref:t_new.table index:(8) [1,2] Error: Internal error GetVarIndexListByMapping: No Element for t_new.table 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: t_new.table[1,2] (no alias) initial: 1.0 no arrCref index:(9) [1,2] 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:4: t_new.tableOnFileRead (no alias) protected hideResult initial: no arrCref index:(10) [] 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:(13) [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:(14) [] 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:(15) [] 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: false no arrCref index:(16) [] 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:(17) [] 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:(18) [] 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: "NoName" no arrCref index:(19) []