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.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadModel(ModelicaTest): time 1.975/1.975, allocations: 209.2 MB / 224.8 MB, free: 192 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004422/0.0004422, allocations: 12 kB / 282.6 MB, free: 9.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2876, allocations: 48.7 MB / 331.3 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1161/0.4037, allocations: 76.62 MB / 407.9 MB, free: 1.805 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.404, allocations: 71.97 kB / 408 MB, free: 1.734 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01354/0.4176, allocations: 3.228 MB / 411.2 MB, free: 14.51 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.167e-06/0.4176, allocations: 3.938 kB / 411.2 MB, free: 14.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.4177, allocations: 7.938 kB / 411.2 MB, free: 14.5 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006939/0.4184, allocations: 482.3 kB / 411.7 MB, free: 13.96 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.4184, allocations: 11.97 kB / 411.7 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.756e-05/0.4185, allocations: 11.91 kB / 411.7 MB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003152/0.4188, allocations: 206.8 kB / 411.9 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.4189, allocations: 4 kB / 411.9 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.4189, allocations: 7.938 kB / 411.9 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.4191, allocations: 73.66 kB / 412 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.871e-06/0.4192, allocations: 0 / 412 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.4192, allocations: 8 kB / 412 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.324e-06/0.4192, allocations: 4 kB / 412 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.4194, allocations: 39.97 kB / 412 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006788/0.4201, allocations: 348.6 kB / 412.4 MB, free: 13.17 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003189/0.4204, allocations: 74.67 kB / 412.5 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.4205, allocations: 0 / 412.5 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002264/0.4207, allocations: 83.48 kB / 412.5 MB, free: 12.99 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.419e-06/0.4207, allocations: 3.938 kB / 412.5 MB, free: 12.99 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004492/0.4212, allocations: 113.6 kB / 412.7 MB, free: 12.87 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.4213, allocations: 55.36 kB / 412.7 MB, free: 12.8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.4215, allocations: 157.2 kB / 412.9 MB, free: 12.64 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.4215, allocations: 25.7 kB / 412.9 MB, free: 12.61 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.4216, allocations: 170.6 kB / 413.1 MB, free: 12.45 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.019e-05/0.4217, allocations: 23.64 kB / 413.1 MB, free: 12.42 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.268e-05/0.4217, allocations: 4.109 kB / 413.1 MB, free: 12.42 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.4219, allocations: 314.8 kB / 413.4 MB, free: 12.1 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.422, allocations: 31.98 kB / 413.4 MB, free: 12.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.4222, allocations: 53.62 kB / 413.5 MB, free: 12.01 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.4224, allocations: 71.38 kB / 413.5 MB, free: 11.94 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.4224, allocations: 0 / 413.5 MB, free: 11.94 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004074/0.4228, allocations: 159.2 kB / 413.7 MB, free: 11.77 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.504e-05/0.4229, allocations: 29.7 kB / 413.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.213e-06/0.4229, allocations: 0 / 413.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.4229, allocations: 4 kB / 413.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.423, allocations: 15.98 kB / 413.7 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.107e-06/0.4231, allocations: 4.031 kB / 413.7 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.708e-05/0.4232, allocations: 11.95 kB / 413.8 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.4232, allocations: 8 kB / 413.8 MB, free: 11.69 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: 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 (10): * Single equations (assignments): 9 * 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.0001487/0.4233, allocations: 121.8 kB / 413.9 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.245e-05/0.4234, allocations: 11.81 kB / 413.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003594/0.4238, allocations: 122.6 kB / 414 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.856e-06/0.4238, allocations: 4.125 kB / 414 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.463e-06/0.4238, allocations: 0 / 414 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.179e-06/0.4238, allocations: 7.938 kB / 414 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002544/0.4241, allocations: 205.5 kB / 414.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.226e-06/0.4241, allocations: 0 / 414.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.4242, allocations: 12 kB / 414.2 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.004e-06/0.4242, allocations: 0 / 414.2 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.4243, allocations: 4 kB / 414.2 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.341e-06/0.4243, allocations: 0 / 414.2 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.596e-06/0.4243, allocations: 0 / 414.2 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004764/0.4248, allocations: 172.9 kB / 414.4 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.84e-05/0.4249, allocations: 96.94 kB / 414.5 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.4249, allocations: 4 kB / 414.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.849e-05/0.425, allocations: 4 kB / 414.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/0.4251, allocations: 16.03 kB / 414.5 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.4251, allocations: 8 kB / 414.5 MB, free: 10.82 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001485/0.4253, allocations: 122.3 kB / 414.7 MB, free: 10.7 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.4253, allocations: 0 / 414.7 MB, free: 10.7 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003417/0.4256, allocations: 35.94 kB / 414.7 MB, free: 10.66 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: 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 (8): * Single equations (assignments): 7 * 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.001058/0.4267, allocations: 333.1 kB / 415 MB, free: 10.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000392/0.4271, allocations: 139.3 kB / 415.2 MB, free: 10.26 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.117e-06/0.4271, allocations: 0 / 415.2 MB, free: 10.26 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.4273, allocations: 43.89 kB / 415.2 MB, free: 10.22 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.4276, allocations: 31.55 kB / 415.2 MB, free: 10.19 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006677/0.4283, allocations: 287.4 kB / 415.5 MB, free: 9.875 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.4287, allocations: 0.7082 MB / 416.2 MB, free: 9.141 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.193e-05/0.4288, allocations: 15.44 kB / 416.2 MB, free: 9.125 MB / 346.7 MB Notification: Performance of SimCode: time 1.488e-06/0.4288, allocations: 4 kB / 416.2 MB, free: 9.121 MB / 346.7 MB Notification: Performance of Templates: time 0.004809/0.4336, allocations: 1.863 MB / 418.1 MB, free: 7.258 MB / 346.7 MB