Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadModel(ModelicaTest): time 2.154/2.154, allocations: 234.9 MB / 250.5 MB, free: 9.684 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004898/0.00049, allocations: 12 kB / 314.3 MB, free: 9.727 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2902, allocations: 54.86 MB / 369.2 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002575/0.2928, allocations: 1.504 MB / 370.7 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001668/0.2945, allocations: 0.7539 MB / 371.4 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.145e-05/0.2946, allocations: 3.938 kB / 371.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002253/0.2948, allocations: 19.91 kB / 371.5 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001862/0.295, allocations: 47.81 kB / 371.5 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002182/0.2953, allocations: 59.81 kB / 371.6 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001999/0.2955, allocations: 91.81 kB / 371.7 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.2956, allocations: 21.45 kB / 371.7 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.2957, allocations: 51.77 kB / 371.7 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.201e-05/0.2958, allocations: 35.78 kB / 371.8 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.2959, allocations: 4 kB / 371.8 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.415e-05/0.296, allocations: 27.98 kB / 371.8 MB, free: 10.13 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.883e-05/0.296, allocations: 19.92 kB / 371.8 MB, free: 10.11 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.426e-05/0.2961, allocations: 37.64 kB / 371.9 MB, free: 10.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.2963, allocations: 112.5 kB / 372 MB, free: 9.957 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.2963, allocations: 0 / 372 MB, free: 9.957 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.889e-06/0.2964, allocations: 4 kB / 372 MB, free: 9.953 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.2964, allocations: 0 / 372 MB, free: 9.953 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006934/0.2971, allocations: 0.4927 MB / 372.5 MB, free: 9.395 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.2971, allocations: 8.031 kB / 372.5 MB, free: 9.387 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.806e-05/0.2972, allocations: 19.81 kB / 372.5 MB, free: 9.367 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.2975, allocations: 215.5 kB / 372.7 MB, free: 9.117 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.2976, allocations: 4 kB / 372.7 MB, free: 9.113 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.898e-05/0.2976, allocations: 12 kB / 372.7 MB, free: 9.102 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/0.2979, allocations: 81.64 kB / 372.8 MB, free: 9.016 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.2979, allocations: 0 / 372.8 MB, free: 9.016 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.2979, allocations: 4 kB / 372.8 MB, free: 9.012 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.863e-06/0.2979, allocations: 3.953 kB / 372.8 MB, free: 9.008 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002048/0.2982, allocations: 43.97 kB / 372.9 MB, free: 8.965 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006429/0.2988, allocations: 352.6 kB / 373.2 MB, free: 8.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004002/0.2992, allocations: 102.5 kB / 373.3 MB, free: 8.461 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.2993, allocations: 3.984 kB / 373.3 MB, free: 8.457 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002621/0.2996, allocations: 87.25 kB / 373.4 MB, free: 8.359 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 2.736e-06/0.2996, allocations: 0 / 373.4 MB, free: 8.359 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005224/0.3001, allocations: 149.5 kB / 373.5 MB, free: 8.207 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.3002, allocations: 59.41 kB / 373.6 MB, free: 8.137 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.3004, allocations: 171.2 kB / 373.8 MB, free: 7.961 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.3005, allocations: 29.7 kB / 373.8 MB, free: 7.926 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.3006, allocations: 162.5 kB / 373.9 MB, free: 7.766 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.449e-05/0.3006, allocations: 31.61 kB / 374 MB, free: 7.734 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.103e-05/0.3007, allocations: 4 kB / 374 MB, free: 7.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.3008, allocations: 318.8 kB / 374.3 MB, free: 7.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.301, allocations: 39.98 kB / 374.3 MB, free: 7.371 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.3012, allocations: 58.55 kB / 374.4 MB, free: 7.305 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/0.3014, allocations: 73.62 kB / 374.5 MB, free: 7.227 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.191e-06/0.3014, allocations: 0 / 374.5 MB, free: 7.227 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004698/0.3019, allocations: 187.3 kB / 374.6 MB, free: 7.031 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.931e-05/0.3019, allocations: 38.78 kB / 374.7 MB, free: 6.988 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.094e-06/0.302, allocations: 0 / 374.7 MB, free: 6.988 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.302, allocations: 4 kB / 374.7 MB, free: 6.984 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.3021, allocations: 23.98 kB / 374.7 MB, free: 6.961 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.016e-06/0.3021, allocations: 0 / 374.7 MB, free: 6.961 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.3023, allocations: 19.91 kB / 374.7 MB, free: 6.941 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.3023, allocations: 4 kB / 374.7 MB, free: 6.938 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * 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.0001489/0.3025, allocations: 139 kB / 374.9 MB, free: 6.793 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.272e-05/0.3025, allocations: 11.86 kB / 374.9 MB, free: 6.781 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.751e-05/0.3026, allocations: 13.41 kB / 374.9 MB, free: 6.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.448e-06/0.3026, allocations: 480 / 374.9 MB, free: 6.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3026, allocations: 0 / 374.9 MB, free: 6.77 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.958e-06/0.3026, allocations: 4 kB / 374.9 MB, free: 6.766 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.3029, allocations: 209.5 kB / 375.1 MB, free: 6.512 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.131e-06/0.3029, allocations: 4 kB / 375.1 MB, free: 6.508 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.303, allocations: 19.92 kB / 375.1 MB, free: 6.488 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.613e-06/0.303, allocations: 0 / 375.1 MB, free: 6.488 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.303, allocations: 3.953 kB / 375.1 MB, free: 6.484 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.68e-06/0.3031, allocations: 4 kB / 375.1 MB, free: 6.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.92e-06/0.3031, allocations: 0 / 375.1 MB, free: 6.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008045/0.3039, allocations: 184.8 kB / 375.3 MB, free: 6.281 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001995/0.3041, allocations: 100.9 kB / 375.4 MB, free: 6.164 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.085e-05/0.3042, allocations: 8 kB / 375.4 MB, free: 6.156 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.3044, allocations: 15.94 kB / 375.4 MB, free: 6.141 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.93e-05/0.3045, allocations: 11.92 kB / 375.4 MB, free: 6.129 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.931e-05/0.3046, allocations: 4 kB / 375.4 MB, free: 6.125 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002937/0.3049, allocations: 128.9 kB / 375.6 MB, free: 6 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.364e-06/0.305, allocations: 4.062 kB / 375.6 MB, free: 5.996 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007877/0.3058, allocations: 27.98 kB / 375.6 MB, free: 5.969 MB / 298.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002553/0.3083, allocations: 393.9 kB / 376 MB, free: 5.672 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008445/0.3092, allocations: 163.3 kB / 376.1 MB, free: 5.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.3093, allocations: 0 / 376.1 MB, free: 5.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003007/0.3096, allocations: 44.05 kB / 376.2 MB, free: 5.457 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000569/0.3102, allocations: 40.02 kB / 376.2 MB, free: 5.418 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.3114, allocations: 303.8 kB / 376.5 MB, free: 5.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006962/0.3121, allocations: 0.716 MB / 377.2 MB, free: 4.348 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.3123, allocations: 19.42 kB / 377.3 MB, free: 4.328 MB / 298.7 MB Notification: Performance of SimCode: time 2.322e-06/0.3123, allocations: 0 / 377.3 MB, free: 4.328 MB / 298.7 MB Notification: Performance of Templates: time 0.009686/0.322, allocations: 2.008 MB / 379.3 MB, free: 2.32 MB / 298.7 MB