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.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadModel(ModelicaTest): time 2.21/2.21, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004494/0.0004496, allocations: 12 kB / 314.3 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2788, allocations: 54.88 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002268/0.2811, allocations: 1.349 MB / 370.5 MB, free: 9.336 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.2826, allocations: 0.7163 MB / 371.3 MB, free: 8.613 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.936e-05/0.2827, allocations: 3.938 kB / 371.3 MB, free: 8.609 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002269/0.283, allocations: 27.84 kB / 371.3 MB, free: 8.582 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001676/0.2832, allocations: 31.95 kB / 371.3 MB, free: 8.551 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.2834, allocations: 59.81 kB / 371.4 MB, free: 8.492 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.2835, allocations: 63.86 kB / 371.4 MB, free: 8.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.65e-05/0.2836, allocations: 8 kB / 371.5 MB, free: 8.422 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.085e-05/0.2837, allocations: 35.84 kB / 371.5 MB, free: 8.387 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.668e-05/0.2838, allocations: 31.84 kB / 371.5 MB, free: 8.355 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.2839, allocations: 4 kB / 371.5 MB, free: 8.352 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.279e-05/0.284, allocations: 27.98 kB / 371.6 MB, free: 8.324 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.61e-05/0.284, allocations: 19.91 kB / 371.6 MB, free: 8.305 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.663e-05/0.2841, allocations: 45.64 kB / 371.6 MB, free: 8.254 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.2843, allocations: 75.83 kB / 371.7 MB, free: 8.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.493e-06/0.2843, allocations: 0 / 371.7 MB, free: 8.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2843, allocations: 0 / 371.7 MB, free: 8.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.762e-06/0.2844, allocations: 0 / 371.7 MB, free: 8.18 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006039/0.285, allocations: 455 kB / 372.1 MB, free: 7.676 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.285, allocations: 8.031 kB / 372.1 MB, free: 7.668 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.816e-05/0.2851, allocations: 11.81 kB / 372.2 MB, free: 7.656 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.2854, allocations: 202.8 kB / 372.4 MB, free: 7.418 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.2854, allocations: 4 kB / 372.4 MB, free: 7.414 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.2854, allocations: 4 kB / 372.4 MB, free: 7.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.2856, allocations: 57.61 kB / 372.4 MB, free: 7.348 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.2857, allocations: 7.906 kB / 372.4 MB, free: 7.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.2857, allocations: 3.938 kB / 372.4 MB, free: 7.336 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.2857, allocations: 7.953 kB / 372.4 MB, free: 7.328 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.544e-05/0.2858, allocations: 15.98 kB / 372.5 MB, free: 7.312 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004614/0.2863, allocations: 300.8 kB / 372.7 MB, free: 6.969 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.2865, allocations: 62.61 kB / 372.8 MB, free: 6.898 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.2866, allocations: 4 kB / 372.8 MB, free: 6.895 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002141/0.2868, allocations: 71.34 kB / 372.9 MB, free: 6.812 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.939e-06/0.2868, allocations: 0 / 372.9 MB, free: 6.812 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006871/0.2875, allocations: 185.2 kB / 373.1 MB, free: 6.625 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.2876, allocations: 51.41 kB / 373.1 MB, free: 6.562 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.2878, allocations: 186.1 kB / 373.3 MB, free: 6.371 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.2879, allocations: 29.7 kB / 373.3 MB, free: 6.336 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.288, allocations: 162.5 kB / 373.5 MB, free: 6.176 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.288, allocations: 19.72 kB / 373.5 MB, free: 6.156 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-05/0.2881, allocations: 4 kB / 373.5 MB, free: 6.152 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.2883, allocations: 314.8 kB / 373.8 MB, free: 5.836 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.2884, allocations: 35.98 kB / 373.8 MB, free: 5.801 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.2885, allocations: 49.36 kB / 373.9 MB, free: 5.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.2887, allocations: 61.7 kB / 374 MB, free: 5.684 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.2887, allocations: 3.938 kB / 374 MB, free: 5.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003576/0.2891, allocations: 155.3 kB / 374.1 MB, free: 5.516 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.488e-05/0.2891, allocations: 41.66 kB / 374.2 MB, free: 5.469 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.421e-06/0.2891, allocations: 0 / 374.2 MB, free: 5.469 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.2892, allocations: 8.031 kB / 374.2 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.2893, allocations: 19.92 kB / 374.2 MB, free: 5.441 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.601e-06/0.2893, allocations: 0 / 374.2 MB, free: 5.441 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.759e-05/0.2894, allocations: 4 kB / 374.2 MB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.2894, allocations: 4 kB / 374.2 MB, free: 5.434 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 (11): * Single equations (assignments): 10 * 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.0001483/0.2896, allocations: 133.8 kB / 374.3 MB, free: 5.293 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.76e-05/0.2896, allocations: 7.906 kB / 374.3 MB, free: 5.285 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.512e-05/0.2897, allocations: 20.66 kB / 374.3 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.113e-06/0.2897, allocations: 0 / 374.3 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.2897, allocations: 4 kB / 374.3 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.541e-06/0.2898, allocations: 11.92 kB / 374.4 MB, free: 5.25 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006253/0.2904, allocations: 391.2 kB / 374.7 MB, free: 4.809 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.2904, allocations: 0 / 374.7 MB, free: 4.809 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.731e-05/0.2905, allocations: 11.98 kB / 374.8 MB, free: 4.797 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/0.2905, allocations: 4 kB / 374.8 MB, free: 4.793 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.2905, allocations: 384 / 374.8 MB, free: 4.793 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.2905, allocations: 3.938 kB / 374.8 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.427e-06/0.2906, allocations: 8.031 kB / 374.8 MB, free: 4.781 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000312/0.2909, allocations: 200.3 kB / 375 MB, free: 4.566 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.426e-05/0.291, allocations: 96.95 kB / 375.1 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.291, allocations: 96 / 375.1 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.2912, allocations: 11.92 kB / 375.1 MB, free: 4.441 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.2912, allocations: 12 kB / 375.1 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.2912, allocations: 4 kB / 375.1 MB, free: 4.426 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001506/0.2914, allocations: 131.2 kB / 375.2 MB, free: 4.297 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.4e-07/0.2914, allocations: 0 / 375.2 MB, free: 4.297 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003656/0.2918, allocations: 28 kB / 375.2 MB, free: 4.27 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001509/0.2933, allocations: 456.4 kB / 375.7 MB, free: 3.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003478/0.2937, allocations: 151.4 kB / 375.8 MB, free: 3.75 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.179e-06/0.2937, allocations: 0 / 375.8 MB, free: 3.75 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.2938, allocations: 35.92 kB / 375.9 MB, free: 3.715 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.2941, allocations: 15.98 kB / 375.9 MB, free: 3.699 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005644/0.2947, allocations: 259.8 kB / 376.1 MB, free: 3.414 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/0.2951, allocations: 0.7082 MB / 376.8 MB, free: 2.68 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.3e-05/0.2952, allocations: 19.44 kB / 376.9 MB, free: 2.66 MB / 298.7 MB Notification: Performance of SimCode: time 1.516e-06/0.2952, allocations: 3.938 kB / 376.9 MB, free: 2.656 MB / 298.7 MB Notification: Performance of Templates: time 0.004554/0.2998, allocations: 1.869 MB / 378.7 MB, free: 0.7891 MB / 298.7 MB