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.Test62.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.Test62,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.Test62") Notification: Performance of loadModel(ModelicaTest): time 2.373/2.373, allocations: 234.9 MB / 250.5 MB, free: 10.53 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004434/0.0004436, allocations: 16 kB / 314.3 MB, free: 10.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3527, allocations: 54.88 MB / 369.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002324/0.3551, allocations: 1.314 MB / 370.5 MB, free: 9.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.3567, allocations: 0.7007 MB / 371.2 MB, free: 8.793 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.784e-05/0.3568, allocations: 0 / 371.2 MB, free: 8.793 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002438/0.3571, allocations: 27.89 kB / 371.2 MB, free: 8.766 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002044/0.3573, allocations: 47.88 kB / 371.3 MB, free: 8.719 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000178/0.3575, allocations: 47.77 kB / 371.3 MB, free: 8.672 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.3577, allocations: 63.91 kB / 371.4 MB, free: 8.609 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.506e-05/0.3577, allocations: 7.859 kB / 371.4 MB, free: 8.602 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.3579, allocations: 35.86 kB / 371.4 MB, free: 8.566 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.429e-05/0.358, allocations: 35.83 kB / 371.5 MB, free: 8.531 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.358, allocations: 4 kB / 371.5 MB, free: 8.527 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.573e-05/0.3581, allocations: 20 kB / 371.5 MB, free: 8.508 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.333e-05/0.3582, allocations: 23.91 kB / 371.5 MB, free: 8.484 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.637e-05/0.3583, allocations: 41.64 kB / 371.6 MB, free: 8.438 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.3585, allocations: 83.86 kB / 371.6 MB, free: 8.355 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.681e-06/0.3585, allocations: 0 / 371.6 MB, free: 8.355 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3585, allocations: 4 kB / 371.6 MB, free: 8.352 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.168e-06/0.3585, allocations: 0 / 371.6 MB, free: 8.352 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.0006759/0.3592, allocations: 470.7 kB / 372.1 MB, free: 7.832 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.3593, allocations: 8.031 kB / 372.1 MB, free: 7.824 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.72e-05/0.3594, allocations: 19.91 kB / 372.1 MB, free: 7.805 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.3597, allocations: 210.7 kB / 372.3 MB, free: 7.559 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.3597, allocations: 0 / 372.3 MB, free: 7.559 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.3597, allocations: 4 kB / 372.3 MB, free: 7.555 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.36, allocations: 49.67 kB / 372.4 MB, free: 7.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.603e-06/0.36, allocations: 0 / 372.4 MB, free: 7.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.36, allocations: 4 kB / 372.4 MB, free: 7.496 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.36, allocations: 7.953 kB / 372.4 MB, free: 7.488 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.921e-05/0.3601, allocations: 15.98 kB / 372.4 MB, free: 7.473 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003008/0.3605, allocations: 201.6 kB / 372.6 MB, free: 7.227 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.3607, allocations: 50.56 kB / 372.7 MB, free: 7.168 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.919e-05/0.3607, allocations: 4 kB / 372.7 MB, free: 7.164 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002474/0.361, allocations: 67.38 kB / 372.7 MB, free: 7.086 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 2.727e-06/0.361, allocations: 0 / 372.7 MB, free: 7.086 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004044/0.3614, allocations: 101.5 kB / 372.8 MB, free: 6.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.3615, allocations: 63.23 kB / 372.9 MB, free: 6.906 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003649/0.3619, allocations: 254.5 kB / 373.1 MB, free: 6.645 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.3619, allocations: 29.7 kB / 373.2 MB, free: 6.609 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.362, allocations: 166.6 kB / 373.3 MB, free: 6.445 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.3621, allocations: 15.81 kB / 373.4 MB, free: 6.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.002e-06/0.3621, allocations: 0 / 373.4 MB, free: 6.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.3623, allocations: 318.8 kB / 373.7 MB, free: 6.109 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.875e-05/0.3624, allocations: 31.92 kB / 373.7 MB, free: 6.078 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.3625, allocations: 37.7 kB / 373.7 MB, free: 6.035 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.3627, allocations: 53.7 kB / 373.8 MB, free: 5.977 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.2e-06/0.3627, allocations: 0 / 373.8 MB, free: 5.977 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003433/0.3631, allocations: 127.3 kB / 373.9 MB, free: 5.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.003e-05/0.3631, allocations: 37.69 kB / 373.9 MB, free: 5.797 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.236e-06/0.3631, allocations: 0 / 373.9 MB, free: 5.797 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.3632, allocations: 8.016 kB / 374 MB, free: 5.789 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.3633, allocations: 19.94 kB / 374 MB, free: 5.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.486e-06/0.3633, allocations: 0 / 374 MB, free: 5.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.072e-05/0.3634, allocations: 19.78 kB / 374 MB, free: 5.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.3635, allocations: 4 kB / 374 MB, free: 5.746 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.0001496/0.3636, allocations: 135.1 kB / 374.1 MB, free: 5.605 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.3637, allocations: 11.81 kB / 374.1 MB, free: 5.594 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.843e-05/0.3637, allocations: 17 kB / 374.2 MB, free: 5.582 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.3637, allocations: 0 / 374.2 MB, free: 5.582 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.264e-06/0.3638, allocations: 4 kB / 374.2 MB, free: 5.578 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.466e-06/0.3638, allocations: 3.984 kB / 374.2 MB, free: 5.574 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.364, allocations: 193.6 kB / 374.4 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.227e-06/0.364, allocations: 0 / 374.4 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.703e-05/0.3641, allocations: 0 / 374.4 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3641, allocations: 4 kB / 374.4 MB, free: 5.332 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.3641, allocations: 3.984 kB / 374.4 MB, free: 5.328 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.336e-06/0.3641, allocations: 3.938 kB / 374.4 MB, free: 5.324 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.097e-06/0.3641, allocations: 0 / 374.4 MB, free: 5.324 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/0.3644, allocations: 133.1 kB / 374.5 MB, free: 5.176 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.414e-05/0.3646, allocations: 89.02 kB / 374.6 MB, free: 5.07 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.3646, allocations: 0 / 374.6 MB, free: 5.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.338e-05/0.3647, allocations: 7.984 kB / 374.6 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/0.3647, allocations: 0 / 374.6 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.3648, allocations: 4 kB / 374.6 MB, free: 5.059 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002539/0.365, allocations: 192.5 kB / 374.8 MB, free: 4.871 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.097e-06/0.365, allocations: 0 / 374.8 MB, free: 4.871 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003428/0.3654, allocations: 27.94 kB / 374.8 MB, free: 4.844 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.00142/0.3668, allocations: 393.5 kB / 375.2 MB, free: 4.547 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003226/0.3672, allocations: 135.3 kB / 375.3 MB, free: 4.402 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.428e-06/0.3672, allocations: 0 / 375.3 MB, free: 4.402 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.955e-05/0.3673, allocations: 23.98 kB / 375.3 MB, free: 4.379 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.3676, allocations: 27.81 kB / 375.4 MB, free: 4.352 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006443/0.3682, allocations: 299.5 kB / 375.7 MB, free: 4.027 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004468/0.3687, allocations: 0.7199 MB / 376.4 MB, free: 3.281 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.247e-05/0.3688, allocations: 15.38 kB / 376.4 MB, free: 3.266 MB / 298.7 MB Notification: Performance of SimCode: time 1.69e-06/0.3688, allocations: 0 / 376.4 MB, free: 3.266 MB / 298.7 MB Notification: Performance of Templates: time 0.004783/0.3736, allocations: 1.783 MB / 378.2 MB, free: 1.484 MB / 298.7 MB