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.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadModel(ModelicaTest): time 2.15/2.15, allocations: 234.9 MB / 250.5 MB, free: 9.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000445/0.0004451, allocations: 16 kB / 314.3 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2858, allocations: 54.87 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002408/0.2882, allocations: 1.512 MB / 370.7 MB, free: 9.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.2898, allocations: 0.7423 MB / 371.5 MB, free: 8.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.795e-05/0.2899, allocations: 7.938 kB / 371.5 MB, free: 8.422 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002095/0.2901, allocations: 27.89 kB / 371.5 MB, free: 8.395 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001771/0.2903, allocations: 35.83 kB / 371.5 MB, free: 8.359 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.2905, allocations: 63.86 kB / 371.6 MB, free: 8.297 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.2907, allocations: 91.83 kB / 371.7 MB, free: 8.207 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.2908, allocations: 21.44 kB / 371.7 MB, free: 8.184 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.291, allocations: 51.72 kB / 371.7 MB, free: 8.133 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.604e-05/0.2911, allocations: 35.78 kB / 371.8 MB, free: 8.098 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.2911, allocations: 4 kB / 371.8 MB, free: 8.094 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.426e-05/0.2912, allocations: 27.98 kB / 371.8 MB, free: 8.066 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.584e-05/0.2913, allocations: 19.91 kB / 371.8 MB, free: 8.047 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.768e-05/0.2914, allocations: 41.64 kB / 371.9 MB, free: 8 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.2916, allocations: 104.5 kB / 372 MB, free: 7.898 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.563e-06/0.2916, allocations: 0 / 372 MB, free: 7.898 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.2916, allocations: 8 kB / 372 MB, free: 7.891 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.905e-06/0.2916, allocations: 0 / 372 MB, free: 7.891 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.0006654/0.2923, allocations: 0.492 MB / 372.5 MB, free: 7.332 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.2924, allocations: 8.031 kB / 372.5 MB, free: 7.324 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.683e-05/0.2924, allocations: 15.81 kB / 372.5 MB, free: 7.309 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.2927, allocations: 211.5 kB / 372.7 MB, free: 7.062 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.2928, allocations: 4 kB / 372.7 MB, free: 7.059 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.533e-05/0.2928, allocations: 19.98 kB / 372.7 MB, free: 7.039 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002499/0.2931, allocations: 73.66 kB / 372.8 MB, free: 6.961 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.2931, allocations: 0 / 372.8 MB, free: 6.961 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.853e-05/0.2931, allocations: 8 kB / 372.8 MB, free: 6.953 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.181e-06/0.2931, allocations: 3.953 kB / 372.8 MB, free: 6.949 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/0.2933, allocations: 43.97 kB / 372.9 MB, free: 6.906 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006305/0.294, allocations: 360.6 kB / 373.2 MB, free: 6.504 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004009/0.2944, allocations: 98.55 kB / 373.3 MB, free: 6.398 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.2945, allocations: 4 kB / 373.3 MB, free: 6.395 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002654/0.2947, allocations: 87.31 kB / 373.4 MB, free: 6.297 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 2.561e-06/0.2948, allocations: 0 / 373.4 MB, free: 6.297 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.000512/0.2953, allocations: 145.5 kB / 373.5 MB, free: 6.148 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.2953, allocations: 59.39 kB / 373.6 MB, free: 6.078 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.2956, allocations: 171.3 kB / 373.8 MB, free: 5.902 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.2956, allocations: 25.7 kB / 373.8 MB, free: 5.871 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.2957, allocations: 174.5 kB / 374 MB, free: 5.699 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.034e-05/0.2958, allocations: 27.56 kB / 374 MB, free: 5.672 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.787e-06/0.2958, allocations: 0 / 374 MB, free: 5.672 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.296, allocations: 322.8 kB / 374.3 MB, free: 5.348 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.2961, allocations: 35.98 kB / 374.3 MB, free: 5.312 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.2963, allocations: 66.48 kB / 374.4 MB, free: 5.238 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.2965, allocations: 73.69 kB / 374.5 MB, free: 5.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.79e-06/0.2965, allocations: 0 / 374.5 MB, free: 5.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004538/0.297, allocations: 187.4 kB / 374.7 MB, free: 4.965 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.241e-05/0.2971, allocations: 41.69 kB / 374.7 MB, free: 4.918 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.045e-06/0.2971, allocations: 0 / 374.7 MB, free: 4.918 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.2971, allocations: 0 / 374.7 MB, free: 4.918 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.2972, allocations: 23.98 kB / 374.7 MB, free: 4.895 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.852e-06/0.2973, allocations: 0 / 374.7 MB, free: 4.895 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.985e-05/0.2974, allocations: 15.84 kB / 374.7 MB, free: 4.879 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.2974, allocations: 8.062 kB / 374.7 MB, free: 4.871 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.0001416/0.2976, allocations: 133 kB / 374.9 MB, free: 4.734 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.2976, allocations: 15.86 kB / 374.9 MB, free: 4.719 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.075e-05/0.2977, allocations: 13.41 kB / 374.9 MB, free: 4.707 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2977, allocations: 480 / 374.9 MB, free: 4.707 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.841e-06/0.2977, allocations: 0 / 374.9 MB, free: 4.707 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.09e-06/0.2977, allocations: 3.984 kB / 374.9 MB, free: 4.703 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002471/0.298, allocations: 209.5 kB / 375.1 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.21e-06/0.298, allocations: 0 / 375.1 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.2981, allocations: 23.92 kB / 375.1 MB, free: 4.426 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.602e-06/0.2981, allocations: 4 kB / 375.1 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.2982, allocations: 3.953 kB / 375.1 MB, free: 4.418 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.818e-06/0.2982, allocations: 0 / 375.1 MB, free: 4.418 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.62e-06/0.2982, allocations: 0 / 375.1 MB, free: 4.418 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000526/0.2987, allocations: 192.8 kB / 375.3 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.2988, allocations: 96.88 kB / 375.4 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.2989, allocations: 7.984 kB / 375.4 MB, free: 4.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.153e-05/0.299, allocations: 11.95 kB / 375.4 MB, free: 4.078 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.299, allocations: 7.984 kB / 375.4 MB, free: 4.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.2991, allocations: 0 / 375.4 MB, free: 4.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00014/0.2992, allocations: 128.9 kB / 375.6 MB, free: 3.945 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.142e-06/0.2992, allocations: 0 / 375.6 MB, free: 3.945 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003166/0.2996, allocations: 39.98 kB / 375.6 MB, free: 3.906 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.00132/0.3009, allocations: 387.1 kB / 376 MB, free: 3.609 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004213/0.3013, allocations: 167.3 kB / 376.2 MB, free: 3.434 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.829e-06/0.3014, allocations: 4 kB / 376.2 MB, free: 3.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.3015, allocations: 40.05 kB / 376.2 MB, free: 3.391 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.3018, allocations: 27.97 kB / 376.2 MB, free: 3.363 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006457/0.3025, allocations: 304 kB / 376.5 MB, free: 3.035 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/0.3029, allocations: 0.7199 MB / 377.2 MB, free: 2.289 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.509e-05/0.303, allocations: 19.44 kB / 377.3 MB, free: 2.27 MB / 298.7 MB Notification: Performance of SimCode: time 1.28e-06/0.303, allocations: 0 / 377.3 MB, free: 2.27 MB / 298.7 MB Notification: Performance of Templates: time 0.00488/0.3079, allocations: 2.018 MB / 379.3 MB, free: 260 kB / 298.7 MB