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.Test38.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.Test38,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.Test38") Notification: Performance of loadModel(ModelicaTest): time 1.868/1.868, allocations: 209.3 MB / 224.8 MB, free: 1.215 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004472/0.0004474, allocations: 16 kB / 282.5 MB, free: 9.762 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08583/0.0863, allocations: 48.7 MB / 331.2 MB, free: 8.965 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002103/0.08844, allocations: 1.255 MB / 332.5 MB, free: 7.699 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000914/0.08938, allocations: 400.8 kB / 332.8 MB, free: 7.305 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.444e-05/0.08945, allocations: 7.938 kB / 332.9 MB, free: 7.297 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002552/0.08972, allocations: 47.88 kB / 332.9 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001731/0.08991, allocations: 47.86 kB / 332.9 MB, free: 7.203 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.09011, allocations: 51.81 kB / 333 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.09025, allocations: 47.88 kB / 333 MB, free: 7.105 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.951e-05/0.09032, allocations: 11.97 kB / 333.1 MB, free: 7.094 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.101e-05/0.09041, allocations: 31.91 kB / 333.1 MB, free: 7.062 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.352e-05/0.09051, allocations: 27.91 kB / 333.1 MB, free: 7.035 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.09054, allocations: 8 kB / 333.1 MB, free: 7.027 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.914e-05/0.09063, allocations: 20 kB / 333.1 MB, free: 7.008 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.116e-05/0.09068, allocations: 15.91 kB / 333.2 MB, free: 6.992 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.952e-05/0.09074, allocations: 33.7 kB / 333.2 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.09091, allocations: 63.84 kB / 333.3 MB, free: 6.891 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.419e-06/0.09093, allocations: 3.938 kB / 333.3 MB, free: 6.887 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.879e-06/0.09094, allocations: 0 / 333.3 MB, free: 6.887 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.547e-06/0.09096, allocations: 0 / 333.3 MB, free: 6.887 MB / 282.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.0005265/0.09149, allocations: 401.1 kB / 333.6 MB, free: 6.441 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.09154, allocations: 12.03 kB / 333.7 MB, free: 6.43 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.973e-05/0.09159, allocations: 7.906 kB / 333.7 MB, free: 6.422 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.09184, allocations: 198.2 kB / 333.9 MB, free: 6.191 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.09187, allocations: 4 kB / 333.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.09189, allocations: 0 / 333.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.09202, allocations: 41.69 kB / 333.9 MB, free: 6.141 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.109e-06/0.09205, allocations: 0 / 333.9 MB, free: 6.141 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.09208, allocations: 3.984 kB / 333.9 MB, free: 6.137 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.09209, allocations: 0 / 333.9 MB, free: 6.137 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.472e-05/0.09215, allocations: 15.94 kB / 333.9 MB, free: 6.121 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002243/0.09239, allocations: 177.6 kB / 334.1 MB, free: 5.898 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.517e-05/0.09248, allocations: 30.56 kB / 334.1 MB, free: 5.859 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.09252, allocations: 0 / 334.1 MB, free: 5.859 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001613/0.09269, allocations: 63.38 kB / 334.2 MB, free: 5.785 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 2.418e-06/0.0927, allocations: 0 / 334.2 MB, free: 5.785 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.000223/0.09294, allocations: 73.53 kB / 334.3 MB, free: 5.707 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.093, allocations: 51.41 kB / 334.3 MB, free: 5.645 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.09325, allocations: 166.4 kB / 334.5 MB, free: 5.473 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.0933, allocations: 25.7 kB / 334.5 MB, free: 5.441 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.652e-05/0.09341, allocations: 158.6 kB / 334.7 MB, free: 5.285 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.09344, allocations: 11.89 kB / 334.7 MB, free: 5.273 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.694e-06/0.09346, allocations: 0 / 334.7 MB, free: 5.273 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.09363, allocations: 318.8 kB / 335 MB, free: 4.953 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.741e-05/0.09369, allocations: 12 kB / 335 MB, free: 4.941 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.579e-05/0.09375, allocations: 19.98 kB / 335 MB, free: 4.922 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.634e-05/0.09384, allocations: 41.7 kB / 335 MB, free: 4.875 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.09386, allocations: 0 / 335 MB, free: 4.875 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001949/0.09406, allocations: 103.2 kB / 335.1 MB, free: 4.762 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.698e-05/0.09412, allocations: 37.69 kB / 335.2 MB, free: 4.719 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.141e-06/0.09414, allocations: 0 / 335.2 MB, free: 4.719 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.09416, allocations: 0 / 335.2 MB, free: 4.719 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.933e-05/0.09422, allocations: 4 kB / 335.2 MB, free: 4.715 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.078e-06/0.09424, allocations: 0 / 335.2 MB, free: 4.715 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.203e-05/0.09431, allocations: 11.94 kB / 335.2 MB, free: 4.703 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.09434, allocations: 4 kB / 335.2 MB, free: 4.699 MB / 282.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 0.0001264/0.09448, allocations: 125.8 kB / 335.3 MB, free: 4.566 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.09451, allocations: 7.906 kB / 335.3 MB, free: 4.559 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.437e-05/0.09456, allocations: 12.25 kB / 335.3 MB, free: 4.539 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.607e-06/0.09458, allocations: 0 / 335.3 MB, free: 4.539 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.561e-06/0.09459, allocations: 0 / 335.3 MB, free: 4.539 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.565e-06/0.0946, allocations: 0 / 335.3 MB, free: 4.539 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.09479, allocations: 177.6 kB / 335.5 MB, free: 4.316 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.167e-06/0.09481, allocations: 3.938 kB / 335.5 MB, free: 4.312 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.445e-05/0.09484, allocations: 4 kB / 335.5 MB, free: 4.309 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.342e-06/0.09486, allocations: 7.938 kB / 335.5 MB, free: 4.301 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.588e-06/0.09487, allocations: 0 / 335.5 MB, free: 4.301 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.032e-06/0.09489, allocations: 0 / 335.5 MB, free: 4.301 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.0949, allocations: 128 / 335.5 MB, free: 4.301 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.09507, allocations: 89.02 kB / 335.6 MB, free: 4.195 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.755e-05/0.09515, allocations: 88.91 kB / 335.7 MB, free: 4.09 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.09519, allocations: 4 kB / 335.7 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.014e-05/0.09524, allocations: 4 kB / 335.7 MB, free: 4.082 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/0.09529, allocations: 7.984 kB / 335.7 MB, free: 4.074 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.09531, allocations: 4 kB / 335.7 MB, free: 4.07 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001456/0.09547, allocations: 130.8 kB / 335.9 MB, free: 3.945 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.46e-07/0.09548, allocations: 0 / 335.9 MB, free: 3.945 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002837/0.09577, allocations: 16 kB / 335.9 MB, free: 3.93 MB / 282.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.001026/0.09681, allocations: 336.6 kB / 336.2 MB, free: 3.672 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001967/0.09703, allocations: 103.3 kB / 336.3 MB, free: 3.559 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.68e-06/0.09705, allocations: 0 / 336.3 MB, free: 3.559 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.599e-05/0.0971, allocations: 11.98 kB / 336.3 MB, free: 3.547 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.09732, allocations: 11.98 kB / 336.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004414/0.09778, allocations: 207 kB / 336.5 MB, free: 3.301 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.09818, allocations: 0.6965 MB / 337.2 MB, free: 2.578 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.976e-05/0.09823, allocations: 15.42 kB / 337.2 MB, free: 2.562 MB / 282.7 MB Notification: Performance of SimCode: time 1.397e-06/0.09825, allocations: 0 / 337.2 MB, free: 2.562 MB / 282.7 MB Notification: Performance of Templates: time 0.003797/0.1021, allocations: 1.442 MB / 338.7 MB, free: 1.125 MB / 282.7 MB