Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.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.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.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19") Notification: Performance of loadModel(ModelicaTest): time 2.429/2.429, allocations: 234.9 MB / 251.1 MB, free: 9.488 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006246/0.0006249, allocations: 12 kB / 314.9 MB, free: 9.547 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.417/0.4177, allocations: 54.86 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.002484/0.4202, allocations: 1.227 MB / 371 MB, free: 9.484 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00166/0.4219, allocations: 0.8335 MB / 371.9 MB, free: 8.645 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.786e-05/0.422, allocations: 0 / 371.9 MB, free: 8.645 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002111/0.4222, allocations: 15.92 kB / 371.9 MB, free: 8.629 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.4224, allocations: 31.89 kB / 371.9 MB, free: 8.598 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001375/0.4226, allocations: 31.86 kB / 371.9 MB, free: 8.566 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000142/0.4227, allocations: 35.95 kB / 372 MB, free: 8.531 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.4228, allocations: 11.98 kB / 372 MB, free: 8.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.531e-05/0.4229, allocations: 15.92 kB / 372 MB, free: 8.504 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.4231, allocations: 21.64 kB / 372 MB, free: 8.484 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.4231, allocations: 7.938 kB / 372 MB, free: 8.477 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.4232, allocations: 31.97 kB / 372.1 MB, free: 8.445 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.396e-05/0.4233, allocations: 4 kB / 372.1 MB, free: 8.441 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.92e-05/0.4233, allocations: 29.7 kB / 372.1 MB, free: 8.406 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.4235, allocations: 67.84 kB / 372.2 MB, free: 8.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.4235, allocations: 3.938 kB / 372.2 MB, free: 8.336 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4235, allocations: 0 / 372.2 MB, free: 8.336 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.4236, allocations: 0 / 372.2 MB, free: 8.336 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.0005575/0.4241, allocations: 389.5 kB / 372.6 MB, free: 7.902 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.4242, allocations: 8.031 kB / 372.6 MB, free: 7.895 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.4242, allocations: 7.953 kB / 372.6 MB, free: 7.887 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.4245, allocations: 182.9 kB / 372.7 MB, free: 7.668 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.4245, allocations: 8 kB / 372.8 MB, free: 7.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.4245, allocations: 4 kB / 372.8 MB, free: 7.656 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.4248, allocations: 55.41 kB / 372.8 MB, free: 7.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.4248, allocations: 7.938 kB / 372.8 MB, free: 7.582 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.4248, allocations: 4 kB / 372.8 MB, free: 7.578 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.4248, allocations: 0 / 372.8 MB, free: 7.578 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.425, allocations: 35.92 kB / 372.9 MB, free: 7.543 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004311/0.4254, allocations: 268.9 kB / 373.1 MB, free: 7.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002514/0.4257, allocations: 54.44 kB / 373.2 MB, free: 7.168 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.4258, allocations: 0 / 373.2 MB, free: 7.168 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.4258, allocations: 38.56 kB / 373.2 MB, free: 7.121 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.4258, allocations: 0 / 373.2 MB, free: 7.121 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008098/0.4266, allocations: 157.4 kB / 373.4 MB, free: 6.961 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.4267, allocations: 81.11 kB / 373.4 MB, free: 6.863 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.4269, allocations: 121.8 kB / 373.6 MB, free: 6.734 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.4269, allocations: 29.69 kB / 373.6 MB, free: 6.699 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.682e-05/0.427, allocations: 158.5 kB / 373.7 MB, free: 6.543 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.427, allocations: 15.75 kB / 373.8 MB, free: 6.527 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.667e-06/0.4271, allocations: 4 kB / 373.8 MB, free: 6.523 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.4272, allocations: 310.8 kB / 374.1 MB, free: 6.211 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.4274, allocations: 27.98 kB / 374.1 MB, free: 6.184 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.4275, allocations: 41.69 kB / 374.1 MB, free: 6.137 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.4277, allocations: 57.73 kB / 374.2 MB, free: 6.074 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.4277, allocations: 4 kB / 374.2 MB, free: 6.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003486/0.4281, allocations: 115.3 kB / 374.3 MB, free: 5.945 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.965e-05/0.4281, allocations: 33.7 kB / 374.3 MB, free: 5.906 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.4281, allocations: 0 / 374.3 MB, free: 5.906 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.4282, allocations: 3.953 kB / 374.3 MB, free: 5.902 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.4283, allocations: 23.98 kB / 374.4 MB, free: 5.879 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.4283, allocations: 0 / 374.4 MB, free: 5.879 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.635e-05/0.4284, allocations: 4 kB / 374.4 MB, free: 5.875 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.4284, allocations: 7.984 kB / 374.4 MB, free: 5.867 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.0001197/0.4285, allocations: 113.8 kB / 374.5 MB, free: 5.746 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/0.4286, allocations: 7.906 kB / 374.5 MB, free: 5.738 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003671/0.429, allocations: 101.8 kB / 374.6 MB, free: 5.633 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.429, allocations: 0 / 374.6 MB, free: 5.633 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.429, allocations: 7.953 kB / 374.6 MB, free: 5.625 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.31e-05/0.4291, allocations: 85.02 kB / 374.7 MB, free: 5.523 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.4291, allocations: 3.984 kB / 374.7 MB, free: 5.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.4292, allocations: 11.94 kB / 374.7 MB, free: 5.508 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.4293, allocations: 0 / 374.7 MB, free: 5.508 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003717/0.4297, allocations: 168.9 kB / 374.9 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004085/0.4301, allocations: 266.7 kB / 375.1 MB, free: 5.059 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001344/0.4302, allocations: 27.98 kB / 375.2 MB, free: 5.031 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.599e-05/0.4303, allocations: 95.27 kB / 375.3 MB, free: 4.938 MB / 298.7 MB Notification: Performance of Backend: time 6.22e-07/0.4304, allocations: 0 / 375.3 MB, free: 4.938 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00149/0.4319, allocations: 463.7 kB / 375.7 MB, free: 4.555 MB / 298.7 MB Notification: Performance of SimCode: time 0.0007208/0.4326, allocations: 0.6285 MB / 376.3 MB, free: 3.871 MB / 298.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.2/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) []