Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,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.Test52") Notification: Performance of loadModel(ModelicaTest): time 2.477/2.477, allocations: 234.9 MB / 251.1 MB, free: 9.707 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005545/0.0005545, allocations: 20 kB / 315 MB, free: 9.742 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4135/0.4141, allocations: 54.85 MB / 369.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1811/0.5953, allocations: 82.14 MB / 451.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003741/0.5957, allocations: 75.91 kB / 452 MB, free: 10.48 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.03198/0.6277, allocations: 4.762 MB / 456.8 MB, free: 5.707 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6278, allocations: 0 / 456.8 MB, free: 5.707 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.607e-05/0.6278, allocations: 4 kB / 456.8 MB, free: 5.703 MB / 378.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.0008599/0.6287, allocations: 494 kB / 457.3 MB, free: 5.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.6288, allocations: 8.031 kB / 457.3 MB, free: 5.152 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.438e-05/0.6289, allocations: 19.81 kB / 457.3 MB, free: 5.133 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004913/0.6294, allocations: 210.9 kB / 457.5 MB, free: 4.887 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.6294, allocations: 0 / 457.5 MB, free: 4.887 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.525e-05/0.6295, allocations: 8 kB / 457.5 MB, free: 4.879 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.6297, allocations: 57.67 kB / 457.6 MB, free: 4.816 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.6298, allocations: 0 / 457.6 MB, free: 4.816 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.6298, allocations: 7.953 kB / 457.6 MB, free: 4.809 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.6298, allocations: 0 / 457.6 MB, free: 4.809 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.63, allocations: 23.92 kB / 457.6 MB, free: 4.785 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008011/0.6308, allocations: 316.9 kB / 457.9 MB, free: 4.426 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005726/0.6314, allocations: 58.67 kB / 458 MB, free: 4.359 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.6315, allocations: 7.984 kB / 458 MB, free: 4.352 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004375/0.632, allocations: 72 kB / 458 MB, free: 4.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.966e-06/0.632, allocations: 7.938 kB / 458 MB, free: 4.262 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001186/0.6332, allocations: 189 kB / 458.2 MB, free: 4.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.115e-05/0.6333, allocations: 59.39 kB / 458.3 MB, free: 4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005067/0.6338, allocations: 215.4 kB / 458.5 MB, free: 3.777 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.781e-05/0.6339, allocations: 25.7 kB / 458.5 MB, free: 3.746 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.634, allocations: 170.5 kB / 458.7 MB, free: 3.578 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.807e-05/0.6341, allocations: 27.64 kB / 458.7 MB, free: 3.551 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.714e-05/0.6341, allocations: 4 kB / 458.7 MB, free: 3.547 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002726/0.6344, allocations: 318.8 kB / 459 MB, free: 3.227 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004205/0.6349, allocations: 35.98 kB / 459.1 MB, free: 3.191 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004569/0.6354, allocations: 53.69 kB / 459.1 MB, free: 3.133 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003469/0.6358, allocations: 73.69 kB / 459.2 MB, free: 3.055 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.6358, allocations: 0 / 459.2 MB, free: 3.055 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006922/0.6365, allocations: 179.2 kB / 459.4 MB, free: 2.867 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.433e-05/0.6366, allocations: 42.5 kB / 459.4 MB, free: 2.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.6366, allocations: 4 kB / 459.4 MB, free: 2.816 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-05/0.6366, allocations: 0 / 459.4 MB, free: 2.816 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.6369, allocations: 15.98 kB / 459.4 MB, free: 2.801 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.6369, allocations: 0 / 459.4 MB, free: 2.801 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.6371, allocations: 8 kB / 459.4 MB, free: 2.793 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.8e-05/0.6371, allocations: 7.938 kB / 459.4 MB, free: 2.785 MB / 378.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.0002341/0.6374, allocations: 129.8 kB / 459.6 MB, free: 2.648 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.93e-05/0.6375, allocations: 19.77 kB / 459.6 MB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005899/0.6381, allocations: 127.1 kB / 459.7 MB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.6381, allocations: 4 kB / 459.7 MB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.6381, allocations: 0 / 459.7 MB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.6382, allocations: 0 / 459.7 MB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009753/0.6392, allocations: 427.2 kB / 460.1 MB, free: 2.016 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.6392, allocations: 0 / 460.1 MB, free: 2.016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.825e-05/0.6393, allocations: 8 kB / 460.1 MB, free: 2.008 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/0.6393, allocations: 8.031 kB / 460.2 MB, free: 2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.6393, allocations: 4.359 kB / 460.2 MB, free: 1.996 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.694e-06/0.6394, allocations: 0 / 460.2 MB, free: 1.996 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.6394, allocations: 7.938 kB / 460.2 MB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005118/0.6399, allocations: 216.3 kB / 460.4 MB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.6401, allocations: 101 kB / 460.5 MB, free: 1.641 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.808e-05/0.6402, allocations: 4.094 kB / 460.5 MB, free: 1.637 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.6404, allocations: 11.92 kB / 460.5 MB, free: 1.625 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.6405, allocations: 8 kB / 460.5 MB, free: 1.617 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/0.6405, allocations: 7.984 kB / 460.5 MB, free: 1.609 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003358/0.6408, allocations: 163.2 kB / 460.7 MB, free: 1.449 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.767e-06/0.6409, allocations: 0 / 460.7 MB, free: 1.449 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006969/0.6416, allocations: 51.86 kB / 460.7 MB, free: 1.398 MB / 378.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 (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.001909/0.6435, allocations: 460.9 kB / 461.2 MB, free: 1.031 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006134/0.6441, allocations: 167.3 kB / 461.3 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.6442, allocations: 0 / 461.3 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001715/0.6443, allocations: 28 kB / 461.4 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007867/0.6452, allocations: 23.88 kB / 461.4 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.6467, allocations: 328.4 kB / 461.7 MB, free: 456 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005393/0.6473, allocations: 0.7159 MB / 462.4 MB, free: 15.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.6474, allocations: 23.44 kB / 462.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of SimCode: time 1.252e-06/0.6474, allocations: 0 / 462.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of Templates: time 0.008731/0.6562, allocations: 2.037 MB / 464.5 MB, free: 13.65 MB / 394.7 MB