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.Test20.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.Test20,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.Test20") Notification: Performance of loadModel(ModelicaTest): time 1.79/1.79, allocations: 209.3 MB / 225.4 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004358/0.0004359, allocations: 20 kB / 283.1 MB, free: 9.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3669, allocations: 48.7 MB / 331.8 MB, free: 6.496 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002024/0.369, allocations: 1.201 MB / 333 MB, free: 5.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.3704, allocations: 0.8219 MB / 333.8 MB, free: 5.324 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.401e-05/0.3704, allocations: 5.25 kB / 333.8 MB, free: 5.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002004/0.3706, allocations: 17.12 kB / 333.9 MB, free: 5.312 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.3708, allocations: 23.86 kB / 333.9 MB, free: 5.301 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000131/0.3709, allocations: 34.45 kB / 333.9 MB, free: 5.281 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.3711, allocations: 38.7 kB / 334 MB, free: 5.262 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.938e-05/0.3712, allocations: 11.44 kB / 334 MB, free: 5.258 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.068e-05/0.3712, allocations: 20.89 kB / 334 MB, free: 5.246 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.3714, allocations: 20.55 kB / 334 MB, free: 5.238 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.3714, allocations: 5.125 kB / 334 MB, free: 5.234 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.3716, allocations: 32.19 kB / 334 MB, free: 5.227 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.452e-05/0.3716, allocations: 12.45 kB / 334.1 MB, free: 5.219 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.737e-05/0.3716, allocations: 32.17 kB / 334.1 MB, free: 5.184 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.3718, allocations: 57.39 kB / 334.1 MB, free: 5.168 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.3718, allocations: 1.312 kB / 334.1 MB, free: 5.168 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3718, allocations: 0 / 334.1 MB, free: 5.168 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.167e-06/0.3719, allocations: 0 / 334.1 MB, free: 5.168 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.0004095/0.3723, allocations: 387.8 kB / 334.5 MB, free: 4.766 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.3723, allocations: 16.16 kB / 334.5 MB, free: 4.758 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.621e-05/0.3724, allocations: 6.25 kB / 334.5 MB, free: 4.754 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.3725, allocations: 186.5 kB / 334.7 MB, free: 4.543 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.3726, allocations: 1.156 kB / 334.7 MB, free: 4.543 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.3726, allocations: 6.281 kB / 334.7 MB, free: 4.539 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.3728, allocations: 59.47 kB / 334.8 MB, free: 4.488 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3728, allocations: 1.125 kB / 334.8 MB, free: 4.488 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.3728, allocations: 4 kB / 334.8 MB, free: 4.484 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.3728, allocations: 1.062 kB / 334.8 MB, free: 4.484 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.373, allocations: 30.42 kB / 334.8 MB, free: 4.477 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003215/0.3734, allocations: 271.6 kB / 335.1 MB, free: 4.191 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002329/0.3736, allocations: 51.41 kB / 335.1 MB, free: 4.156 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.3736, allocations: 1.344 kB / 335.1 MB, free: 4.156 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.3737, allocations: 32.3 kB / 335.2 MB, free: 4.117 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.542e-06/0.3737, allocations: 0 / 335.2 MB, free: 4.117 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007561/0.3744, allocations: 159.3 kB / 335.3 MB, free: 4.047 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.3745, allocations: 79 kB / 335.4 MB, free: 3.953 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.3746, allocations: 128.8 kB / 335.5 MB, free: 3.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.3746, allocations: 26.95 kB / 335.6 MB, free: 3.809 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.337e-05/0.3747, allocations: 156.5 kB / 335.7 MB, free: 3.656 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.3747, allocations: 19.78 kB / 335.7 MB, free: 3.641 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-06/0.3747, allocations: 0 / 335.7 MB, free: 3.641 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.31e-05/0.3748, allocations: 321.7 kB / 336.1 MB, free: 3.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.3749, allocations: 23.72 kB / 336.1 MB, free: 3.316 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.3751, allocations: 44.98 kB / 336.1 MB, free: 3.289 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.3752, allocations: 57.78 kB / 336.2 MB, free: 3.246 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3752, allocations: 1.438 kB / 336.2 MB, free: 3.246 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003236/0.3756, allocations: 114.7 kB / 336.3 MB, free: 3.172 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.3756, allocations: 32.09 kB / 336.3 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3756, allocations: 4 kB / 336.3 MB, free: 3.137 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.3757, allocations: 0 / 336.3 MB, free: 3.137 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.3758, allocations: 15.44 kB / 336.3 MB, free: 3.137 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.3758, allocations: 0 / 336.3 MB, free: 3.137 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.594e-05/0.3759, allocations: 15.75 kB / 336.4 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.3759, allocations: 2.969 kB / 336.4 MB, free: 3.129 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.394e-05/0.376, allocations: 121 kB / 336.5 MB, free: 3.004 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.727e-05/0.376, allocations: 12.45 kB / 336.5 MB, free: 2.996 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003395/0.3764, allocations: 99.25 kB / 336.6 MB, free: 2.941 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.3764, allocations: 6.094 kB / 336.6 MB, free: 2.938 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3764, allocations: 0 / 336.6 MB, free: 2.938 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.348e-05/0.3765, allocations: 84 kB / 336.7 MB, free: 2.84 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.3765, allocations: 5.438 kB / 336.7 MB, free: 2.836 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.3766, allocations: 15.56 kB / 336.7 MB, free: 2.828 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.3767, allocations: 3.562 kB / 336.7 MB, free: 2.828 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003444/0.377, allocations: 173 kB / 336.9 MB, free: 2.703 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003279/0.3773, allocations: 253.5 kB / 337.1 MB, free: 2.488 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000131/0.3775, allocations: 33.8 kB / 337.1 MB, free: 2.477 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.077e-05/0.3776, allocations: 98.28 kB / 337.2 MB, free: 2.395 MB / 266.7 MB Notification: Performance of Backend: time 6.11e-07/0.3776, allocations: 0 / 337.2 MB, free: 2.395 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001174/0.3788, allocations: 394.5 kB / 337.6 MB, free: 2.148 MB / 266.7 MB Notification: Performance of SimCode: time 0.0004783/0.3793, allocations: 0.6412 MB / 338.3 MB, free: 1.496 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_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) []