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.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadModel(ModelicaTest): time 1.832/1.832, allocations: 209.3 MB / 224.8 MB, free: 204 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004381/0.0004382, allocations: 12 kB / 282.5 MB, free: 9.645 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2786, allocations: 48.71 MB / 331.2 MB, free: 6.484 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.001783/0.2804, allocations: 1.255 MB / 332.5 MB, free: 5.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000797/0.2812, allocations: 404.7 kB / 332.9 MB, free: 5.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.42e-05/0.2813, allocations: 3.469 kB / 332.9 MB, free: 5.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.2815, allocations: 28.91 kB / 332.9 MB, free: 5.555 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001647/0.2817, allocations: 29.55 kB / 332.9 MB, free: 5.547 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001755/0.2819, allocations: 66.75 kB / 333 MB, free: 5.508 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.282, allocations: 48.86 kB / 333 MB, free: 5.484 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.987e-05/0.2821, allocations: 3.656 kB / 333 MB, free: 5.484 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.995e-05/0.2822, allocations: 25.89 kB / 333.1 MB, free: 5.477 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.044e-05/0.2822, allocations: 28 kB / 333.1 MB, free: 5.465 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.2823, allocations: 2.906 kB / 333.1 MB, free: 5.465 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.807e-05/0.2824, allocations: 18.95 kB / 333.1 MB, free: 5.461 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.466e-05/0.2824, allocations: 24.23 kB / 333.1 MB, free: 5.453 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.662e-05/0.2825, allocations: 35.42 kB / 333.2 MB, free: 5.418 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.2826, allocations: 84.33 kB / 333.2 MB, free: 5.391 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.562e-06/0.2827, allocations: 0 / 333.2 MB, free: 5.391 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.441e-06/0.2827, allocations: 0 / 333.2 MB, free: 5.391 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.045e-06/0.2827, allocations: 3.938 kB / 333.2 MB, free: 5.387 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004026/0.2831, allocations: 428 kB / 333.7 MB, free: 4.953 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.2831, allocations: 9.812 kB / 333.7 MB, free: 4.953 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.2832, allocations: 9.438 kB / 333.7 MB, free: 4.949 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.2834, allocations: 192.7 kB / 333.9 MB, free: 4.742 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.2834, allocations: 5.391 kB / 333.9 MB, free: 4.738 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.2834, allocations: 5.312 kB / 333.9 MB, free: 4.734 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.871e-05/0.2835, allocations: 39.45 kB / 333.9 MB, free: 4.699 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.932e-06/0.2836, allocations: 0 / 333.9 MB, free: 4.699 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.2836, allocations: 2.375 kB / 333.9 MB, free: 4.699 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.2836, allocations: 3.938 kB / 333.9 MB, free: 4.695 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.921e-05/0.2837, allocations: 10.02 kB / 333.9 MB, free: 4.691 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001671/0.2838, allocations: 187.5 kB / 334.1 MB, free: 4.488 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.673e-05/0.2839, allocations: 31.17 kB / 334.2 MB, free: 4.457 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.284, allocations: 0 / 334.2 MB, free: 4.457 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001391/0.2841, allocations: 55.66 kB / 334.2 MB, free: 4.406 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 2.225e-06/0.2841, allocations: 0 / 334.2 MB, free: 4.406 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002115/0.2844, allocations: 73.66 kB / 334.3 MB, free: 4.355 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/0.2844, allocations: 52.81 kB / 334.3 MB, free: 4.293 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/0.2847, allocations: 243.6 kB / 334.6 MB, free: 4.148 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.2847, allocations: 32.42 kB / 334.6 MB, free: 4.113 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.322e-05/0.2848, allocations: 171.8 kB / 334.8 MB, free: 3.945 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.2848, allocations: 11.48 kB / 334.8 MB, free: 3.938 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.472e-06/0.2849, allocations: 5.469 kB / 334.8 MB, free: 3.934 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.835e-05/0.2849, allocations: 311.5 kB / 335.1 MB, free: 3.621 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.911e-05/0.285, allocations: 13.19 kB / 335.1 MB, free: 3.617 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.255e-05/0.285, allocations: 14.5 kB / 335.1 MB, free: 3.613 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.984e-05/0.2851, allocations: 43.44 kB / 335.2 MB, free: 3.574 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.178e-06/0.2851, allocations: 0.6562 kB / 335.2 MB, free: 3.574 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001699/0.2853, allocations: 105.5 kB / 335.3 MB, free: 3.488 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/0.2853, allocations: 34.89 kB / 335.3 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.647e-06/0.2854, allocations: 0.75 kB / 335.3 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.2854, allocations: 1.219 kB / 335.3 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.881e-05/0.2854, allocations: 8.25 kB / 335.3 MB, free: 3.453 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.065e-06/0.2855, allocations: 1 kB / 335.3 MB, free: 3.453 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.143e-05/0.2855, allocations: 8.312 kB / 335.3 MB, free: 3.449 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.2856, allocations: 2.688 kB / 335.3 MB, free: 3.449 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 4 * 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 9.739e-05/0.2857, allocations: 127.4 kB / 335.4 MB, free: 3.332 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.2857, allocations: 21.73 kB / 335.5 MB, free: 3.316 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.785e-05/0.2858, allocations: 17.81 kB / 335.5 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.807e-06/0.2858, allocations: 0 / 335.5 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2858, allocations: 0.6562 kB / 335.5 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.776e-06/0.2858, allocations: 0.9062 kB / 335.5 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.2859, allocations: 183 kB / 335.7 MB, free: 3.105 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.286, allocations: 4.781 kB / 335.7 MB, free: 3.102 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.361e-05/0.286, allocations: 2.281 kB / 335.7 MB, free: 3.102 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.286, allocations: 1.906 kB / 335.7 MB, free: 3.102 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.286, allocations: 5.297 kB / 335.7 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.982e-06/0.286, allocations: 4.594 kB / 335.7 MB, free: 3.094 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.695e-06/0.2861, allocations: 4 kB / 335.7 MB, free: 3.09 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.2862, allocations: 91.44 kB / 335.8 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.471e-05/0.2863, allocations: 84.31 kB / 335.9 MB, free: 2.91 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.2863, allocations: 1.625 kB / 335.9 MB, free: 2.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.691e-05/0.2863, allocations: 7.234 kB / 335.9 MB, free: 2.906 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.2864, allocations: 2.688 kB / 335.9 MB, free: 2.906 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.2864, allocations: 6.219 kB / 335.9 MB, free: 2.902 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001867/0.2866, allocations: 194 kB / 336.1 MB, free: 2.793 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.39e-07/0.2866, allocations: 0 / 336.1 MB, free: 2.793 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002888/0.2869, allocations: 21.14 kB / 336.1 MB, free: 2.789 MB / 266.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: 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 (3): * Single equations (assignments): 2 * 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.0009456/0.2879, allocations: 326.8 kB / 336.4 MB, free: 2.586 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001627/0.2881, allocations: 93.58 kB / 336.5 MB, free: 2.508 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.763e-06/0.2881, allocations: 1.469 kB / 336.5 MB, free: 2.508 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.334e-05/0.2881, allocations: 7.172 kB / 336.5 MB, free: 2.508 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.2884, allocations: 18.64 kB / 336.5 MB, free: 2.5 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004494/0.2888, allocations: 267.7 kB / 336.8 MB, free: 2.312 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001622/0.289, allocations: 0.7154 MB / 337.5 MB, free: 1.609 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.194e-05/0.2891, allocations: 12.83 kB / 337.5 MB, free: 1.602 MB / 266.7 MB Notification: Performance of SimCode: time 1.369e-06/0.2891, allocations: 0 / 337.5 MB, free: 1.602 MB / 266.7 MB Notification: Performance of Templates: time 0.003858/0.2929, allocations: 1.595 MB / 339.1 MB, free: 1.09 MB / 266.7 MB