Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,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.Test8") Notification: Performance of loadModel(ModelicaTest): time 2.4/2.4, allocations: 234.9 MB / 250.5 MB, free: 10.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004421/0.0004425, allocations: 12 kB / 314.3 MB, free: 10.51 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2795, allocations: 54.88 MB / 369.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.002099/0.2816, allocations: 1.223 MB / 370.4 MB, free: 9.594 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005957/0.2822, allocations: 253.2 kB / 370.7 MB, free: 9.344 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.339e-05/0.2823, allocations: 0 / 370.7 MB, free: 9.344 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001585/0.2825, allocations: 15.91 kB / 370.7 MB, free: 9.328 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00014/0.2826, allocations: 27.91 kB / 370.7 MB, free: 9.301 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001255/0.2828, allocations: 23.92 kB / 370.7 MB, free: 9.277 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.2829, allocations: 47.94 kB / 370.8 MB, free: 9.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.746e-05/0.283, allocations: 7.984 kB / 370.8 MB, free: 9.223 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.938e-05/0.2831, allocations: 19.92 kB / 370.8 MB, free: 9.203 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.984e-05/0.2832, allocations: 15.86 kB / 370.8 MB, free: 9.188 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.2832, allocations: 0 / 370.8 MB, free: 9.188 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.585e-05/0.2833, allocations: 19.94 kB / 370.8 MB, free: 9.168 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.447e-05/0.2833, allocations: 7.984 kB / 370.8 MB, free: 9.16 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.197e-05/0.2834, allocations: 41.62 kB / 370.9 MB, free: 9.113 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.2835, allocations: 39.94 kB / 370.9 MB, free: 9.074 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.502e-06/0.2835, allocations: 4 kB / 370.9 MB, free: 9.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.239e-06/0.2835, allocations: 0 / 370.9 MB, free: 9.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.806e-06/0.2835, allocations: 0 / 370.9 MB, free: 9.07 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.0004991/0.284, allocations: 389.6 kB / 371.3 MB, free: 8.637 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.2841, allocations: 12.02 kB / 371.3 MB, free: 8.625 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.2841, allocations: 11.86 kB / 371.3 MB, free: 8.613 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.2844, allocations: 178.9 kB / 371.5 MB, free: 8.398 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.2844, allocations: 4 kB / 371.5 MB, free: 8.395 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.2844, allocations: 4 kB / 371.5 MB, free: 8.391 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.2846, allocations: 53.62 kB / 371.6 MB, free: 8.332 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.2846, allocations: 0 / 371.6 MB, free: 8.332 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.44e-06/0.2847, allocations: 0 / 371.6 MB, free: 8.332 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.001e-06/0.2847, allocations: 4 kB / 371.6 MB, free: 8.328 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.2848, allocations: 27.94 kB / 371.6 MB, free: 8.301 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004072/0.2852, allocations: 269 kB / 371.9 MB, free: 7.988 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002344/0.2855, allocations: 46.5 kB / 371.9 MB, free: 7.934 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.2855, allocations: 3.938 kB / 371.9 MB, free: 7.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.2856, allocations: 34.5 kB / 371.9 MB, free: 7.887 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 2.109e-06/0.2856, allocations: 0 / 371.9 MB, free: 7.887 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006679/0.2862, allocations: 161.4 kB / 372.1 MB, free: 7.723 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.2863, allocations: 55.41 kB / 372.1 MB, free: 7.656 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.2865, allocations: 153.4 kB / 372.3 MB, free: 7.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.2865, allocations: 25.7 kB / 372.3 MB, free: 7.469 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.831e-05/0.2866, allocations: 162.5 kB / 372.5 MB, free: 7.309 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.2867, allocations: 11.81 kB / 372.5 MB, free: 7.297 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.402e-06/0.2867, allocations: 4 kB / 372.5 MB, free: 7.293 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.2869, allocations: 314.8 kB / 372.8 MB, free: 6.977 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.287, allocations: 27.98 kB / 372.8 MB, free: 6.949 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.116e-05/0.2871, allocations: 27.98 kB / 372.9 MB, free: 6.922 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.2872, allocations: 49.69 kB / 372.9 MB, free: 6.867 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2872, allocations: 0 / 372.9 MB, free: 6.867 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00029/0.2875, allocations: 119.3 kB / 373 MB, free: 6.738 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.982e-05/0.2876, allocations: 29.7 kB / 373.1 MB, free: 6.703 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.489e-06/0.2876, allocations: 0 / 373.1 MB, free: 6.703 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.2876, allocations: 3.953 kB / 373.1 MB, free: 6.699 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.68e-05/0.2877, allocations: 15.98 kB / 373.1 MB, free: 6.684 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.2878, allocations: 4 kB / 373.1 MB, free: 6.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.733e-05/0.2878, allocations: 8 kB / 373.1 MB, free: 6.672 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.2879, allocations: 11.97 kB / 373.1 MB, free: 6.66 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.0001265/0.288, allocations: 117.8 kB / 373.2 MB, free: 6.535 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.27e-05/0.288, allocations: 7.906 kB / 373.2 MB, free: 6.527 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002997/0.2884, allocations: 97.81 kB / 373.3 MB, free: 6.426 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.313e-06/0.2884, allocations: 11.95 kB / 373.3 MB, free: 6.414 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.663e-06/0.2884, allocations: 0 / 373.3 MB, free: 6.414 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.2884, allocations: 0 / 373.3 MB, free: 6.414 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005801/0.289, allocations: 350.5 kB / 373.7 MB, free: 6.016 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.036e-06/0.289, allocations: 4 kB / 373.7 MB, free: 6.012 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.004e-05/0.2891, allocations: 19.92 kB / 373.7 MB, free: 5.992 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.793e-06/0.2891, allocations: 7.953 kB / 373.7 MB, free: 5.984 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.2892, allocations: 0 / 373.7 MB, free: 5.984 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.969e-06/0.2892, allocations: 3.938 kB / 373.7 MB, free: 5.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.705e-06/0.2892, allocations: 0 / 373.7 MB, free: 5.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003041/0.2895, allocations: 183.5 kB / 373.9 MB, free: 5.785 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.228e-05/0.2896, allocations: 81.3 kB / 374 MB, free: 5.688 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.4e-05/0.2896, allocations: 7.953 kB / 374 MB, free: 5.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.543e-05/0.2897, allocations: 4 kB / 374 MB, free: 5.676 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.2898, allocations: 11.97 kB / 374 MB, free: 5.664 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.2898, allocations: 4 kB / 374 MB, free: 5.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001158/0.2899, allocations: 107.3 kB / 374.1 MB, free: 5.555 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.98e-07/0.2899, allocations: 7.938 kB / 374.1 MB, free: 5.547 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003233/0.2903, allocations: 15.98 kB / 374.1 MB, free: 5.531 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0009726/0.2912, allocations: 294.8 kB / 374.4 MB, free: 5.309 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003148/0.2916, allocations: 115.4 kB / 374.5 MB, free: 5.184 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.922e-06/0.2916, allocations: 0 / 374.5 MB, free: 5.184 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.2917, allocations: 31.98 kB / 374.6 MB, free: 5.152 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.292, allocations: 8 kB / 374.6 MB, free: 5.145 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004792/0.2925, allocations: 206.3 kB / 374.8 MB, free: 4.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/0.2929, allocations: 0.7004 MB / 375.5 MB, free: 4.184 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.309e-05/0.293, allocations: 11.44 kB / 375.5 MB, free: 4.172 MB / 298.7 MB Notification: Performance of SimCode: time 1.428e-06/0.293, allocations: 0 / 375.5 MB, free: 4.172 MB / 298.7 MB Notification: Performance of Templates: time 0.003412/0.2964, allocations: 1.171 MB / 376.6 MB, free: 3 MB / 298.7 MB