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.Test1.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.Test1,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.Test1") Notification: Performance of loadModel(ModelicaTest): time 1.827/1.827, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004315/0.0004316, allocations: 12 kB / 283.1 MB, free: 9.699 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.355, allocations: 48.71 MB / 331.8 MB, free: 6.496 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test1): time 0.002075/0.3572, allocations: 1.203 MB / 333 MB, free: 5.895 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005801/0.3578, allocations: 249.6 kB / 333.3 MB, free: 5.734 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.243e-05/0.3578, allocations: 1.281 kB / 333.3 MB, free: 5.734 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001675/0.358, allocations: 21.34 kB / 333.3 MB, free: 5.719 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001366/0.3581, allocations: 17.47 kB / 333.3 MB, free: 5.711 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001356/0.3583, allocations: 31.3 kB / 333.3 MB, free: 5.695 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.3584, allocations: 37.84 kB / 333.4 MB, free: 5.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.973e-05/0.3585, allocations: 10.94 kB / 333.4 MB, free: 5.676 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.878e-05/0.3586, allocations: 17.41 kB / 333.4 MB, free: 5.668 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.192e-05/0.3587, allocations: 23.69 kB / 333.4 MB, free: 5.652 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.3587, allocations: 9.25 kB / 333.4 MB, free: 5.645 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.971e-05/0.3588, allocations: 12.69 kB / 333.4 MB, free: 5.645 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.553e-05/0.3588, allocations: 9.922 kB / 333.5 MB, free: 5.641 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.628e-05/0.3589, allocations: 32.55 kB / 333.5 MB, free: 5.605 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.359, allocations: 45.19 kB / 333.5 MB, free: 5.594 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.359, allocations: 0 / 333.5 MB, free: 5.594 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.359, allocations: 0 / 333.5 MB, free: 5.594 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.359, allocations: 1.5 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.0004072/0.3595, allocations: 384.5 kB / 333.9 MB, free: 5.191 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.3595, allocations: 12.62 kB / 333.9 MB, free: 5.188 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.3596, allocations: 8.016 kB / 333.9 MB, free: 5.184 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.3597, allocations: 181 kB / 334.1 MB, free: 4.977 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.3597, allocations: 2.094 kB / 334.1 MB, free: 4.977 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.3598, allocations: 5.406 kB / 334.1 MB, free: 4.973 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.3599, allocations: 52.66 kB / 334.2 MB, free: 4.934 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.36, allocations: 1.031 kB / 334.2 MB, free: 4.934 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.36, allocations: 0 / 334.2 MB, free: 4.934 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.36, allocations: 1.125 kB / 334.2 MB, free: 4.934 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.3602, allocations: 31.12 kB / 334.2 MB, free: 4.926 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003923/0.3606, allocations: 283.9 kB / 334.5 MB, free: 4.637 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.3608, allocations: 56.38 kB / 334.5 MB, free: 4.598 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.3609, allocations: 2.141 kB / 334.5 MB, free: 4.598 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.537e-05/0.3609, allocations: 31.36 kB / 334.6 MB, free: 4.559 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.3609, allocations: 0 / 334.6 MB, free: 4.559 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007822/0.3617, allocations: 168.1 kB / 334.7 MB, free: 4.488 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.577e-05/0.3617, allocations: 51.41 kB / 334.8 MB, free: 4.426 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.3619, allocations: 130.2 kB / 334.9 MB, free: 4.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.3619, allocations: 30.41 kB / 334.9 MB, free: 4.285 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.32e-05/0.3619, allocations: 157.2 kB / 335.1 MB, free: 4.133 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.362, allocations: 22.77 kB / 335.1 MB, free: 4.113 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/0.362, allocations: 1.156 kB / 335.1 MB, free: 4.113 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.328e-05/0.362, allocations: 320.9 kB / 335.4 MB, free: 3.793 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.3622, allocations: 25.17 kB / 335.4 MB, free: 3.789 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.3623, allocations: 26.06 kB / 335.5 MB, free: 3.785 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.3625, allocations: 60.94 kB / 335.5 MB, free: 3.742 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.3625, allocations: 0 / 335.5 MB, free: 3.742 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003272/0.3628, allocations: 121.9 kB / 335.6 MB, free: 3.664 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/0.3629, allocations: 31.86 kB / 335.7 MB, free: 3.633 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.3629, allocations: 0 / 335.7 MB, free: 3.633 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3629, allocations: 1.281 kB / 335.7 MB, free: 3.633 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.363, allocations: 22.09 kB / 335.7 MB, free: 3.625 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.363, allocations: 1.844 kB / 335.7 MB, free: 3.625 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.846e-05/0.3631, allocations: 10.02 kB / 335.7 MB, free: 3.621 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.3631, allocations: 1.844 kB / 335.7 MB, free: 3.621 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.418e-05/0.3632, allocations: 124.5 kB / 335.8 MB, free: 3.496 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.496e-05/0.3633, allocations: 6.469 kB / 335.8 MB, free: 3.492 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003626/0.3636, allocations: 111.3 kB / 336 MB, free: 3.434 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.3637, allocations: 64 / 336 MB, free: 3.434 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3637, allocations: 4.75 kB / 336 MB, free: 3.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.932e-05/0.3637, allocations: 83.27 kB / 336 MB, free: 3.332 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.3637, allocations: 1.672 kB / 336 MB, free: 3.332 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.3638, allocations: 15.03 kB / 336.1 MB, free: 3.324 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.3639, allocations: 4.312 kB / 336.1 MB, free: 3.324 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003538/0.3643, allocations: 177.9 kB / 336.2 MB, free: 3.199 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003516/0.3646, allocations: 264 kB / 336.5 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001374/0.3648, allocations: 31.75 kB / 336.5 MB, free: 2.969 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.392e-05/0.3649, allocations: 105.5 kB / 336.6 MB, free: 2.887 MB / 266.7 MB Notification: Performance of Backend: time 5.41e-07/0.3649, allocations: 4 kB / 336.6 MB, free: 2.883 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009496/0.3658, allocations: 312.4 kB / 336.9 MB, free: 2.688 MB / 266.7 MB Notification: Performance of SimCode: time 0.0004738/0.3663, allocations: 0.6391 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.0 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) []