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.Test20.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.Test20,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.Test20") Notification: Performance of loadModel(ModelicaTest): time 2.424/2.424, allocations: 234.9 MB / 251.1 MB, free: 9.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004653/0.0004652, allocations: 8 kB / 315 MB, free: 9.539 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.421/0.4215, allocations: 54.85 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002499/0.424, allocations: 1.227 MB / 371 MB, free: 9.488 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.4257, allocations: 0.8296 MB / 371.9 MB, free: 8.652 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.176e-05/0.4258, allocations: 4 kB / 371.9 MB, free: 8.648 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002191/0.426, allocations: 19.86 kB / 371.9 MB, free: 8.629 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001727/0.4262, allocations: 27.91 kB / 371.9 MB, free: 8.602 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000183/0.4264, allocations: 31.91 kB / 371.9 MB, free: 8.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.4265, allocations: 39.89 kB / 372 MB, free: 8.531 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.4267, allocations: 11.98 kB / 372 MB, free: 8.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.065e-05/0.4267, allocations: 19.92 kB / 372 MB, free: 8.5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.4269, allocations: 19.92 kB / 372 MB, free: 8.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.4269, allocations: 0 / 372 MB, free: 8.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.4271, allocations: 31.97 kB / 372.1 MB, free: 8.449 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.216e-05/0.4271, allocations: 15.92 kB / 372.1 MB, free: 8.434 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.327e-05/0.4272, allocations: 25.7 kB / 372.1 MB, free: 8.402 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.4274, allocations: 59.86 kB / 372.2 MB, free: 8.344 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.4274, allocations: 4 kB / 372.2 MB, free: 8.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4274, allocations: 0 / 372.2 MB, free: 8.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.4274, allocations: 0 / 372.2 MB, free: 8.34 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.0005877/0.428, allocations: 393.5 kB / 372.6 MB, free: 7.902 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.4281, allocations: 8.031 kB / 372.6 MB, free: 7.895 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.4281, allocations: 7.953 kB / 372.6 MB, free: 7.887 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.4284, allocations: 178.9 kB / 372.7 MB, free: 7.672 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.4284, allocations: 4 kB / 372.7 MB, free: 7.668 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/0.4284, allocations: 4 kB / 372.8 MB, free: 7.664 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/0.4287, allocations: 67.39 kB / 372.8 MB, free: 7.586 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.4287, allocations: 0 / 372.8 MB, free: 7.586 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.4287, allocations: 4 kB / 372.8 MB, free: 7.582 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.4287, allocations: 0 / 372.8 MB, free: 7.582 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.4289, allocations: 27.94 kB / 372.8 MB, free: 7.555 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004429/0.4294, allocations: 272.9 kB / 373.1 MB, free: 7.238 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.4297, allocations: 50.5 kB / 373.2 MB, free: 7.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.4297, allocations: 4 kB / 373.2 MB, free: 7.176 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.4297, allocations: 30.56 kB / 373.2 MB, free: 7.137 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.4297, allocations: 0 / 373.2 MB, free: 7.137 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008457/0.4306, allocations: 157.4 kB / 373.4 MB, free: 6.977 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.4307, allocations: 85.11 kB / 373.4 MB, free: 6.875 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.4308, allocations: 121.8 kB / 373.6 MB, free: 6.746 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.4309, allocations: 29.7 kB / 373.6 MB, free: 6.711 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.8e-05/0.431, allocations: 158.5 kB / 373.7 MB, free: 6.555 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.431, allocations: 19.69 kB / 373.8 MB, free: 6.535 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-06/0.431, allocations: 4 kB / 373.8 MB, free: 6.531 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.4312, allocations: 314.8 kB / 374.1 MB, free: 6.215 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.4313, allocations: 27.92 kB / 374.1 MB, free: 6.188 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.4315, allocations: 41.7 kB / 374.1 MB, free: 6.141 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.4317, allocations: 57.7 kB / 374.2 MB, free: 6.078 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.4317, allocations: 0 / 374.2 MB, free: 6.078 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000358/0.4321, allocations: 119.4 kB / 374.3 MB, free: 5.949 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.769e-05/0.4321, allocations: 29.7 kB / 374.3 MB, free: 5.914 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4321, allocations: 0 / 374.3 MB, free: 5.914 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.4321, allocations: 7.938 kB / 374.3 MB, free: 5.906 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.4323, allocations: 12 kB / 374.4 MB, free: 5.895 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.4323, allocations: 0 / 374.4 MB, free: 5.895 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.025e-05/0.4324, allocations: 15.98 kB / 374.4 MB, free: 5.879 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.4324, allocations: 4 kB / 374.4 MB, free: 5.875 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.0001171/0.4325, allocations: 117.8 kB / 374.5 MB, free: 5.75 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.833e-05/0.4326, allocations: 7.906 kB / 374.5 MB, free: 5.742 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003701/0.433, allocations: 94.22 kB / 374.6 MB, free: 5.645 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.433, allocations: 4 kB / 374.6 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.433, allocations: 11.94 kB / 374.6 MB, free: 5.629 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.742e-05/0.4331, allocations: 89 kB / 374.7 MB, free: 5.523 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.4331, allocations: 0 / 374.7 MB, free: 5.523 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.4332, allocations: 11.94 kB / 374.7 MB, free: 5.512 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.4333, allocations: 3.984 kB / 374.7 MB, free: 5.508 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003887/0.4337, allocations: 176.9 kB / 374.9 MB, free: 5.328 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003941/0.4341, allocations: 250.8 kB / 375.1 MB, free: 5.066 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001378/0.4343, allocations: 35.97 kB / 375.2 MB, free: 5.031 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001087/0.4344, allocations: 95.27 kB / 375.3 MB, free: 4.938 MB / 298.7 MB Notification: Performance of Backend: time 7.51e-07/0.4344, allocations: 0 / 375.3 MB, free: 4.938 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001551/0.4359, allocations: 459.7 kB / 375.7 MB, free: 4.559 MB / 298.7 MB Notification: Performance of SimCode: time 0.0007189/0.4367, allocations: 0.6285 MB / 376.3 MB, free: 3.875 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_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) []