Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test21.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.CombiTable1D.Test21,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.CombiTable1D.Test21") Notification: Performance of loadModel(ModelicaTest): time 1.813/1.813, allocations: 209.3 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004115/0.0004116, allocations: 12 kB / 283.1 MB, free: 9.703 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3501, allocations: 48.71 MB / 331.8 MB, free: 6.484 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test21): time 0.00211/0.3523, allocations: 1.201 MB / 333 MB, free: 5.902 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.3536, allocations: 0.8296 MB / 333.8 MB, free: 5.312 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.831e-05/0.3537, allocations: 1.594 kB / 333.9 MB, free: 5.312 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002012/0.3539, allocations: 12.66 kB / 333.9 MB, free: 5.309 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001523/0.3541, allocations: 29.73 kB / 333.9 MB, free: 5.293 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001367/0.3542, allocations: 31.41 kB / 333.9 MB, free: 5.277 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.3544, allocations: 39.75 kB / 334 MB, free: 5.258 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.3545, allocations: 20.22 kB / 334 MB, free: 5.246 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.207e-05/0.3545, allocations: 17 kB / 334 MB, free: 5.238 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.3547, allocations: 20.09 kB / 334 MB, free: 5.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.3547, allocations: 1.5 kB / 334 MB, free: 5.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.3549, allocations: 35.67 kB / 334.1 MB, free: 5.219 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.468e-05/0.3549, allocations: 9.438 kB / 334.1 MB, free: 5.215 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.744e-05/0.3549, allocations: 31.08 kB / 334.1 MB, free: 5.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.3551, allocations: 59.81 kB / 334.2 MB, free: 5.164 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.3551, allocations: 0 / 334.2 MB, free: 5.164 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3551, allocations: 0 / 334.2 MB, free: 5.164 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.3552, allocations: 0 / 334.2 MB, free: 5.164 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.0004299/0.3556, allocations: 395.4 kB / 334.5 MB, free: 4.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.3557, allocations: 9.828 kB / 334.5 MB, free: 4.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.882e-05/0.3557, allocations: 6.719 kB / 334.6 MB, free: 4.746 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.3559, allocations: 178.2 kB / 334.7 MB, free: 4.543 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.3559, allocations: 6.047 kB / 334.7 MB, free: 4.539 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.3559, allocations: 1.188 kB / 334.7 MB, free: 4.539 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.3561, allocations: 73.31 kB / 334.8 MB, free: 4.477 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3562, allocations: 0 / 334.8 MB, free: 4.477 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.3562, allocations: 0.6094 kB / 334.8 MB, free: 4.477 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3562, allocations: 1.281 kB / 334.8 MB, free: 4.477 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/0.3563, allocations: 26.67 kB / 334.8 MB, free: 4.473 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003888/0.3567, allocations: 289.9 kB / 335.1 MB, free: 4.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.357, allocations: 48.22 kB / 335.2 MB, free: 4.148 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.357, allocations: 1.125 kB / 335.2 MB, free: 4.148 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.3571, allocations: 36.41 kB / 335.2 MB, free: 4.105 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.613e-06/0.3571, allocations: 0 / 335.2 MB, free: 4.105 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007883/0.3579, allocations: 166.9 kB / 335.4 MB, free: 4.035 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.3579, allocations: 79.11 kB / 335.4 MB, free: 3.941 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.3581, allocations: 132.8 kB / 335.6 MB, free: 3.824 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.3581, allocations: 26.89 kB / 335.6 MB, free: 3.793 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.409e-05/0.3581, allocations: 156.3 kB / 335.8 MB, free: 3.641 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.3582, allocations: 19.3 kB / 335.8 MB, free: 3.625 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-06/0.3582, allocations: 1.219 kB / 335.8 MB, free: 3.625 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.366e-05/0.3582, allocations: 317.2 kB / 336.1 MB, free: 3.309 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.3584, allocations: 29.06 kB / 336.1 MB, free: 3.301 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.3585, allocations: 47.61 kB / 336.2 MB, free: 3.273 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.3587, allocations: 57.39 kB / 336.2 MB, free: 3.234 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3587, allocations: 0 / 336.2 MB, free: 3.234 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003403/0.3591, allocations: 123.2 kB / 336.3 MB, free: 3.156 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.194e-05/0.3591, allocations: 35.97 kB / 336.4 MB, free: 3.121 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3591, allocations: 0 / 336.4 MB, free: 3.121 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.3592, allocations: 1.312 kB / 336.4 MB, free: 3.121 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.3593, allocations: 14.47 kB / 336.4 MB, free: 3.121 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.3593, allocations: 1.312 kB / 336.4 MB, free: 3.121 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.682e-05/0.3594, allocations: 14.88 kB / 336.4 MB, free: 3.113 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.3594, allocations: 2.281 kB / 336.4 MB, free: 3.113 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.678e-05/0.3595, allocations: 123.5 kB / 336.5 MB, free: 2.988 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/0.3595, allocations: 6.469 kB / 336.5 MB, free: 2.984 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003627/0.3599, allocations: 104.9 kB / 336.6 MB, free: 2.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.3599, allocations: 2.672 kB / 336.6 MB, free: 2.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3599, allocations: 0 / 336.6 MB, free: 2.93 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.408e-05/0.36, allocations: 83.86 kB / 336.7 MB, free: 2.832 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.36, allocations: 5.516 kB / 336.7 MB, free: 2.828 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.3601, allocations: 15.28 kB / 336.7 MB, free: 2.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.3602, allocations: 4.406 kB / 336.7 MB, free: 2.82 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000356/0.3605, allocations: 181.9 kB / 336.9 MB, free: 2.691 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003478/0.3609, allocations: 264.4 kB / 337.2 MB, free: 2.469 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000145/0.3611, allocations: 31.62 kB / 337.2 MB, free: 2.461 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.226e-05/0.3612, allocations: 94.23 kB / 337.3 MB, free: 2.383 MB / 266.7 MB Notification: Performance of Backend: time 7.11e-07/0.3612, allocations: 0 / 337.3 MB, free: 2.383 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001213/0.3624, allocations: 408.6 kB / 337.7 MB, free: 2.129 MB / 266.7 MB Notification: Performance of SimCode: time 0.0004972/0.3629, allocations: 0.6371 MB / 338.3 MB, free: 1.48 MB / 266.7 MB Error: Internal error GetVarIndexListByMapping: No Element for $DER.t_new.u found! Error: Internal error GetVarIndexListByMapping: No Element for t_new.u 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.d_t_new.u 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.n 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 clock.y found! 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:0: $DER.d_t_new.u (no alias) initial: no arrCref index:(1) [] Error: Internal error GetVarIndexListByMapping: No Element for $DER.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.t_new.u[1] (no alias) initial: arrCref:$DER.t_new.u index:(2) [1] 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:2: d_t_new.u (no alias) initial: no arrCref index:(3) [] 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:3: d_t_new.y (no alias) initial: no arrCref index:(4) [] Error: Internal error GetVarIndexListByMapping: No Element for 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:4: t_new.u[1] (no alias) initial: arrCref:t_new.u index:(5) [1] 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 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:4: t_new.u[1] (no alias) initial: arrCref:t_new.u index:(5) [1] 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:2: d_t_new.u (no alias) initial: no arrCref index:(3) [] 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.n 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.n (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_v7.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) []