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.Test65.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.Test65,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.Test65") Notification: Performance of loadModel(ModelicaTest): time 2.245/2.245, allocations: 234.9 MB / 250.5 MB, free: 9.539 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004611/0.0004614, allocations: 15.98 kB / 314.3 MB, free: 9.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2924, allocations: 54.87 MB / 369.2 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002236/0.2947, allocations: 1.31 MB / 370.5 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.2962, allocations: 0.7046 MB / 371.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.389e-05/0.2963, allocations: 3.938 kB / 371.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003034/0.2966, allocations: 67.83 kB / 371.3 MB, free: 10.65 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000196/0.2968, allocations: 59.84 kB / 371.3 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001745/0.297, allocations: 51.83 kB / 371.4 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.2972, allocations: 67.84 kB / 371.5 MB, free: 10.47 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.579e-05/0.2973, allocations: 7.859 kB / 371.5 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.2974, allocations: 43.83 kB / 371.5 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.2975, allocations: 43.83 kB / 371.5 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.2976, allocations: 8 kB / 371.6 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.821e-05/0.2976, allocations: 19.98 kB / 371.6 MB, free: 10.35 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.518e-05/0.2977, allocations: 11.98 kB / 371.6 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.44e-05/0.2978, allocations: 41.64 kB / 371.6 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.2979, allocations: 75.89 kB / 371.7 MB, free: 10.22 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.742e-06/0.298, allocations: 0 / 371.7 MB, free: 10.22 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.251e-06/0.298, allocations: 0 / 371.7 MB, free: 10.22 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.506e-06/0.298, allocations: 0 / 371.7 MB, free: 10.22 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.0006207/0.2986, allocations: 466.8 kB / 372.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.2987, allocations: 16.03 kB / 372.2 MB, free: 9.688 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.548e-05/0.2987, allocations: 7.906 kB / 372.2 MB, free: 9.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.299, allocations: 199.6 kB / 372.4 MB, free: 9.445 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.2991, allocations: 4 kB / 372.4 MB, free: 9.441 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.2991, allocations: 4 kB / 372.4 MB, free: 9.438 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.2993, allocations: 53.61 kB / 372.4 MB, free: 9.379 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.2993, allocations: 0 / 372.4 MB, free: 9.379 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.2993, allocations: 0 / 372.4 MB, free: 9.379 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.475e-06/0.2993, allocations: 3.953 kB / 372.4 MB, free: 9.375 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.292e-05/0.2994, allocations: 27.92 kB / 372.5 MB, free: 9.348 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002617/0.2997, allocations: 185.7 kB / 372.6 MB, free: 9.117 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/0.2999, allocations: 50.62 kB / 372.7 MB, free: 9.059 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.3, allocations: 0 / 372.7 MB, free: 9.059 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002137/0.3002, allocations: 67.3 kB / 372.8 MB, free: 8.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 2.469e-06/0.3002, allocations: 4 kB / 372.8 MB, free: 8.977 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003734/0.3006, allocations: 97.52 kB / 372.9 MB, free: 8.875 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.078e-05/0.3007, allocations: 63.34 kB / 372.9 MB, free: 8.801 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/0.3009, allocations: 202.4 kB / 373.1 MB, free: 8.594 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.301, allocations: 25.7 kB / 373.1 MB, free: 8.562 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.3011, allocations: 162.6 kB / 373.3 MB, free: 8.402 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.3012, allocations: 19.78 kB / 373.3 MB, free: 8.383 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.038e-06/0.3012, allocations: 4 kB / 373.3 MB, free: 8.379 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.3013, allocations: 318.8 kB / 373.6 MB, free: 8.059 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.715e-05/0.3015, allocations: 27.92 kB / 373.7 MB, free: 8.031 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.3016, allocations: 37.7 kB / 373.7 MB, free: 7.988 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.3017, allocations: 53.7 kB / 373.8 MB, free: 7.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.363e-06/0.3017, allocations: 3.938 kB / 373.8 MB, free: 7.926 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003146/0.3021, allocations: 127.3 kB / 373.9 MB, free: 7.789 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.005e-05/0.3021, allocations: 37.69 kB / 373.9 MB, free: 7.746 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.554e-06/0.3021, allocations: 8.031 kB / 373.9 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3022, allocations: 0 / 373.9 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.322e-05/0.3023, allocations: 11.98 kB / 373.9 MB, free: 7.727 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.337e-06/0.3023, allocations: 3.984 kB / 373.9 MB, free: 7.723 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.859e-05/0.3024, allocations: 19.8 kB / 374 MB, free: 7.703 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.3024, allocations: 4.312 kB / 374 MB, free: 7.699 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.0001436/0.3026, allocations: 127.1 kB / 374.1 MB, free: 7.566 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.3026, allocations: 19.75 kB / 374.1 MB, free: 7.547 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.646e-05/0.3027, allocations: 17 kB / 374.1 MB, free: 7.535 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.84e-06/0.3027, allocations: 0 / 374.1 MB, free: 7.535 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.3027, allocations: 4 kB / 374.1 MB, free: 7.531 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.089e-06/0.3027, allocations: 0 / 374.1 MB, free: 7.531 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.3029, allocations: 189.6 kB / 374.3 MB, free: 7.297 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.163e-06/0.3029, allocations: 0 / 374.3 MB, free: 7.297 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.535e-05/0.303, allocations: 4 kB / 374.3 MB, free: 7.293 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.004e-06/0.303, allocations: 3.938 kB / 374.3 MB, free: 7.289 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.303, allocations: 4 kB / 374.3 MB, free: 7.285 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.303, allocations: 0 / 374.3 MB, free: 7.285 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.303, allocations: 0 / 374.3 MB, free: 7.285 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.3033, allocations: 117 kB / 374.4 MB, free: 7.152 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.296e-05/0.3034, allocations: 89 kB / 374.5 MB, free: 7.047 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/0.3035, allocations: 4 kB / 374.5 MB, free: 7.043 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.27e-05/0.3035, allocations: 0 / 374.5 MB, free: 7.043 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.965e-05/0.3036, allocations: 11.98 kB / 374.5 MB, free: 7.031 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.3036, allocations: 0 / 374.5 MB, free: 7.031 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001725/0.3038, allocations: 147.2 kB / 374.7 MB, free: 6.887 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.555e-06/0.3038, allocations: 8 kB / 374.7 MB, free: 6.879 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002967/0.3041, allocations: 27.84 kB / 374.7 MB, free: 6.852 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.001343/0.3055, allocations: 401.6 kB / 375.1 MB, free: 6.551 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003099/0.3058, allocations: 131.3 kB / 375.2 MB, free: 6.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.842e-06/0.3058, allocations: 0 / 375.2 MB, free: 6.41 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.811e-05/0.3059, allocations: 23.98 kB / 375.3 MB, free: 6.387 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.3062, allocations: 26.78 kB / 375.3 MB, free: 6.363 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005509/0.3067, allocations: 251.3 kB / 375.5 MB, free: 6.082 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004063/0.3072, allocations: 0.7082 MB / 376.2 MB, free: 5.348 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.986e-05/0.3072, allocations: 19.31 kB / 376.3 MB, free: 5.328 MB / 298.7 MB Notification: Performance of SimCode: time 1.479e-06/0.3072, allocations: 0 / 376.3 MB, free: 5.328 MB / 298.7 MB Notification: Performance of Templates: time 0.00424/0.3115, allocations: 1.682 MB / 377.9 MB, free: 3.648 MB / 298.7 MB