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.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadModel(ModelicaTest): time 2.228/2.228, allocations: 234.9 MB / 250.5 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004402/0.0004404, allocations: 16 kB / 314.3 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2743, allocations: 54.87 MB / 369.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002104/0.2765, allocations: 1.306 MB / 370.5 MB, free: 9.391 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.2779, allocations: 0.7124 MB / 371.2 MB, free: 8.672 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.349e-05/0.278, allocations: 3.938 kB / 371.2 MB, free: 8.668 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002086/0.2782, allocations: 15.92 kB / 371.2 MB, free: 8.652 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001772/0.2784, allocations: 51.86 kB / 371.3 MB, free: 8.602 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.2786, allocations: 43.84 kB / 371.3 MB, free: 8.559 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.2787, allocations: 67.84 kB / 371.4 MB, free: 8.492 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.121e-05/0.2788, allocations: 7.859 kB / 371.4 MB, free: 8.484 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.908e-05/0.2789, allocations: 39.84 kB / 371.4 MB, free: 8.445 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.637e-05/0.279, allocations: 31.84 kB / 371.5 MB, free: 8.414 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.279, allocations: 4 kB / 371.5 MB, free: 8.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.987e-05/0.2791, allocations: 15.98 kB / 371.5 MB, free: 8.395 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.177e-05/0.2792, allocations: 27.92 kB / 371.5 MB, free: 8.367 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.632e-05/0.2793, allocations: 41.64 kB / 371.6 MB, free: 8.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.2794, allocations: 83.86 kB / 371.6 MB, free: 8.238 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.466e-06/0.2795, allocations: 0 / 371.6 MB, free: 8.238 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.178e-06/0.2795, allocations: 4 kB / 371.6 MB, free: 8.234 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.187e-06/0.2795, allocations: 0 / 371.6 MB, free: 8.234 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000599/0.2801, allocations: 470.7 kB / 372.1 MB, free: 7.715 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.2801, allocations: 8.031 kB / 372.1 MB, free: 7.707 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.218e-05/0.2802, allocations: 19.89 kB / 372.1 MB, free: 7.688 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.2805, allocations: 210.8 kB / 372.3 MB, free: 7.441 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.2805, allocations: 0 / 372.3 MB, free: 7.441 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.2806, allocations: 4 kB / 372.3 MB, free: 7.438 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.2807, allocations: 53.61 kB / 372.4 MB, free: 7.379 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.227e-06/0.2808, allocations: 0 / 372.4 MB, free: 7.379 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.762e-06/0.2808, allocations: 0 / 372.4 MB, free: 7.379 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.123e-06/0.2808, allocations: 3.953 kB / 372.4 MB, free: 7.375 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.214e-05/0.2809, allocations: 15.98 kB / 372.4 MB, free: 7.359 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002766/0.2812, allocations: 201.6 kB / 372.6 MB, free: 7.113 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.2814, allocations: 62.53 kB / 372.7 MB, free: 7.043 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.364e-05/0.2814, allocations: 4 kB / 372.7 MB, free: 7.039 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001945/0.2816, allocations: 67.33 kB / 372.7 MB, free: 6.961 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 2.369e-06/0.2817, allocations: 0 / 372.7 MB, free: 6.961 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003376/0.282, allocations: 101.5 kB / 372.8 MB, free: 6.855 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.2821, allocations: 55.36 kB / 372.9 MB, free: 6.789 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003231/0.2824, allocations: 254.5 kB / 373.1 MB, free: 6.527 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.2824, allocations: 29.7 kB / 373.2 MB, free: 6.492 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.2826, allocations: 170.5 kB / 373.3 MB, free: 6.324 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.2826, allocations: 11.81 kB / 373.3 MB, free: 6.312 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-06/0.2826, allocations: 4 kB / 373.4 MB, free: 6.309 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.2828, allocations: 310.8 kB / 373.7 MB, free: 5.996 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.992e-05/0.2829, allocations: 35.86 kB / 373.7 MB, free: 5.961 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.576e-05/0.283, allocations: 37.7 kB / 373.7 MB, free: 5.918 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.2832, allocations: 57.69 kB / 373.8 MB, free: 5.855 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.62e-06/0.2832, allocations: 0 / 373.8 MB, free: 5.855 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003022/0.2835, allocations: 131.3 kB / 373.9 MB, free: 5.715 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.27e-05/0.2835, allocations: 33.7 kB / 373.9 MB, free: 5.676 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.2836, allocations: 0 / 373.9 MB, free: 5.676 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.2836, allocations: 0 / 373.9 MB, free: 5.676 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.57e-05/0.2837, allocations: 20.02 kB / 374 MB, free: 5.656 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.805e-06/0.2837, allocations: 80 / 374 MB, free: 5.656 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.325e-05/0.2838, allocations: 19.8 kB / 374 MB, free: 5.637 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.2838, allocations: 7.984 kB / 374 MB, free: 5.629 MB / 298.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: 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 (8): * Single equations (assignments): 7 * 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.0001455/0.284, allocations: 134.5 kB / 374.1 MB, free: 5.488 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.84e-05/0.284, allocations: 11.81 kB / 374.1 MB, free: 5.477 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.837e-05/0.2841, allocations: 20.98 kB / 374.2 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.681e-06/0.2841, allocations: 0 / 374.2 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.191e-06/0.2841, allocations: 0 / 374.2 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2841, allocations: 4 kB / 374.2 MB, free: 5.457 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.2844, allocations: 205.5 kB / 374.4 MB, free: 5.207 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.07e-06/0.2844, allocations: 4 kB / 374.4 MB, free: 5.203 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.574e-05/0.2844, allocations: 0 / 374.4 MB, free: 5.203 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.2844, allocations: 4 kB / 374.4 MB, free: 5.199 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.2844, allocations: 320 / 374.4 MB, free: 5.199 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.2844, allocations: 0 / 374.4 MB, free: 5.199 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.182e-06/0.2845, allocations: 4 kB / 374.4 MB, free: 5.195 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/0.2847, allocations: 124.9 kB / 374.5 MB, free: 5.055 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.132e-05/0.2848, allocations: 92.94 kB / 374.6 MB, free: 4.945 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.2849, allocations: 4 kB / 374.6 MB, free: 4.941 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.937e-05/0.285, allocations: 4 kB / 374.6 MB, free: 4.938 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.63e-05/0.285, allocations: 3.984 kB / 374.6 MB, free: 4.934 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.285, allocations: 4 kB / 374.6 MB, free: 4.93 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002243/0.2853, allocations: 188.5 kB / 374.8 MB, free: 4.746 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.182e-06/0.2853, allocations: 0 / 374.8 MB, free: 4.746 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002939/0.2856, allocations: 23.94 kB / 374.8 MB, free: 4.723 MB / 298.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: 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 (5): * Single equations (assignments): 3 * 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.001292/0.2869, allocations: 392.4 kB / 375.2 MB, free: 4.426 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003035/0.2872, allocations: 139.3 kB / 375.3 MB, free: 4.277 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.679e-06/0.2872, allocations: 0 / 375.3 MB, free: 4.277 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.171e-05/0.2873, allocations: 19.98 kB / 375.3 MB, free: 4.258 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.2876, allocations: 27.81 kB / 375.4 MB, free: 4.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005841/0.2882, allocations: 299.5 kB / 375.7 MB, free: 3.906 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.2886, allocations: 0.7121 MB / 376.4 MB, free: 3.168 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.935e-05/0.2887, allocations: 23.36 kB / 376.4 MB, free: 3.145 MB / 298.7 MB Notification: Performance of SimCode: time 1.287e-06/0.2887, allocations: 0 / 376.4 MB, free: 3.145 MB / 298.7 MB Notification: Performance of Templates: time 0.004388/0.2931, allocations: 1.78 MB / 378.2 MB, free: 1.367 MB / 298.7 MB