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.Test24.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.Test24,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.Test24") Notification: Performance of loadModel(ModelicaTest): time 1.789/1.789, allocations: 209.2 MB / 225.4 MB, free: 0.5312 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004081/0.0004082, allocations: 16 kB / 283.1 MB, free: 9.688 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3539, allocations: 48.7 MB / 331.8 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.002068/0.356, allocations: 1.202 MB / 333 MB, free: 5.906 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001365/0.3574, allocations: 0.8225 MB / 333.8 MB, free: 5.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.575e-05/0.3575, allocations: 5.5 kB / 333.8 MB, free: 5.316 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002213/0.3578, allocations: 20.22 kB / 333.9 MB, free: 5.305 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001747/0.358, allocations: 27.58 kB / 333.9 MB, free: 5.289 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001546/0.3581, allocations: 35.58 kB / 333.9 MB, free: 5.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.3583, allocations: 35.38 kB / 334 MB, free: 5.254 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.3584, allocations: 10.7 kB / 334 MB, free: 5.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.492e-05/0.3585, allocations: 16.98 kB / 334 MB, free: 5.242 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.3586, allocations: 28.38 kB / 334 MB, free: 5.227 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.3587, allocations: 1.375 kB / 334 MB, free: 5.227 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.3588, allocations: 31.91 kB / 334.1 MB, free: 5.219 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.781e-05/0.3588, allocations: 12.72 kB / 334.1 MB, free: 5.211 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.682e-05/0.3589, allocations: 27.2 kB / 334.1 MB, free: 5.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.3591, allocations: 62.14 kB / 334.2 MB, free: 5.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3591, allocations: 0.7812 kB / 334.2 MB, free: 5.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.3591, allocations: 0 / 334.2 MB, free: 5.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.3591, allocations: 0 / 334.2 MB, free: 5.16 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.0004268/0.3595, allocations: 392.8 kB / 334.5 MB, free: 4.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.3596, allocations: 7.938 kB / 334.5 MB, free: 4.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.317e-05/0.3597, allocations: 6.375 kB / 334.5 MB, free: 4.746 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.3598, allocations: 179.3 kB / 334.7 MB, free: 4.543 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-06/0.3599, allocations: 1.188 kB / 334.7 MB, free: 4.543 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/0.3599, allocations: 10.38 kB / 334.7 MB, free: 4.535 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.3601, allocations: 59.77 kB / 334.8 MB, free: 4.484 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.3601, allocations: 7.938 kB / 334.8 MB, free: 4.477 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.3601, allocations: 0 / 334.8 MB, free: 4.477 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3602, allocations: 1.25 kB / 334.8 MB, free: 4.477 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.3603, allocations: 29.78 kB / 334.8 MB, free: 4.469 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003398/0.3607, allocations: 269.9 kB / 335.1 MB, free: 4.188 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002496/0.3609, allocations: 49.42 kB / 335.1 MB, free: 4.152 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.361, allocations: 2.281 kB / 335.1 MB, free: 4.152 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.361, allocations: 40.14 kB / 335.2 MB, free: 4.105 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.361, allocations: 0 / 335.2 MB, free: 4.105 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007626/0.3618, allocations: 155.9 kB / 335.3 MB, free: 4.039 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.3618, allocations: 77.11 kB / 335.4 MB, free: 3.945 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.362, allocations: 133.8 kB / 335.5 MB, free: 3.828 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.362, allocations: 27.08 kB / 335.6 MB, free: 3.797 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.99e-05/0.362, allocations: 160.8 kB / 335.7 MB, free: 3.641 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.3621, allocations: 14.78 kB / 335.7 MB, free: 3.629 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/0.3621, allocations: 0 / 335.7 MB, free: 3.629 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.491e-05/0.3622, allocations: 321.5 kB / 336.1 MB, free: 3.309 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.3623, allocations: 24.16 kB / 336.1 MB, free: 3.305 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.3624, allocations: 45.02 kB / 336.1 MB, free: 3.277 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.3626, allocations: 59.28 kB / 336.2 MB, free: 3.234 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3626, allocations: 0 / 336.2 MB, free: 3.234 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003201/0.3629, allocations: 114.3 kB / 336.3 MB, free: 3.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/0.363, allocations: 40.42 kB / 336.3 MB, free: 3.121 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.363, allocations: 0 / 336.3 MB, free: 3.121 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.363, allocations: 0 / 336.3 MB, free: 3.121 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.3631, allocations: 15.45 kB / 336.3 MB, free: 3.121 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.3632, allocations: 0.6562 kB / 336.3 MB, free: 3.121 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.465e-05/0.3632, allocations: 11.11 kB / 336.4 MB, free: 3.117 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.3633, allocations: 2.125 kB / 336.4 MB, free: 3.117 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.399e-05/0.3633, allocations: 122.8 kB / 336.5 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.737e-05/0.3634, allocations: 6.438 kB / 336.5 MB, free: 2.988 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003384/0.3637, allocations: 100.9 kB / 336.6 MB, free: 2.934 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.3638, allocations: 0.6094 kB / 336.6 MB, free: 2.934 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.3638, allocations: 1.312 kB / 336.6 MB, free: 2.934 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.517e-05/0.3638, allocations: 87.47 kB / 336.7 MB, free: 2.832 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.495e-05/0.3639, allocations: 5.656 kB / 336.7 MB, free: 2.828 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.364, allocations: 10.64 kB / 336.7 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.364, allocations: 4.234 kB / 336.7 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003342/0.3644, allocations: 174.5 kB / 336.9 MB, free: 2.699 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000324/0.3647, allocations: 257.1 kB / 337.1 MB, free: 2.48 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001537/0.3649, allocations: 41.16 kB / 337.2 MB, free: 2.461 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.616e-05/0.365, allocations: 94.36 kB / 337.2 MB, free: 2.383 MB / 266.7 MB Notification: Performance of Backend: time 9.11e-07/0.365, allocations: 0 / 337.2 MB, free: 2.383 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001224/0.3662, allocations: 385.1 kB / 337.6 MB, free: 2.152 MB / 266.7 MB Notification: Performance of SimCode: time 0.000505/0.3667, allocations: 0.6386 MB / 338.3 MB, free: 1.5 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.txt" 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_tab" no arrCref index:(17) []