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.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadModel(ModelicaTest): time 1.829/1.829, allocations: 209.3 MB / 224.8 MB, free: 1.359 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004328/0.000433, allocations: 19.98 kB / 282.5 MB, free: 9.785 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08515/0.08561, allocations: 48.71 MB / 331.2 MB, free: 8.984 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002467/0.08812, allocations: 1.449 MB / 332.6 MB, free: 7.527 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.08915, allocations: 439.4 kB / 333.1 MB, free: 7.094 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.282e-05/0.08924, allocations: 0 / 333.1 MB, free: 7.094 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002132/0.08947, allocations: 19.92 kB / 333.1 MB, free: 7.074 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001618/0.08965, allocations: 35.83 kB / 333.1 MB, free: 7.039 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.0899, allocations: 75.78 kB / 333.2 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000175/0.09009, allocations: 75.84 kB / 333.3 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.09022, allocations: 25.36 kB / 333.3 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.784e-05/0.09031, allocations: 35.86 kB / 333.3 MB, free: 6.828 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.575e-05/0.09041, allocations: 43.7 kB / 333.4 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.09045, allocations: 4 kB / 333.4 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.09057, allocations: 32 kB / 333.4 MB, free: 6.75 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.973e-05/0.09062, allocations: 11.92 kB / 333.4 MB, free: 6.738 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.832e-05/0.09069, allocations: 41.69 kB / 333.5 MB, free: 6.691 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.0909, allocations: 103.9 kB / 333.6 MB, free: 6.59 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.402e-06/0.09092, allocations: 0 / 333.6 MB, free: 6.59 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.839e-06/0.09093, allocations: 0 / 333.6 MB, free: 6.59 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.367e-06/0.09094, allocations: 0 / 333.6 MB, free: 6.59 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006475/0.0916, allocations: 458.4 kB / 334 MB, free: 6.082 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.09165, allocations: 12.03 kB / 334 MB, free: 6.07 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.104e-05/0.09171, allocations: 15.91 kB / 334 MB, free: 6.055 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.092, allocations: 202.7 kB / 334.2 MB, free: 5.816 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.09203, allocations: 4 kB / 334.2 MB, free: 5.812 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/0.09207, allocations: 8 kB / 334.3 MB, free: 5.805 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.09231, allocations: 77.48 kB / 334.3 MB, free: 5.723 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.838e-06/0.09234, allocations: 4 kB / 334.3 MB, free: 5.719 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.09236, allocations: 0 / 334.3 MB, free: 5.719 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.998e-06/0.09237, allocations: 0 / 334.3 MB, free: 5.719 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.09254, allocations: 43.97 kB / 334.4 MB, free: 5.676 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005931/0.09315, allocations: 344.6 kB / 334.7 MB, free: 5.289 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002834/0.09346, allocations: 66.67 kB / 334.8 MB, free: 5.215 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.0935, allocations: 4 kB / 334.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002308/0.09374, allocations: 79.38 kB / 334.9 MB, free: 5.121 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 2.567e-06/0.09376, allocations: 0 / 334.9 MB, free: 5.121 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003869/0.09416, allocations: 117.5 kB / 335 MB, free: 5 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.09423, allocations: 55.41 kB / 335 MB, free: 4.934 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.09444, allocations: 166.1 kB / 335.2 MB, free: 4.762 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.09449, allocations: 25.7 kB / 335.2 MB, free: 4.73 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.0946, allocations: 162.6 kB / 335.4 MB, free: 4.57 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.337e-05/0.09466, allocations: 31.62 kB / 335.4 MB, free: 4.539 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.728e-06/0.09468, allocations: 0 / 335.4 MB, free: 4.539 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.09485, allocations: 318.8 kB / 335.7 MB, free: 4.219 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.09496, allocations: 27.98 kB / 335.7 MB, free: 4.191 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.0951, allocations: 49.73 kB / 335.8 MB, free: 4.137 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.09525, allocations: 61.64 kB / 335.9 MB, free: 4.07 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.721e-06/0.09527, allocations: 4 kB / 335.9 MB, free: 4.066 MB / 282.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003521/0.09563, allocations: 143.3 kB / 336 MB, free: 3.914 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.892e-05/0.09569, allocations: 29.7 kB / 336 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.085e-06/0.0957, allocations: 192 / 336 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.09573, allocations: 4 kB / 336 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.09584, allocations: 23.86 kB / 336.1 MB, free: 3.852 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.362e-06/0.09586, allocations: 0 / 336.1 MB, free: 3.852 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.336e-05/0.09595, allocations: 23.92 kB / 336.1 MB, free: 3.828 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.09598, allocations: 4 kB / 336.1 MB, free: 3.824 MB / 282.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.0001343/0.09613, allocations: 122.1 kB / 336.2 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/0.09617, allocations: 11.81 kB / 336.2 MB, free: 3.684 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.803e-05/0.09623, allocations: 16.72 kB / 336.2 MB, free: 3.668 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.964e-06/0.09624, allocations: 0 / 336.2 MB, free: 3.668 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.54e-06/0.09626, allocations: 0 / 336.2 MB, free: 3.668 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.09627, allocations: 3.984 kB / 336.2 MB, free: 3.664 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.0965, allocations: 189.6 kB / 336.4 MB, free: 3.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.749e-06/0.09652, allocations: 7.984 kB / 336.4 MB, free: 3.422 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.939e-05/0.09663, allocations: 19.88 kB / 336.4 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.614e-06/0.09665, allocations: 4 kB / 336.4 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.09667, allocations: 0 / 336.4 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.292e-06/0.09669, allocations: 0 / 336.4 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.09669, allocations: 0 / 336.4 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004074/0.09711, allocations: 164.9 kB / 336.6 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.034e-05/0.0972, allocations: 85.05 kB / 336.7 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.09724, allocations: 0 / 336.7 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.58e-05/0.09732, allocations: 7.984 kB / 336.7 MB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.09738, allocations: 8 kB / 336.7 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.851e-05/0.09741, allocations: 4 kB / 336.7 MB, free: 3.098 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001305/0.09755, allocations: 122.3 kB / 336.8 MB, free: 2.98 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.09756, allocations: 0 / 336.8 MB, free: 2.98 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003057/0.09788, allocations: 35.95 kB / 336.9 MB, free: 2.945 MB / 282.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 (7): * Single equations (assignments): 6 * 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.001/0.09889, allocations: 340.2 kB / 337.2 MB, free: 2.688 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003096/0.09922, allocations: 123.4 kB / 337.3 MB, free: 2.555 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.43e-06/0.09924, allocations: 0 / 337.3 MB, free: 2.555 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.09937, allocations: 35.98 kB / 337.4 MB, free: 2.52 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.09963, allocations: 31.86 kB / 337.4 MB, free: 2.488 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005865/0.1002, allocations: 283.1 kB / 337.7 MB, free: 2.18 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.1006, allocations: 0.7043 MB / 338.4 MB, free: 1.449 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.088e-05/0.1007, allocations: 19.42 kB / 338.4 MB, free: 1.43 MB / 282.7 MB Notification: Performance of SimCode: time 1.328e-06/0.1007, allocations: 0 / 338.4 MB, free: 1.43 MB / 282.7 MB Notification: Performance of Templates: time 0.2065/0.3072, allocations: 1.825 MB / 340.2 MB, free: 15.06 MB / 282.7 MB