Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.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.CombiTable1Ds.Test24,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.CombiTable1Ds.Test24") Notification: Performance of loadModel(ModelicaTest): time 2.514/2.514, allocations: 234.9 MB / 251.1 MB, free: 10.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004277/0.0004277, allocations: 16 kB / 315 MB, free: 10.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4134/0.4138, allocations: 54.87 MB / 369.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.002557/0.4165, allocations: 1.212 MB / 371 MB, free: 9.621 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.4182, allocations: 0.8335 MB / 371.9 MB, free: 8.781 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.62e-05/0.4183, allocations: 8 kB / 371.9 MB, free: 8.773 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002346/0.4185, allocations: 19.86 kB / 371.9 MB, free: 8.754 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.4187, allocations: 19.97 kB / 371.9 MB, free: 8.734 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000152/0.4189, allocations: 35.84 kB / 371.9 MB, free: 8.699 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.4191, allocations: 39.95 kB / 372 MB, free: 8.66 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.4192, allocations: 4 kB / 372 MB, free: 8.656 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.496e-05/0.4193, allocations: 23.91 kB / 372 MB, free: 8.633 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.4195, allocations: 23.86 kB / 372 MB, free: 8.609 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.4195, allocations: 4 kB / 372 MB, free: 8.605 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.4196, allocations: 27.98 kB / 372.1 MB, free: 8.578 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.513e-05/0.4197, allocations: 7.984 kB / 372.1 MB, free: 8.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.313e-05/0.4197, allocations: 37.58 kB / 372.1 MB, free: 8.527 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.4199, allocations: 59.91 kB / 372.2 MB, free: 8.469 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.4199, allocations: 0 / 372.2 MB, free: 8.469 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.42, allocations: 4 kB / 372.2 MB, free: 8.465 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.42, allocations: 0 / 372.2 MB, free: 8.465 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.0006066/0.4206, allocations: 389.5 kB / 372.6 MB, free: 8.031 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.4207, allocations: 8.031 kB / 372.6 MB, free: 8.023 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.342e-05/0.4207, allocations: 7.953 kB / 372.6 MB, free: 8.016 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.421, allocations: 179 kB / 372.7 MB, free: 7.801 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.421, allocations: 4 kB / 372.7 MB, free: 7.797 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.421, allocations: 4 kB / 372.8 MB, free: 7.793 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002187/0.4213, allocations: 63.34 kB / 372.8 MB, free: 7.719 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.4213, allocations: 0 / 372.8 MB, free: 7.719 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.4213, allocations: 7.938 kB / 372.8 MB, free: 7.711 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.4213, allocations: 0 / 372.8 MB, free: 7.711 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/0.4215, allocations: 31.92 kB / 372.9 MB, free: 7.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00044/0.422, allocations: 261 kB / 373.1 MB, free: 7.375 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.4222, allocations: 54.5 kB / 373.2 MB, free: 7.312 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.4223, allocations: 4.078 kB / 373.2 MB, free: 7.309 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.4223, allocations: 38.5 kB / 373.2 MB, free: 7.262 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.4223, allocations: 0 / 373.2 MB, free: 7.262 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008153/0.4232, allocations: 157.5 kB / 373.4 MB, free: 7.102 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.4232, allocations: 81.11 kB / 373.4 MB, free: 7.004 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.4234, allocations: 121.8 kB / 373.6 MB, free: 6.875 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.4235, allocations: 25.7 kB / 373.6 MB, free: 6.844 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.772e-05/0.4236, allocations: 158.5 kB / 373.7 MB, free: 6.688 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.4236, allocations: 27.72 kB / 373.8 MB, free: 6.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/0.4236, allocations: 0 / 373.8 MB, free: 6.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.4238, allocations: 314.8 kB / 374.1 MB, free: 6.344 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.4239, allocations: 23.98 kB / 374.1 MB, free: 6.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.4241, allocations: 45.69 kB / 374.1 MB, free: 6.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.4242, allocations: 53.72 kB / 374.2 MB, free: 6.211 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4243, allocations: 0 / 374.2 MB, free: 6.211 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000355/0.4246, allocations: 123.3 kB / 374.3 MB, free: 6.078 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.141e-05/0.4247, allocations: 33.73 kB / 374.3 MB, free: 6.039 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.4247, allocations: 0 / 374.3 MB, free: 6.039 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.4247, allocations: 3.953 kB / 374.3 MB, free: 6.035 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.4249, allocations: 15.98 kB / 374.4 MB, free: 6.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.4249, allocations: 0 / 374.4 MB, free: 6.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.41e-05/0.425, allocations: 16.23 kB / 374.4 MB, free: 6.004 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.425, allocations: 4 kB / 374.4 MB, free: 6 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.0001134/0.4251, allocations: 117.8 kB / 374.5 MB, free: 5.875 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/0.4252, allocations: 11.91 kB / 374.5 MB, free: 5.863 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003697/0.4255, allocations: 97.55 kB / 374.6 MB, free: 5.762 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.4256, allocations: 7.938 kB / 374.6 MB, free: 5.754 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.4256, allocations: 3.953 kB / 374.6 MB, free: 5.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-05/0.4257, allocations: 81.02 kB / 374.7 MB, free: 5.652 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.4257, allocations: 8 kB / 374.7 MB, free: 5.645 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.4258, allocations: 11.98 kB / 374.7 MB, free: 5.633 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.4259, allocations: 0 / 374.7 MB, free: 5.633 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003782/0.4262, allocations: 168.9 kB / 374.9 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004019/0.4267, allocations: 262.7 kB / 375.1 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001337/0.4268, allocations: 27.98 kB / 375.2 MB, free: 5.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001031/0.4269, allocations: 99.7 kB / 375.3 MB, free: 5.062 MB / 298.7 MB Notification: Performance of Backend: time 8.31e-07/0.4269, allocations: 0 / 375.3 MB, free: 5.062 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001563/0.4285, allocations: 448.7 kB / 375.7 MB, free: 4.691 MB / 298.7 MB Notification: Performance of SimCode: time 0.0007693/0.4293, allocations: 0.6285 MB / 376.3 MB, free: 4.008 MB / 298.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.2/Resources/Data/Tables/test.txt" 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_tab" no arrCref index:(17) []