Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadModel(ModelicaTest): time 2.299/2.299, allocations: 209.3 MB / 224.8 MB, free: 280 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004471/0.0004473, allocations: 12 kB / 282.5 MB, free: 9.641 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3326, allocations: 48.71 MB / 331.2 MB, free: 6.484 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.001954/0.3346, allocations: 1.293 MB / 332.5 MB, free: 5.824 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000862/0.3355, allocations: 418.1 kB / 332.9 MB, free: 5.547 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.377e-05/0.3356, allocations: 7.625 kB / 332.9 MB, free: 5.543 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002187/0.3358, allocations: 20.78 kB / 332.9 MB, free: 5.535 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001618/0.336, allocations: 38.5 kB / 333 MB, free: 5.516 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000211/0.3362, allocations: 56.03 kB / 333 MB, free: 5.488 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.3364, allocations: 61.73 kB / 333.1 MB, free: 5.457 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.613e-05/0.3365, allocations: 6.062 kB / 333.1 MB, free: 5.457 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.117e-05/0.3365, allocations: 29.66 kB / 333.1 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.766e-05/0.3366, allocations: 22.88 kB / 333.1 MB, free: 5.438 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.3367, allocations: 6.344 kB / 333.1 MB, free: 5.434 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.3368, allocations: 36.42 kB / 333.2 MB, free: 5.422 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.32e-05/0.3368, allocations: 14.06 kB / 333.2 MB, free: 5.422 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.172e-05/0.3369, allocations: 37.8 kB / 333.2 MB, free: 5.383 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.3371, allocations: 88.16 kB / 333.3 MB, free: 5.355 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.86e-06/0.3371, allocations: 0 / 333.3 MB, free: 5.355 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.816e-06/0.3371, allocations: 5.188 kB / 333.3 MB, free: 5.352 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.3371, allocations: 0 / 333.3 MB, free: 5.352 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000414/0.3376, allocations: 416.3 kB / 333.7 MB, free: 4.926 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.3376, allocations: 10.44 kB / 333.7 MB, free: 4.926 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.085e-05/0.3377, allocations: 12.06 kB / 333.7 MB, free: 4.918 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.3378, allocations: 203.8 kB / 333.9 MB, free: 4.699 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.3379, allocations: 1.828 kB / 333.9 MB, free: 4.699 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.3379, allocations: 7.812 kB / 334 MB, free: 4.695 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.338, allocations: 42.58 kB / 334 MB, free: 4.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.3381, allocations: 1.5 kB / 334 MB, free: 4.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.3381, allocations: 3.984 kB / 334 MB, free: 4.656 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.013e-06/0.3381, allocations: 0 / 334 MB, free: 4.656 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.767e-05/0.3382, allocations: 14.47 kB / 334 MB, free: 4.652 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003173/0.3385, allocations: 289.5 kB / 334.3 MB, free: 4.359 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.3387, allocations: 42.31 kB / 334.3 MB, free: 4.328 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.3387, allocations: 1.969 kB / 334.3 MB, free: 4.328 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001339/0.3389, allocations: 55.67 kB / 334.4 MB, free: 4.277 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.27e-06/0.3389, allocations: 0 / 334.4 MB, free: 4.277 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004007/0.3393, allocations: 116.6 kB / 334.5 MB, free: 4.211 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/0.3393, allocations: 52.75 kB / 334.6 MB, free: 4.148 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.3396, allocations: 213.2 kB / 334.8 MB, free: 4.012 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.3396, allocations: 30.8 kB / 334.8 MB, free: 3.977 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.188e-05/0.3397, allocations: 165.2 kB / 335 MB, free: 3.816 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.3397, allocations: 16.39 kB / 335 MB, free: 3.805 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.529e-06/0.3397, allocations: 0 / 335 MB, free: 3.805 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.323e-05/0.3398, allocations: 321.8 kB / 335.3 MB, free: 3.484 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.555e-05/0.3399, allocations: 19.61 kB / 335.3 MB, free: 3.477 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.822e-05/0.3399, allocations: 20.22 kB / 335.3 MB, free: 3.469 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.861e-05/0.34, allocations: 46.81 kB / 335.4 MB, free: 3.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.627e-06/0.34, allocations: 0 / 335.4 MB, free: 3.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000211/0.3402, allocations: 125.2 kB / 335.5 MB, free: 3.336 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.458e-05/0.3403, allocations: 39.12 kB / 335.5 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.246e-06/0.3403, allocations: 0 / 335.5 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.3403, allocations: 0 / 335.5 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.583e-05/0.3404, allocations: 9.547 kB / 335.5 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.3404, allocations: 1.734 kB / 335.5 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.026e-05/0.3405, allocations: 3.219 kB / 335.5 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.3405, allocations: 2.375 kB / 335.6 MB, free: 3.301 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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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 9.605e-05/0.3406, allocations: 132.7 kB / 335.7 MB, free: 3.176 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.3406, allocations: 13 kB / 335.7 MB, free: 3.168 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.243e-05/0.3407, allocations: 16.52 kB / 335.7 MB, free: 3.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.634e-06/0.3407, allocations: 5.125 kB / 335.7 MB, free: 3.156 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.136e-06/0.3407, allocations: 0 / 335.7 MB, free: 3.156 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.514e-06/0.3407, allocations: 0.75 kB / 335.7 MB, free: 3.156 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003341/0.3411, allocations: 345 kB / 336.1 MB, free: 2.828 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.047e-06/0.3411, allocations: 0.75 kB / 336.1 MB, free: 2.828 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.617e-05/0.3412, allocations: 4.906 kB / 336.1 MB, free: 2.828 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.3412, allocations: 5.562 kB / 336.1 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.3412, allocations: 1.812 kB / 336.1 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.218e-06/0.3412, allocations: 0 / 336.1 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.3412, allocations: 1.062 kB / 336.1 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.3414, allocations: 177 kB / 336.2 MB, free: 2.668 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.336e-05/0.3414, allocations: 88.5 kB / 336.3 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.3415, allocations: 1.672 kB / 336.3 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.889e-05/0.3416, allocations: 2.422 kB / 336.3 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.3416, allocations: 8.953 kB / 336.3 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.3416, allocations: 2.078 kB / 336.3 MB, free: 2.562 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001468/0.3418, allocations: 156.5 kB / 336.5 MB, free: 2.469 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.46e-07/0.3418, allocations: 0 / 336.5 MB, free: 2.469 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003496/0.3422, allocations: 33.09 kB / 336.5 MB, free: 2.457 MB / 266.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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.00108/0.3433, allocations: 379.3 kB / 336.9 MB, free: 2.23 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001865/0.3435, allocations: 102.5 kB / 337 MB, free: 2.152 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.261e-06/0.3435, allocations: 0 / 337 MB, free: 2.152 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.188e-05/0.3436, allocations: 19.03 kB / 337 MB, free: 2.145 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.3438, allocations: 20.27 kB / 337 MB, free: 2.137 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004653/0.3443, allocations: 264.2 kB / 337.3 MB, free: 1.938 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001605/0.3445, allocations: 0.7066 MB / 338 MB, free: 1.238 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.075e-05/0.3445, allocations: 19.64 kB / 338 MB, free: 1.227 MB / 266.7 MB Notification: Performance of SimCode: time 1.261e-06/0.3446, allocations: 0 / 338 MB, free: 1.227 MB / 266.7 MB Notification: Performance of Templates: time 0.004056/0.3486, allocations: 1.724 MB / 339.7 MB, free: 0.6172 MB / 266.7 MB