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.Test2.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.Test2,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.Test2") Notification: Performance of loadModel(ModelicaTest): time 1.809/1.809, allocations: 209.3 MB / 225.4 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004086/0.0004088, allocations: 8 kB / 283.1 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3509, allocations: 48.71 MB / 331.8 MB, free: 6.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test2): time 0.002062/0.353, allocations: 1.203 MB / 333 MB, free: 5.898 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005926/0.3537, allocations: 249.4 kB / 333.3 MB, free: 5.734 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.448e-05/0.3537, allocations: 1.125 kB / 333.3 MB, free: 5.734 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001758/0.3539, allocations: 21.48 kB / 333.3 MB, free: 5.723 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.3541, allocations: 17.03 kB / 333.3 MB, free: 5.715 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001525/0.3542, allocations: 36.02 kB / 333.3 MB, free: 5.695 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.3544, allocations: 39.62 kB / 333.4 MB, free: 5.676 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.662e-05/0.3545, allocations: 20.33 kB / 333.4 MB, free: 5.664 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.864e-05/0.3546, allocations: 12.75 kB / 333.4 MB, free: 5.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.122e-05/0.3546, allocations: 20.39 kB / 333.4 MB, free: 5.648 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.3547, allocations: 1.5 kB / 333.4 MB, free: 5.648 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.877e-05/0.3547, allocations: 11.95 kB / 333.4 MB, free: 5.648 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.542e-05/0.3548, allocations: 9.844 kB / 333.5 MB, free: 5.645 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.705e-05/0.3548, allocations: 31.61 kB / 333.5 MB, free: 5.609 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.355, allocations: 45.44 kB / 333.5 MB, free: 5.598 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.355, allocations: 0 / 333.5 MB, free: 5.598 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.355, allocations: 1.688 kB / 333.5 MB, free: 5.598 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.355, allocations: 4 kB / 333.5 MB, free: 5.594 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.0003919/0.3554, allocations: 381.8 kB / 333.9 MB, free: 5.191 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.3554, allocations: 12.91 kB / 333.9 MB, free: 5.188 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.3555, allocations: 7.438 kB / 333.9 MB, free: 5.184 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.3556, allocations: 174 kB / 334.1 MB, free: 4.984 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.3557, allocations: 5.281 kB / 334.1 MB, free: 4.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.3557, allocations: 2.906 kB / 334.1 MB, free: 4.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.3559, allocations: 54.56 kB / 334.2 MB, free: 4.938 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.3559, allocations: 0.9688 kB / 334.2 MB, free: 4.938 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.3559, allocations: 0.75 kB / 334.2 MB, free: 4.938 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3559, allocations: 1.094 kB / 334.2 MB, free: 4.938 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.3561, allocations: 27.23 kB / 334.2 MB, free: 4.934 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003771/0.3565, allocations: 288.6 kB / 334.5 MB, free: 4.641 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002441/0.3567, allocations: 51.25 kB / 334.5 MB, free: 4.605 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.3568, allocations: 2.375 kB / 334.5 MB, free: 4.605 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.3568, allocations: 31.66 kB / 334.6 MB, free: 4.566 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.3568, allocations: 0 / 334.6 MB, free: 4.566 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007958/0.3576, allocations: 164.3 kB / 334.7 MB, free: 4.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.623e-05/0.3577, allocations: 55.34 kB / 334.8 MB, free: 4.434 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.3578, allocations: 134 kB / 334.9 MB, free: 4.324 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.3578, allocations: 31.05 kB / 334.9 MB, free: 4.289 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.61e-05/0.3579, allocations: 156.3 kB / 335.1 MB, free: 4.137 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.3579, allocations: 23.22 kB / 335.1 MB, free: 4.117 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-06/0.3579, allocations: 4 kB / 335.1 MB, free: 4.113 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.511e-05/0.358, allocations: 317.2 kB / 335.4 MB, free: 3.797 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.3581, allocations: 25.89 kB / 335.4 MB, free: 3.793 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.3583, allocations: 29.8 kB / 335.5 MB, free: 3.785 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.3584, allocations: 56.47 kB / 335.5 MB, free: 3.746 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.3585, allocations: 0 / 335.5 MB, free: 3.746 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003334/0.3588, allocations: 125.6 kB / 335.6 MB, free: 3.664 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.29e-05/0.3589, allocations: 32.88 kB / 335.7 MB, free: 3.633 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3589, allocations: 0 / 335.7 MB, free: 3.633 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.3589, allocations: 3.938 kB / 335.7 MB, free: 3.629 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.359, allocations: 14.75 kB / 335.7 MB, free: 3.629 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.359, allocations: 1.953 kB / 335.7 MB, free: 3.629 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.268e-05/0.3591, allocations: 18.08 kB / 335.7 MB, free: 3.617 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.3591, allocations: 2.438 kB / 335.7 MB, free: 3.617 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.663e-05/0.3592, allocations: 124.1 kB / 335.8 MB, free: 3.492 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.548e-05/0.3593, allocations: 7.312 kB / 335.8 MB, free: 3.488 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003717/0.3596, allocations: 109.5 kB / 336 MB, free: 3.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3597, allocations: 0.7031 kB / 336 MB, free: 3.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.3597, allocations: 5.344 kB / 336 MB, free: 3.426 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.346e-05/0.3597, allocations: 83.58 kB / 336 MB, free: 3.328 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.3597, allocations: 2 kB / 336 MB, free: 3.328 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.3599, allocations: 9.5 kB / 336.1 MB, free: 3.324 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.3599, allocations: 8.953 kB / 336.1 MB, free: 3.32 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003607/0.3603, allocations: 174.7 kB / 336.2 MB, free: 3.199 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003471/0.3607, allocations: 263.2 kB / 336.5 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001426/0.3608, allocations: 32.45 kB / 336.5 MB, free: 2.969 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.797e-05/0.3609, allocations: 104.5 kB / 336.6 MB, free: 2.887 MB / 266.7 MB Notification: Performance of Backend: time 7.21e-07/0.3609, allocations: 0 / 336.6 MB, free: 2.887 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009663/0.3619, allocations: 319.4 kB / 336.9 MB, free: 2.684 MB / 266.7 MB Notification: Performance of SimCode: time 0.0005474/0.3625, allocations: 0.6356 MB / 337.6 MB, free: 2.039 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.table 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.table 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.table[1,1] (no alias) initial: 0.5 arrCref:t_new.table index:(8) [1,2] Error: Internal error GetVarIndexListByMapping: No Element for t_new.table 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: t_new.table[1,2] (no alias) initial: 1.0 no arrCref index:(9) [1,2] 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:4: t_new.tableOnFileRead (no alias) protected hideResult initial: no arrCref index:(10) [] 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:(13) [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:(14) [] 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:(15) [] 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: false no arrCref index:(16) [] 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:(17) [] 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: "NoName" no arrCref index:(18) [] 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: "NoName" no arrCref index:(19) []