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.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadModel(ModelicaTest): time 1.955/1.955, allocations: 209.3 MB / 224.8 MB, free: 1.207 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004545/0.0004546, allocations: 12 kB / 282.5 MB, free: 9.758 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08861/0.08909, allocations: 48.71 MB / 331.2 MB, free: 8.957 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002112/0.09125, allocations: 1.251 MB / 332.5 MB, free: 7.695 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009338/0.09222, allocations: 404.8 kB / 332.8 MB, free: 7.297 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.812e-05/0.09228, allocations: 8 kB / 332.9 MB, free: 7.289 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000222/0.09252, allocations: 19.86 kB / 332.9 MB, free: 7.27 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001749/0.09271, allocations: 43.86 kB / 332.9 MB, free: 7.227 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001875/0.09292, allocations: 51.81 kB / 333 MB, free: 7.176 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.09306, allocations: 43.94 kB / 333 MB, free: 7.133 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.472e-05/0.09312, allocations: 7.984 kB / 333 MB, free: 7.125 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.384e-05/0.09321, allocations: 23.92 kB / 333 MB, free: 7.102 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.816e-05/0.09331, allocations: 39.78 kB / 333.1 MB, free: 7.062 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.09334, allocations: 4 kB / 333.1 MB, free: 7.059 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.078e-05/0.09343, allocations: 19.98 kB / 333.1 MB, free: 7.039 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.658e-05/0.09348, allocations: 19.92 kB / 333.1 MB, free: 7.02 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.546e-05/0.09356, allocations: 41.64 kB / 333.2 MB, free: 6.973 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.09376, allocations: 83.81 kB / 333.2 MB, free: 6.891 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.741e-06/0.09378, allocations: 0 / 333.2 MB, free: 6.891 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.915e-06/0.0938, allocations: 0 / 333.2 MB, free: 6.891 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.059e-06/0.09381, allocations: 0 / 333.2 MB, free: 6.891 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005841/0.0944, allocations: 424.8 kB / 333.7 MB, free: 6.422 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.09445, allocations: 8.031 kB / 333.7 MB, free: 6.414 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.034e-05/0.09451, allocations: 11.91 kB / 333.7 MB, free: 6.402 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.09478, allocations: 198.8 kB / 333.9 MB, free: 6.168 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.09481, allocations: 3.984 kB / 333.9 MB, free: 6.164 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.09483, allocations: 0 / 333.9 MB, free: 6.164 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.09496, allocations: 37.69 kB / 333.9 MB, free: 6.121 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.09498, allocations: 3.938 kB / 333.9 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.216e-06/0.095, allocations: 0 / 333.9 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.483e-06/0.09502, allocations: 4 kB / 333.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.188e-05/0.09508, allocations: 11.98 kB / 333.9 MB, free: 6.102 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002387/0.09533, allocations: 189.6 kB / 334.1 MB, free: 5.867 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.623e-05/0.09542, allocations: 22.58 kB / 334.1 MB, free: 5.836 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.09546, allocations: 11.98 kB / 334.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001615/0.09563, allocations: 59.33 kB / 334.2 MB, free: 5.754 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 2.443e-06/0.09565, allocations: 4 kB / 334.2 MB, free: 5.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002653/0.09592, allocations: 69.5 kB / 334.3 MB, free: 5.676 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/0.096, allocations: 51.41 kB / 334.3 MB, free: 5.613 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003308/0.09635, allocations: 239.5 kB / 334.6 MB, free: 5.363 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.09639, allocations: 29.7 kB / 334.6 MB, free: 5.328 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.09651, allocations: 166.6 kB / 334.8 MB, free: 5.164 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.09655, allocations: 11.84 kB / 334.8 MB, free: 5.152 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.523e-06/0.09657, allocations: 0 / 334.8 MB, free: 5.152 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.09674, allocations: 322.8 kB / 335.1 MB, free: 4.828 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.71e-05/0.0968, allocations: 12 kB / 335.1 MB, free: 4.816 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.589e-05/0.09686, allocations: 15.98 kB / 335.1 MB, free: 4.801 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.36e-05/0.09694, allocations: 45.64 kB / 335.2 MB, free: 4.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.09696, allocations: 0 / 335.2 MB, free: 4.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001954/0.09716, allocations: 99.34 kB / 335.3 MB, free: 4.641 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.275e-05/0.09722, allocations: 29.7 kB / 335.3 MB, free: 4.605 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.593e-06/0.09724, allocations: 4 kB / 335.3 MB, free: 4.602 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.09726, allocations: 0 / 335.3 MB, free: 4.602 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.658e-05/0.09734, allocations: 7.984 kB / 335.3 MB, free: 4.594 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.197e-06/0.09735, allocations: 3.938 kB / 335.3 MB, free: 4.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.483e-05/0.09743, allocations: 11.91 kB / 335.3 MB, free: 4.578 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.09745, allocations: 0 / 335.3 MB, free: 4.578 MB / 282.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 (5): * Single equations (assignments): 4 * 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.0001386/0.0976, allocations: 133.8 kB / 335.4 MB, free: 4.438 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.151e-05/0.09764, allocations: 11.86 kB / 335.5 MB, free: 4.426 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.311e-05/0.09771, allocations: 21.05 kB / 335.5 MB, free: 4.402 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.712e-06/0.09773, allocations: 0 / 335.5 MB, free: 4.402 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.594e-06/0.09774, allocations: 7.938 kB / 335.5 MB, free: 4.395 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.09775, allocations: 0 / 335.5 MB, free: 4.395 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.09796, allocations: 185.6 kB / 335.7 MB, free: 4.164 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.09798, allocations: 4 kB / 335.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.157e-05/0.09801, allocations: 0 / 335.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.739e-06/0.09803, allocations: 3.953 kB / 335.7 MB, free: 4.156 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.09805, allocations: 4 kB / 335.7 MB, free: 4.152 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.192e-06/0.09806, allocations: 0 / 335.7 MB, free: 4.152 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.973e-06/0.09807, allocations: 0 / 335.7 MB, free: 4.152 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.09824, allocations: 89.06 kB / 335.8 MB, free: 4.047 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.45e-05/0.09833, allocations: 89.05 kB / 335.9 MB, free: 3.941 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.959e-05/0.09837, allocations: 11.94 kB / 335.9 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.336e-05/0.09843, allocations: 0 / 335.9 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.09847, allocations: 4 kB / 335.9 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.0985, allocations: 3.984 kB / 335.9 MB, free: 3.922 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.00022/0.09873, allocations: 189.1 kB / 336.1 MB, free: 3.738 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.159e-06/0.09875, allocations: 0 / 336.1 MB, free: 3.738 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000289/0.09904, allocations: 23.94 kB / 336.1 MB, free: 3.715 MB / 282.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 (3): * Single equations (assignments): 2 * 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.00106/0.1001, allocations: 341.6 kB / 336.4 MB, free: 3.449 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001967/0.1003, allocations: 91.39 kB / 336.5 MB, free: 3.348 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.718e-06/0.1004, allocations: 0 / 336.5 MB, free: 3.348 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.037e-05/0.1004, allocations: 7.984 kB / 336.5 MB, free: 3.34 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.1006, allocations: 16.17 kB / 336.5 MB, free: 3.324 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005426/0.1012, allocations: 275.1 kB / 336.8 MB, free: 3.027 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.1016, allocations: 0.7121 MB / 337.5 MB, free: 2.289 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.785e-05/0.1017, allocations: 11.44 kB / 337.5 MB, free: 2.277 MB / 282.7 MB Notification: Performance of SimCode: time 1.362e-06/0.1017, allocations: 0 / 337.5 MB, free: 2.277 MB / 282.7 MB Notification: Performance of Templates: time 0.004096/0.1058, allocations: 1.586 MB / 339.1 MB, free: 0.6953 MB / 282.7 MB