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.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.CombiTable1Ds.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.CombiTable1Ds.Test21") Notification: Performance of loadModel(ModelicaTest): time 1.845/1.845, allocations: 209.2 MB / 225.4 MB, free: 0.5391 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004138/0.0004138, allocations: 12 kB / 283.1 MB, free: 9.684 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3305, allocations: 48.7 MB / 331.8 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002077/0.3326, allocations: 1.203 MB / 333 MB, free: 5.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.334, allocations: 0.826 MB / 333.8 MB, free: 5.316 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.252e-05/0.3341, allocations: 0 / 333.8 MB, free: 5.316 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002094/0.3343, allocations: 21.47 kB / 333.9 MB, free: 5.305 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001573/0.3345, allocations: 23.31 kB / 333.9 MB, free: 5.293 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001405/0.3346, allocations: 31 kB / 333.9 MB, free: 5.277 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.3348, allocations: 43.59 kB / 334 MB, free: 5.254 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.866e-05/0.3349, allocations: 10.42 kB / 334 MB, free: 5.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.102e-05/0.335, allocations: 17.14 kB / 334 MB, free: 5.242 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.3351, allocations: 29 kB / 334 MB, free: 5.227 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.3351, allocations: 1.062 kB / 334 MB, free: 5.227 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.3353, allocations: 28.97 kB / 334 MB, free: 5.223 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.402e-05/0.3353, allocations: 7.266 kB / 334.1 MB, free: 5.219 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.128e-05/0.3353, allocations: 35.48 kB / 334.1 MB, free: 5.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.3355, allocations: 57.75 kB / 334.1 MB, free: 5.164 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.3355, allocations: 1.094 kB / 334.1 MB, free: 5.164 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.936e-06/0.3356, allocations: 0.5625 kB / 334.1 MB, free: 5.164 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.3356, allocations: 0 / 334.1 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.0004147/0.336, allocations: 398.7 kB / 334.5 MB, free: 4.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.336, allocations: 9.75 kB / 334.5 MB, free: 4.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.668e-05/0.3361, allocations: 6.281 kB / 334.6 MB, free: 4.746 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.3363, allocations: 182.1 kB / 334.7 MB, free: 4.539 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.3363, allocations: 1.156 kB / 334.7 MB, free: 4.539 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.3363, allocations: 3.094 kB / 334.7 MB, free: 4.539 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.3365, allocations: 67.77 kB / 334.8 MB, free: 4.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.3365, allocations: 0 / 334.8 MB, free: 4.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.3366, allocations: 9.031 kB / 334.8 MB, free: 4.473 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.3366, allocations: 0.75 kB / 334.8 MB, free: 4.473 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.3367, allocations: 26.66 kB / 334.8 MB, free: 4.469 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003404/0.3371, allocations: 268.5 kB / 335.1 MB, free: 4.188 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002357/0.3373, allocations: 50.75 kB / 335.1 MB, free: 4.152 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.3374, allocations: 0 / 335.1 MB, free: 4.152 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.3374, allocations: 36.67 kB / 335.2 MB, free: 4.109 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.3374, allocations: 0 / 335.2 MB, free: 4.109 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007524/0.3382, allocations: 160.6 kB / 335.3 MB, free: 4.039 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/0.3382, allocations: 77.11 kB / 335.4 MB, free: 3.945 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.3383, allocations: 126.6 kB / 335.5 MB, free: 3.836 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.3384, allocations: 25.7 kB / 335.6 MB, free: 3.805 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.437e-05/0.3384, allocations: 160.5 kB / 335.7 MB, free: 3.648 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.3385, allocations: 20.05 kB / 335.7 MB, free: 3.633 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.912e-06/0.3385, allocations: 0 / 335.7 MB, free: 3.633 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.155e-05/0.3385, allocations: 317.6 kB / 336 MB, free: 3.316 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.3387, allocations: 23.67 kB / 336.1 MB, free: 3.312 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.3388, allocations: 45.95 kB / 336.1 MB, free: 3.285 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.339, allocations: 58.22 kB / 336.2 MB, free: 3.242 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.339, allocations: 0 / 336.2 MB, free: 3.242 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003231/0.3393, allocations: 117.8 kB / 336.3 MB, free: 3.164 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.131e-05/0.3394, allocations: 36.84 kB / 336.3 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.3394, allocations: 0 / 336.3 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.3394, allocations: 1.188 kB / 336.3 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.3395, allocations: 15.12 kB / 336.3 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.3395, allocations: 0 / 336.3 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.142e-05/0.3396, allocations: 7.469 kB / 336.3 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.3396, allocations: 2.016 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.3397, allocations: 122.9 kB / 336.5 MB, free: 3.004 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.3398, allocations: 6.844 kB / 336.5 MB, free: 3 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003413/0.3401, allocations: 105 kB / 336.6 MB, free: 2.941 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3401, allocations: 3.938 kB / 336.6 MB, free: 2.938 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3401, allocations: 1.031 kB / 336.6 MB, free: 2.938 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.509e-05/0.3402, allocations: 84.91 kB / 336.7 MB, free: 2.84 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.3402, allocations: 4 kB / 336.7 MB, free: 2.836 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.3403, allocations: 12 kB / 336.7 MB, free: 2.832 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.3404, allocations: 4.25 kB / 336.7 MB, free: 2.832 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003323/0.3407, allocations: 177.6 kB / 336.9 MB, free: 2.703 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003357/0.3411, allocations: 261.4 kB / 337.1 MB, free: 2.48 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001286/0.3412, allocations: 29.41 kB / 337.1 MB, free: 2.473 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.301e-05/0.3413, allocations: 98.64 kB / 337.2 MB, free: 2.391 MB / 266.7 MB Notification: Performance of Backend: time 8.62e-07/0.3413, allocations: 0 / 337.2 MB, free: 2.391 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001197/0.3425, allocations: 390.2 kB / 337.6 MB, free: 2.145 MB / 266.7 MB Notification: Performance of SimCode: time 0.0004796/0.343, allocations: 0.641 MB / 338.3 MB, free: 1.492 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_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) []