Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.969/1.969, allocations: 209.3 MB / 225.4 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000675/0.0006755, allocations: 12 kB / 283.1 MB, free: 9.688 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.37, allocations: 48.71 MB / 331.8 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1368/0.5069, allocations: 76.62 MB / 408.4 MB, free: 1.816 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/0.5072, allocations: 71.97 kB / 408.5 MB, free: 1.746 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01441/0.5216, allocations: 3.222 MB / 411.7 MB, free: 14.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.378e-06/0.5217, allocations: 4 kB / 411.7 MB, free: 14.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.759e-05/0.5217, allocations: 3.938 kB / 411.7 MB, free: 14.51 MB / 346.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.0008043/0.5225, allocations: 490.2 kB / 412.2 MB, free: 13.97 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.5226, allocations: 8.031 kB / 412.2 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.732e-05/0.5227, allocations: 11.91 kB / 412.2 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.523, allocations: 198.8 kB / 412.4 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.523, allocations: 7.938 kB / 412.4 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.5231, allocations: 4 kB / 412.4 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002642/0.5234, allocations: 77.66 kB / 412.5 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.5234, allocations: 0 / 412.5 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.5234, allocations: 4 kB / 412.5 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/0.5234, allocations: 11.92 kB / 412.5 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002144/0.5237, allocations: 39.97 kB / 412.6 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006716/0.5243, allocations: 348.7 kB / 412.9 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003456/0.5247, allocations: 78.61 kB / 413 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.5247, allocations: 3.984 kB / 413 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000223/0.525, allocations: 75.39 kB / 413.1 MB, free: 13 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.064e-06/0.525, allocations: 0 / 413.1 MB, free: 13 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004823/0.5255, allocations: 117.5 kB / 413.2 MB, free: 12.88 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.5255, allocations: 63.34 kB / 413.2 MB, free: 12.81 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.5258, allocations: 170.1 kB / 413.4 MB, free: 12.63 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.5258, allocations: 25.7 kB / 413.4 MB, free: 12.6 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.443e-05/0.5259, allocations: 162.6 kB / 413.6 MB, free: 12.44 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.659e-05/0.526, allocations: 31.62 kB / 413.6 MB, free: 12.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.215e-05/0.526, allocations: 4 kB / 413.6 MB, free: 12.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.5261, allocations: 315 kB / 413.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.5263, allocations: 31.92 kB / 414 MB, free: 12.06 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.5265, allocations: 65.56 kB / 414 MB, free: 11.99 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.5266, allocations: 63.38 kB / 414.1 MB, free: 11.92 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.5267, allocations: 0 / 414.1 MB, free: 11.92 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004149/0.5271, allocations: 159.2 kB / 414.2 MB, free: 11.75 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.674e-05/0.5271, allocations: 33.7 kB / 414.3 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.5272, allocations: 4.031 kB / 414.3 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.5272, allocations: 0 / 414.3 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.5273, allocations: 15.98 kB / 414.3 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.5274, allocations: 12.25 kB / 414.3 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.535e-05/0.5275, allocations: 7.953 kB / 414.3 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.5275, allocations: 8 kB / 414.3 MB, free: 11.67 MB / 346.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 () * Number of clocked 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 0.0001304/0.5276, allocations: 125.8 kB / 414.4 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.5277, allocations: 11.81 kB / 414.5 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003616/0.528, allocations: 110.4 kB / 414.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.5281, allocations: 4 kB / 414.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.5281, allocations: 3.938 kB / 414.6 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.393e-06/0.5281, allocations: 3.984 kB / 414.6 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.5283, allocations: 205.5 kB / 414.8 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.5283, allocations: 0 / 414.8 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.5285, allocations: 12 kB / 414.8 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.5285, allocations: 4 kB / 414.8 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.5285, allocations: 7.984 kB / 414.8 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.5285, allocations: 4 kB / 414.8 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.5286, allocations: 0 / 414.8 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004691/0.529, allocations: 156.9 kB / 415 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.227e-05/0.5291, allocations: 101 kB / 415.1 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.5292, allocations: 0 / 415.1 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.5e-05/0.5293, allocations: 8 kB / 415.1 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.356e-05/0.5293, allocations: 11.92 kB / 415.1 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.5294, allocations: 0 / 415.1 MB, free: 10.81 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001373/0.5295, allocations: 125.9 kB / 415.2 MB, free: 10.69 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5295, allocations: 0 / 415.2 MB, free: 10.69 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003146/0.5298, allocations: 39.92 kB / 415.2 MB, free: 10.65 MB / 346.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) * Number of clocked states: 0 () * 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.0009108/0.5308, allocations: 330.7 kB / 415.6 MB, free: 10.4 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003893/0.5312, allocations: 139.3 kB / 415.7 MB, free: 10.25 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.5312, allocations: 0 / 415.7 MB, free: 10.25 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.5313, allocations: 35.98 kB / 415.7 MB, free: 10.21 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.5317, allocations: 23.94 kB / 415.8 MB, free: 10.19 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006891/0.5324, allocations: 287.4 kB / 416 MB, free: 9.875 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.5327, allocations: 0.7082 MB / 416.7 MB, free: 9.141 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.169e-05/0.5328, allocations: 15.44 kB / 416.8 MB, free: 9.125 MB / 346.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5328, allocations: 3.938 kB / 416.8 MB, free: 9.121 MB / 346.7 MB Notification: Performance of Templates: time 0.005583/0.5384, allocations: 1.874 MB / 418.6 MB, free: 7.25 MB / 346.7 MB