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.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29") Notification: Performance of loadModel(ModelicaTest): time 2.218/2.218, allocations: 234.9 MB / 250.5 MB, free: 9.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004897/0.0004899, allocations: 12 kB / 314.3 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3356, allocations: 54.87 MB / 369.2 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.002102/0.3378, allocations: 1.235 MB / 370.4 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006049/0.3384, allocations: 261.1 kB / 370.7 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.522e-05/0.3385, allocations: 0 / 370.7 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001962/0.3387, allocations: 31.84 kB / 370.7 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001312/0.3389, allocations: 23.91 kB / 370.7 MB, free: 11.19 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001271/0.339, allocations: 23.97 kB / 370.8 MB, free: 11.17 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.3392, allocations: 51.89 kB / 370.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.094e-05/0.3393, allocations: 15.98 kB / 370.8 MB, free: 11.1 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.91e-05/0.3393, allocations: 27.91 kB / 370.9 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.566e-05/0.3394, allocations: 15.92 kB / 370.9 MB, free: 11.06 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.3394, allocations: 0 / 370.9 MB, free: 11.06 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.619e-05/0.3395, allocations: 23.88 kB / 370.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.649e-05/0.3396, allocations: 7.984 kB / 370.9 MB, free: 11.03 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.875e-05/0.3396, allocations: 37.64 kB / 370.9 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.3398, allocations: 51.91 kB / 371 MB, free: 10.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.372e-06/0.3398, allocations: 8 kB / 371 MB, free: 10.93 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.83e-06/0.3398, allocations: 0 / 371 MB, free: 10.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.266e-06/0.3398, allocations: 0 / 371 MB, free: 10.93 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005128/0.3403, allocations: 389.5 kB / 371.4 MB, free: 10.49 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.3404, allocations: 12.03 kB / 371.4 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.9e-05/0.3404, allocations: 11.86 kB / 371.4 MB, free: 10.47 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.3407, allocations: 182.9 kB / 371.6 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.3407, allocations: 4 kB / 371.6 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.3408, allocations: 8 kB / 371.6 MB, free: 10.24 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.341, allocations: 61.61 kB / 371.6 MB, free: 10.17 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.341, allocations: 0 / 371.6 MB, free: 10.17 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.341, allocations: 4 kB / 371.7 MB, free: 10.17 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.764e-06/0.341, allocations: 3.938 kB / 371.7 MB, free: 10.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001427/0.3412, allocations: 35.94 kB / 371.7 MB, free: 10.13 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004435/0.3416, allocations: 288.8 kB / 372 MB, free: 9.797 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.3418, allocations: 62.48 kB / 372 MB, free: 9.727 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.3419, allocations: 4.062 kB / 372 MB, free: 9.723 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.3419, allocations: 30.56 kB / 372.1 MB, free: 9.684 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 2.099e-06/0.3419, allocations: 4 kB / 372.1 MB, free: 9.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008037/0.3427, allocations: 193.4 kB / 372.3 MB, free: 9.484 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.3428, allocations: 55.41 kB / 372.3 MB, free: 9.418 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.343, allocations: 151.1 kB / 372.5 MB, free: 9.262 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.343, allocations: 25.7 kB / 372.5 MB, free: 9.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.848e-05/0.3431, allocations: 158.7 kB / 372.6 MB, free: 9.074 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.3432, allocations: 31.58 kB / 372.7 MB, free: 9.043 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.137e-06/0.3432, allocations: 0 / 372.7 MB, free: 9.043 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3434, allocations: 318.8 kB / 373 MB, free: 8.723 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.3435, allocations: 31.98 kB / 373 MB, free: 8.691 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.3436, allocations: 27.98 kB / 373 MB, free: 8.664 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.3438, allocations: 65.62 kB / 373.1 MB, free: 8.594 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.817e-06/0.3438, allocations: 0 / 373.1 MB, free: 8.594 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003408/0.3442, allocations: 143.3 kB / 373.2 MB, free: 8.441 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.618e-05/0.3442, allocations: 33.66 kB / 373.3 MB, free: 8.402 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.3442, allocations: 4 kB / 373.3 MB, free: 8.398 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.3443, allocations: 3.938 kB / 373.3 MB, free: 8.395 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.3444, allocations: 19.98 kB / 373.3 MB, free: 8.375 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.608e-06/0.3444, allocations: 0 / 373.3 MB, free: 8.375 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.129e-05/0.3445, allocations: 7.984 kB / 373.3 MB, free: 8.367 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.3445, allocations: 12 kB / 373.3 MB, free: 8.355 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 (9): * Single equations (assignments): 8 * 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.0001186/0.3446, allocations: 113.8 kB / 373.4 MB, free: 8.234 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.578e-05/0.3447, allocations: 7.906 kB / 373.4 MB, free: 8.227 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003761/0.3451, allocations: 138 kB / 373.6 MB, free: 8.082 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.837e-06/0.3451, allocations: 4 kB / 373.6 MB, free: 8.078 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.261e-06/0.3451, allocations: 3.938 kB / 373.6 MB, free: 8.074 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.3451, allocations: 0 / 373.6 MB, free: 8.074 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006601/0.3458, allocations: 386.5 kB / 374 MB, free: 7.641 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.954e-06/0.3458, allocations: 7.984 kB / 374 MB, free: 7.633 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.346, allocations: 24.3 kB / 374 MB, free: 7.609 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.962e-06/0.346, allocations: 4 kB / 374 MB, free: 7.605 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.346, allocations: 288 / 374 MB, free: 7.605 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.346, allocations: 4 kB / 374 MB, free: 7.602 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.107e-06/0.346, allocations: 0 / 374 MB, free: 7.602 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003533/0.3464, allocations: 211.3 kB / 374.2 MB, free: 7.379 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.518e-05/0.3465, allocations: 84.97 kB / 374.3 MB, free: 7.277 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.645e-05/0.3465, allocations: 11.98 kB / 374.3 MB, free: 7.266 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.84e-05/0.3466, allocations: 4 kB / 374.3 MB, free: 7.262 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.3467, allocations: 7.984 kB / 374.3 MB, free: 7.254 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.3467, allocations: 0 / 374.3 MB, free: 7.254 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001187/0.3468, allocations: 117.2 kB / 374.4 MB, free: 7.141 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.2e-07/0.3468, allocations: 0 / 374.4 MB, free: 7.141 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003377/0.3472, allocations: 23.98 kB / 374.5 MB, free: 7.117 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 (8): * Single equations (assignments): 8 * 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.0009459/0.3481, allocations: 289.1 kB / 374.7 MB, free: 6.906 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003487/0.3485, allocations: 131.3 kB / 374.9 MB, free: 6.766 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.792e-06/0.3485, allocations: 0 / 374.9 MB, free: 6.766 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.3487, allocations: 47.92 kB / 374.9 MB, free: 6.719 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.3489, allocations: 11.98 kB / 374.9 MB, free: 6.707 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005138/0.3495, allocations: 230.8 kB / 375.1 MB, free: 6.449 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/0.3499, allocations: 0.7005 MB / 375.8 MB, free: 5.723 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.956e-05/0.35, allocations: 15.42 kB / 375.9 MB, free: 5.707 MB / 298.7 MB Notification: Performance of SimCode: time 1.42e-06/0.35, allocations: 0 / 375.9 MB, free: 5.707 MB / 298.7 MB Notification: Performance of Templates: time 0.00364/0.3536, allocations: 1.339 MB / 377.2 MB, free: 4.367 MB / 298.7 MB