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.Test35.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.Test35,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.Test35") Notification: Performance of loadModel(ModelicaTest): time 2.183/2.183, allocations: 234.9 MB / 250.5 MB, free: 9.598 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004399/0.0004401, allocations: 12 kB / 314.3 MB, free: 9.648 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3083, allocations: 54.87 MB / 369.2 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003507/0.3119, allocations: 1.349 MB / 370.5 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002616/0.3146, allocations: 0.7164 MB / 371.3 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.3147, allocations: 3.938 kB / 371.3 MB, free: 10.65 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00042/0.3152, allocations: 83.77 kB / 371.3 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003265/0.3155, allocations: 47.92 kB / 371.4 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003267/0.3159, allocations: 59.81 kB / 371.5 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002544/0.3161, allocations: 75.84 kB / 371.5 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.3163, allocations: 7.984 kB / 371.5 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001679/0.3165, allocations: 47.83 kB / 371.6 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.3167, allocations: 51.81 kB / 371.6 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.3167, allocations: 8 kB / 371.6 MB, free: 10.28 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.3169, allocations: 23.98 kB / 371.7 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.297e-05/0.317, allocations: 23.92 kB / 371.7 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.677e-05/0.3171, allocations: 37.64 kB / 371.7 MB, free: 10.19 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002881/0.3174, allocations: 95.8 kB / 371.8 MB, free: 10.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3175, allocations: 0 / 371.8 MB, free: 10.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.017e-06/0.3175, allocations: 0 / 371.8 MB, free: 10.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.225e-06/0.3175, allocations: 0 / 371.8 MB, free: 10.09 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.0008829/0.3184, allocations: 462.9 kB / 372.3 MB, free: 9.582 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.3185, allocations: 12.03 kB / 372.3 MB, free: 9.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.344e-05/0.3186, allocations: 15.81 kB / 372.3 MB, free: 9.555 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000393/0.319, allocations: 206.7 kB / 372.5 MB, free: 9.312 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.606e-05/0.3191, allocations: 4 kB / 372.5 MB, free: 9.309 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.41e-05/0.3191, allocations: 8 kB / 372.5 MB, free: 9.301 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002673/0.3194, allocations: 49.67 kB / 372.6 MB, free: 9.246 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.3195, allocations: 0 / 372.6 MB, free: 9.246 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.3195, allocations: 7.938 kB / 372.6 MB, free: 9.238 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.3195, allocations: 3.953 kB / 372.6 MB, free: 9.234 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/0.3197, allocations: 19.98 kB / 372.6 MB, free: 9.215 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006806/0.3204, allocations: 296.9 kB / 372.9 MB, free: 8.875 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003785/0.3208, allocations: 62.61 kB / 372.9 MB, free: 8.805 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.3209, allocations: 0 / 372.9 MB, free: 8.805 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003415/0.3213, allocations: 79.34 kB / 373 MB, free: 8.715 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 4.776e-06/0.3213, allocations: 0 / 373 MB, free: 8.715 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.001173/0.3225, allocations: 181 kB / 373.2 MB, free: 8.531 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.935e-05/0.3226, allocations: 55.41 kB / 373.2 MB, free: 8.465 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000472/0.3231, allocations: 214.3 kB / 373.5 MB, free: 8.246 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.559e-05/0.3232, allocations: 33.7 kB / 373.5 MB, free: 8.207 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.3233, allocations: 166.4 kB / 373.7 MB, free: 8.043 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.534e-05/0.3234, allocations: 27.64 kB / 373.7 MB, free: 8.016 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.141e-05/0.3235, allocations: 12 kB / 373.7 MB, free: 8.004 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.3237, allocations: 310.8 kB / 374 MB, free: 7.691 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/0.3239, allocations: 35.92 kB / 374 MB, free: 7.656 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.3241, allocations: 50.95 kB / 374.1 MB, free: 7.602 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002286/0.3244, allocations: 57.7 kB / 374.1 MB, free: 7.539 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.789e-06/0.3244, allocations: 4 kB / 374.1 MB, free: 7.535 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006419/0.3251, allocations: 159.2 kB / 374.3 MB, free: 7.367 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.715e-05/0.3252, allocations: 41.64 kB / 374.3 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.07e-06/0.3252, allocations: 0 / 374.3 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.3253, allocations: 384 / 374.3 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.3255, allocations: 16 kB / 374.4 MB, free: 7.305 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/0.3255, allocations: 4 kB / 374.4 MB, free: 7.301 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.3257, allocations: 11.98 kB / 374.4 MB, free: 7.289 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.998e-05/0.3257, allocations: 4 kB / 374.4 MB, free: 7.285 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.0002294/0.326, allocations: 133.8 kB / 374.5 MB, free: 7.145 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.716e-05/0.3261, allocations: 11.91 kB / 374.5 MB, free: 7.133 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.385e-05/0.3262, allocations: 21.36 kB / 374.5 MB, free: 7.117 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.842e-06/0.3262, allocations: 0 / 374.5 MB, free: 7.117 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.3262, allocations: 0 / 374.5 MB, free: 7.117 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3262, allocations: 3.938 kB / 374.5 MB, free: 7.113 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.3273, allocations: 407.2 kB / 374.9 MB, free: 6.656 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.337e-06/0.3273, allocations: 96 / 374.9 MB, free: 6.656 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.827e-05/0.3274, allocations: 15.92 kB / 375 MB, free: 6.641 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.116e-06/0.3275, allocations: 4.031 kB / 375 MB, free: 6.637 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/0.3275, allocations: 8 kB / 375 MB, free: 6.629 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.246e-06/0.3275, allocations: 0 / 375 MB, free: 6.629 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.622e-06/0.3276, allocations: 0 / 375 MB, free: 6.629 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005381/0.3281, allocations: 200.4 kB / 375.2 MB, free: 6.414 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.3283, allocations: 104.8 kB / 375.3 MB, free: 6.293 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.202e-05/0.3284, allocations: 4 kB / 375.3 MB, free: 6.289 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.3286, allocations: 11.98 kB / 375.3 MB, free: 6.277 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/0.3287, allocations: 4 kB / 375.3 MB, free: 6.273 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.275e-05/0.3287, allocations: 7.984 kB / 375.3 MB, free: 6.266 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003141/0.3291, allocations: 163.2 kB / 375.4 MB, free: 6.105 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.299e-06/0.3291, allocations: 0 / 375.4 MB, free: 6.105 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006852/0.3298, allocations: 28 kB / 375.5 MB, free: 6.078 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.002424/0.3322, allocations: 454.3 kB / 375.9 MB, free: 5.727 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005742/0.3328, allocations: 147.3 kB / 376.1 MB, free: 5.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.957e-06/0.3329, allocations: 4 kB / 376.1 MB, free: 5.566 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001842/0.3331, allocations: 27.98 kB / 376.1 MB, free: 5.539 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005188/0.3336, allocations: 15.98 kB / 376.1 MB, free: 5.523 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009715/0.3346, allocations: 296.6 kB / 376.4 MB, free: 5.203 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005617/0.3352, allocations: 0.7238 MB / 377.1 MB, free: 4.453 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.979e-05/0.3353, allocations: 23.36 kB / 377.1 MB, free: 4.43 MB / 298.7 MB Notification: Performance of SimCode: time 2.14e-06/0.3354, allocations: 0 / 377.1 MB, free: 4.43 MB / 298.7 MB Notification: Performance of Templates: time 0.008071/0.3435, allocations: 1.93 MB / 379.1 MB, free: 2.504 MB / 298.7 MB