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.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadModel(ModelicaTest): time 1.971/1.971, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.714e-05/2.72e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08677/0.08682, allocations: 48.71 MB / 326.6 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3366/0.4235, allocations: 76.52 MB / 403.1 MB, free: 9.562 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002014/0.4237, allocations: 68.34 kB / 403.1 MB, free: 9.555 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01176/0.4355, allocations: 3.223 MB / 406.4 MB, free: 8.258 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.4355, allocations: 0 / 406.4 MB, free: 8.258 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.4355, allocations: 0 / 406.4 MB, free: 8.258 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004279/0.436, allocations: 463.4 kB / 406.8 MB, free: 7.797 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.436, allocations: 11.83 kB / 406.8 MB, free: 7.793 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.702e-05/0.4361, allocations: 11.66 kB / 406.8 MB, free: 7.789 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.4363, allocations: 210.9 kB / 407 MB, free: 7.566 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.4364, allocations: 3.875 kB / 407 MB, free: 7.566 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.4364, allocations: 6.531 kB / 407.1 MB, free: 7.566 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.4365, allocations: 69.14 kB / 407.1 MB, free: 7.523 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.849e-06/0.4366, allocations: 0 / 407.1 MB, free: 7.523 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.4366, allocations: 0 / 407.1 MB, free: 7.523 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.033e-06/0.4366, allocations: 3.656 kB / 407.1 MB, free: 7.523 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.023e-05/0.4367, allocations: 30.38 kB / 407.2 MB, free: 7.523 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004852/0.4372, allocations: 358 kB / 407.5 MB, free: 7.203 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000231/0.4375, allocations: 64.22 kB / 407.6 MB, free: 7.172 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.202e-05/0.4375, allocations: 30.8 kB / 407.6 MB, free: 7.164 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.4376, allocations: 4 kB / 407.6 MB, free: 7.16 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001328/0.4377, allocations: 69.8 kB / 407.7 MB, free: 7.102 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 2.468e-06/0.4377, allocations: 0 / 407.7 MB, free: 7.102 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002187/0.438, allocations: 90.11 kB / 407.8 MB, free: 7.055 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/0.438, allocations: 55.36 kB / 407.8 MB, free: 6.988 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.4381, allocations: 145.4 kB / 408 MB, free: 6.891 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.4382, allocations: 31.95 kB / 408 MB, free: 6.859 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.721e-05/0.4382, allocations: 169 kB / 408.1 MB, free: 6.703 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.4383, allocations: 30.7 kB / 408.2 MB, free: 6.684 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.154e-06/0.4383, allocations: 7.625 kB / 408.2 MB, free: 6.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.818e-05/0.4383, allocations: 314.7 kB / 408.5 MB, free: 6.367 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.069e-05/0.4384, allocations: 26.75 kB / 408.5 MB, free: 6.363 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.539e-05/0.4385, allocations: 43.52 kB / 408.6 MB, free: 6.344 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.632e-05/0.4386, allocations: 56.12 kB / 408.6 MB, free: 6.309 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.438e-06/0.4386, allocations: 3.812 kB / 408.6 MB, free: 6.309 MB / 314.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002401/0.4389, allocations: 140.2 kB / 408.8 MB, free: 6.227 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/0.4389, allocations: 40.88 kB / 408.8 MB, free: 6.191 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.533e-06/0.4389, allocations: 0 / 408.8 MB, free: 6.191 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.439, allocations: 3.875 kB / 408.8 MB, free: 6.191 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.4391, allocations: 11.41 kB / 408.8 MB, free: 6.191 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.245e-06/0.4391, allocations: 0 / 408.8 MB, free: 6.191 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.988e-05/0.4392, allocations: 23.22 kB / 408.8 MB, free: 6.176 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.4392, allocations: 3.75 kB / 408.8 MB, free: 6.176 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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.087e-05/0.4393, allocations: 116.7 kB / 409 MB, free: 6.062 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.4393, allocations: 11.69 kB / 409 MB, free: 6.055 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002191/0.4396, allocations: 100.2 kB / 409.1 MB, free: 6.012 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.732e-06/0.4396, allocations: 0 / 409.1 MB, free: 6.012 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.512e-06/0.4396, allocations: 0 / 409.1 MB, free: 6.012 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.159e-06/0.4396, allocations: 0 / 409.1 MB, free: 6.012 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.4398, allocations: 202.1 kB / 409.3 MB, free: 5.805 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.4398, allocations: 0 / 409.3 MB, free: 5.805 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.4399, allocations: 15.52 kB / 409.3 MB, free: 5.801 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.846e-06/0.4399, allocations: 4 kB / 409.3 MB, free: 5.797 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.44, allocations: 3.312 kB / 409.3 MB, free: 5.797 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.646e-06/0.44, allocations: 80 / 409.3 MB, free: 5.797 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.44, allocations: 11.77 kB / 409.3 MB, free: 5.789 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.4403, allocations: 142.6 kB / 409.4 MB, free: 5.707 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.859e-05/0.4403, allocations: 92.86 kB / 409.5 MB, free: 5.602 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.119e-05/0.4404, allocations: 3.375 kB / 409.5 MB, free: 5.602 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.316e-05/0.4405, allocations: 7.938 kB / 409.5 MB, free: 5.598 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.4405, allocations: 7.172 kB / 409.5 MB, free: 5.594 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.4406, allocations: 3.969 kB / 409.5 MB, free: 5.594 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.298e-05/0.4407, allocations: 119.9 kB / 409.7 MB, free: 5.516 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.66e-07/0.4407, allocations: 0 / 409.7 MB, free: 5.516 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000311/0.441, allocations: 34.28 kB / 409.7 MB, free: 5.508 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * 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.0009074/0.4419, allocations: 320.1 kB / 410 MB, free: 5.316 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000217/0.4421, allocations: 125.8 kB / 410.1 MB, free: 5.246 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.943e-06/0.4422, allocations: 0 / 410.1 MB, free: 5.246 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.962e-05/0.4422, allocations: 30.41 kB / 410.2 MB, free: 5.242 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.4425, allocations: 26.94 kB / 410.2 MB, free: 5.23 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004137/0.4429, allocations: 194.1 kB / 410.4 MB, free: 5.082 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001404/0.4431, allocations: 0.7113 MB / 411.1 MB, free: 4.367 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.543e-05/0.4432, allocations: 15.45 kB / 411.1 MB, free: 4.355 MB / 314.7 MB Notification: Performance of SimCode: time 1.321e-06/0.4432, allocations: 0 / 411.1 MB, free: 4.355 MB / 314.7 MB Notification: Performance of Templates: time 0.003866/0.447, allocations: 1.868 MB / 413 MB, free: 3.414 MB / 314.7 MB