Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadModel(ModelicaTest): time 2.254/2.254, allocations: 209.2 MB / 225.4 MB, free: 1.699 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004319/0.000432, allocations: 12 kB / 283.1 MB, free: 9.852 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1427, allocations: 48.71 MB / 331.8 MB, free: 9.055 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5268/0.6696, allocations: 77.56 MB / 409.4 MB, free: 7.723 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003146/0.6699, allocations: 79.95 kB / 409.4 MB, free: 7.645 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02153/0.6915, allocations: 4.032 MB / 413.5 MB, free: 3.621 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.6916, allocations: 0 / 413.5 MB, free: 3.621 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.413e-05/0.6916, allocations: 4 kB / 413.5 MB, free: 3.617 MB / 330.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.001268/0.6929, allocations: 0.5622 MB / 414 MB, free: 2.988 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.6929, allocations: 8.031 kB / 414 MB, free: 2.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.516e-05/0.693, allocations: 15.81 kB / 414.1 MB, free: 2.965 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003794/0.6934, allocations: 223.6 kB / 414.3 MB, free: 2.703 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.6935, allocations: 4 kB / 414.3 MB, free: 2.699 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.571e-05/0.6935, allocations: 12 kB / 414.3 MB, free: 2.688 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005946/0.6941, allocations: 129.6 kB / 414.4 MB, free: 2.555 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.6942, allocations: 0 / 414.4 MB, free: 2.555 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.6942, allocations: 11.94 kB / 414.4 MB, free: 2.543 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.6942, allocations: 0 / 414.4 MB, free: 2.543 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.6953, allocations: 127.8 kB / 414.6 MB, free: 2.418 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.6965, allocations: 430.3 kB / 415 MB, free: 1.949 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.6976, allocations: 174.5 kB / 415.1 MB, free: 1.77 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/0.6977, allocations: 3.984 kB / 415.2 MB, free: 1.766 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006061/0.6983, allocations: 139.2 kB / 415.3 MB, free: 1.617 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 3.256e-06/0.6983, allocations: 0 / 415.3 MB, free: 1.617 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.00151/0.6998, allocations: 273.3 kB / 415.6 MB, free: 1.344 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.6999, allocations: 51.41 kB / 415.6 MB, free: 1.281 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003511/0.7003, allocations: 203 kB / 415.8 MB, free: 1.074 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.099e-05/0.7004, allocations: 34.08 kB / 415.8 MB, free: 1.035 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.7005, allocations: 170.5 kB / 416 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.999e-05/0.7006, allocations: 27.61 kB / 416 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.744e-05/0.7006, allocations: 4 kB / 416 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.7007, allocations: 322.8 kB / 416.4 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004763/0.7012, allocations: 83.88 kB / 416.4 MB, free: 440 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004947/0.7017, allocations: 105.6 kB / 416.5 MB, free: 328 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004992/0.7023, allocations: 135.4 kB / 416.7 MB, free: 180 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.7023, allocations: 0 / 416.7 MB, free: 180 kB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001193/0.7035, allocations: 292.8 kB / 417 MB, free: 15.87 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.094e-05/0.7036, allocations: 67.33 kB / 417 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.7036, allocations: 0 / 417 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.7037, allocations: 0 / 417 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/0.704, allocations: 35.97 kB / 417.1 MB, free: 15.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/0.704, allocations: 11.95 kB / 417.1 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003504/0.7044, allocations: 23.98 kB / 417.1 MB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.7044, allocations: 11.98 kB / 417.1 MB, free: 15.71 MB / 346.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: 8 ($whenCondition2,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,$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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 2 * 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.000217/0.7047, allocations: 128.5 kB / 417.2 MB, free: 15.58 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.947e-05/0.7047, allocations: 15.81 kB / 417.2 MB, free: 15.56 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/0.7058, allocations: 223.4 kB / 417.5 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/0.7059, allocations: 4 kB / 417.5 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.7059, allocations: 0 / 417.5 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.7059, allocations: 3.953 kB / 417.5 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003559/0.7063, allocations: 229.5 kB / 417.7 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.7063, allocations: 0 / 417.7 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003051/0.7066, allocations: 27.97 kB / 417.7 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/0.7066, allocations: 4 kB / 417.7 MB, free: 15.03 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.7066, allocations: 4 kB / 417.7 MB, free: 15.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.7067, allocations: 3.984 kB / 417.7 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.7067, allocations: 0 / 417.7 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/0.7082, allocations: 336.7 kB / 418.1 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.7084, allocations: 89.02 kB / 418.1 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.476e-05/0.7085, allocations: 0 / 418.1 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003146/0.7088, allocations: 27.97 kB / 418.2 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.7089, allocations: 19.97 kB / 418.2 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.709, allocations: 0 / 418.2 MB, free: 14.52 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002343/0.7092, allocations: 148.1 kB / 418.3 MB, free: 14.38 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.7092, allocations: 0 / 418.3 MB, free: 14.38 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004425/0.7097, allocations: 59.95 kB / 418.4 MB, free: 14.32 MB / 346.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: 5 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent) * Number of discrete states: 2 (trapezoid1.count,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001032/0.7107, allocations: 342.6 kB / 418.7 MB, free: 14.05 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.7119, allocations: 294.7 kB / 419 MB, free: 13.74 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.712, allocations: 0 / 419 MB, free: 13.74 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004743/0.7125, allocations: 87.94 kB / 419.1 MB, free: 13.65 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000436/0.7129, allocations: 28.17 kB / 419.1 MB, free: 13.62 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.714, allocations: 352.1 kB / 419.5 MB, free: 13.25 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.7144, allocations: 0.7274 MB / 420.2 MB, free: 12.49 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.7146, allocations: 19.44 kB / 420.2 MB, free: 12.47 MB / 346.7 MB Notification: Performance of SimCode: time 1.272e-06/0.7146, allocations: 0 / 420.2 MB, free: 12.47 MB / 346.7 MB Notification: Performance of Templates: time 0.008778/0.7234, allocations: 2.506 MB / 422.7 MB, free: 9.973 MB / 346.7 MB