Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.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.CombiTable1D.Test20") Notification: Performance of loadModel(ModelicaTest): time 2.422/2.422, allocations: 234.9 MB / 251.1 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000485/0.000485, allocations: 16 kB / 314.9 MB, free: 9.625 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.3804, allocations: 54.86 MB / 369.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test20): time 0.002591/0.3831, allocations: 1.227 MB / 371 MB, free: 9.504 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001686/0.3848, allocations: 0.8374 MB / 371.9 MB, free: 8.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.667e-05/0.3849, allocations: 0 / 371.9 MB, free: 8.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002355/0.3852, allocations: 15.86 kB / 371.9 MB, free: 8.645 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001874/0.3854, allocations: 23.97 kB / 371.9 MB, free: 8.621 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001528/0.3855, allocations: 35.84 kB / 371.9 MB, free: 8.586 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.3857, allocations: 35.95 kB / 372 MB, free: 8.551 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.3859, allocations: 11.98 kB / 372 MB, free: 8.539 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.927e-05/0.3859, allocations: 19.92 kB / 372 MB, free: 8.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.3861, allocations: 23.86 kB / 372 MB, free: 8.496 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.3861, allocations: 4 kB / 372 MB, free: 8.492 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.3863, allocations: 31.97 kB / 372.1 MB, free: 8.461 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.856e-05/0.3863, allocations: 4 kB / 372.1 MB, free: 8.457 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.231e-05/0.3864, allocations: 33.64 kB / 372.1 MB, free: 8.418 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.3866, allocations: 63.84 kB / 372.2 MB, free: 8.355 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.3866, allocations: 0 / 372.2 MB, free: 8.355 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3866, allocations: 0 / 372.2 MB, free: 8.355 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.3866, allocations: 0 / 372.2 MB, free: 8.355 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.0006075/0.3872, allocations: 397.5 kB / 372.6 MB, free: 7.914 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.3873, allocations: 8.031 kB / 372.6 MB, free: 7.906 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.743e-05/0.3874, allocations: 7.953 kB / 372.6 MB, free: 7.898 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.3876, allocations: 175 kB / 372.7 MB, free: 7.688 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.3876, allocations: 7.984 kB / 372.8 MB, free: 7.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.3877, allocations: 4 kB / 372.8 MB, free: 7.676 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.3879, allocations: 71.34 kB / 372.8 MB, free: 7.594 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.3879, allocations: 0 / 372.8 MB, free: 7.594 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.388, allocations: 0 / 372.8 MB, free: 7.594 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.388, allocations: 0 / 372.8 MB, free: 7.594 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.3882, allocations: 35.92 kB / 372.9 MB, free: 7.559 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005259/0.3887, allocations: 273 kB / 373.1 MB, free: 7.242 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.389, allocations: 54.44 kB / 373.2 MB, free: 7.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.389, allocations: 0 / 373.2 MB, free: 7.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.3891, allocations: 34.56 kB / 373.2 MB, free: 7.137 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.3891, allocations: 0 / 373.2 MB, free: 7.137 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009461/0.39, allocations: 173.3 kB / 373.4 MB, free: 6.961 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.3901, allocations: 77.11 kB / 373.5 MB, free: 6.867 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.3903, allocations: 121.8 kB / 373.6 MB, free: 6.738 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.3903, allocations: 37.64 kB / 373.6 MB, free: 6.695 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.3905, allocations: 158.5 kB / 373.8 MB, free: 6.539 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.3905, allocations: 11.75 kB / 373.8 MB, free: 6.527 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.707e-06/0.3905, allocations: 8 kB / 373.8 MB, free: 6.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3907, allocations: 314.8 kB / 374.1 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.3908, allocations: 23.98 kB / 374.1 MB, free: 6.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.391, allocations: 45.7 kB / 374.2 MB, free: 6.129 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.3912, allocations: 61.7 kB / 374.2 MB, free: 6.062 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3912, allocations: 0 / 374.2 MB, free: 6.062 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003982/0.3916, allocations: 127.6 kB / 374.4 MB, free: 5.926 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.465e-05/0.3917, allocations: 31.73 kB / 374.4 MB, free: 5.891 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.3917, allocations: 4 kB / 374.4 MB, free: 5.887 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.3917, allocations: 7.953 kB / 374.4 MB, free: 5.879 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.3919, allocations: 11.98 kB / 374.4 MB, free: 5.867 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.3919, allocations: 4 kB / 374.4 MB, free: 5.863 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.359e-05/0.392, allocations: 7.984 kB / 374.4 MB, free: 5.855 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.392, allocations: 12.28 kB / 374.4 MB, free: 5.844 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.000121/0.3921, allocations: 109.8 kB / 374.5 MB, free: 5.727 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.15e-05/0.3922, allocations: 7.906 kB / 374.5 MB, free: 5.719 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004133/0.3926, allocations: 113.5 kB / 374.7 MB, free: 5.602 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.3926, allocations: 0 / 374.7 MB, free: 5.602 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.3926, allocations: 7.953 kB / 374.7 MB, free: 5.594 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.54e-05/0.3927, allocations: 81.02 kB / 374.7 MB, free: 5.496 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.3928, allocations: 4 kB / 374.7 MB, free: 5.492 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.3929, allocations: 11.92 kB / 374.8 MB, free: 5.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/0.3929, allocations: 4 kB / 374.8 MB, free: 5.477 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004032/0.3933, allocations: 172.9 kB / 374.9 MB, free: 5.301 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004487/0.3938, allocations: 270.7 kB / 375.2 MB, free: 5.02 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000152/0.394, allocations: 31.97 kB / 375.2 MB, free: 4.988 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.771e-05/0.3941, allocations: 95.27 kB / 375.3 MB, free: 4.895 MB / 298.7 MB Notification: Performance of Backend: time 7.42e-07/0.3941, allocations: 0 / 375.3 MB, free: 4.895 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001601/0.3957, allocations: 464.2 kB / 375.8 MB, free: 4.504 MB / 298.7 MB Notification: Performance of SimCode: time 0.0007538/0.3965, allocations: 0.6324 MB / 376.4 MB, free: 3.816 MB / 298.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.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) []