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.Test32.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,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.Test32") Notification: Performance of loadModel(ModelicaTest): time 2.228/2.228, allocations: 235.1 MB / 243 MB, free: 9.508 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.358e-05/2.369e-05, allocations: 8 kB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3233, allocations: 54.85 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1781/0.5014, allocations: 81.36 MB / 439.4 MB, free: 13.46 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/0.5017, allocations: 67.97 kB / 439.5 MB, free: 13.39 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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@2/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.01908/0.5208, allocations: 4.43 MB / 443.9 MB, free: 8.961 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.283e-06/0.5208, allocations: 4 kB / 443.9 MB, free: 8.957 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.221e-05/0.5209, allocations: 7.984 kB / 443.9 MB, free: 8.949 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.0005939/0.5215, allocations: 450.2 kB / 444.4 MB, free: 8.453 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.5215, allocations: 8.031 kB / 444.4 MB, free: 8.445 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.758e-05/0.5216, allocations: 11.91 kB / 444.4 MB, free: 8.434 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003643/0.522, allocations: 211.4 kB / 444.6 MB, free: 8.188 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.522, allocations: 0 / 444.6 MB, free: 8.188 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.143e-05/0.5221, allocations: 4 kB / 444.6 MB, free: 8.184 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.961e-05/0.5222, allocations: 20 kB / 444.6 MB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.5223, allocations: 53.67 kB / 444.7 MB, free: 8.105 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.5223, allocations: 3.953 kB / 444.7 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.5223, allocations: 0 / 444.7 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.5224, allocations: 4 kB / 444.7 MB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004661/0.5228, allocations: 289.3 kB / 444.9 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.523, allocations: 58.62 kB / 445 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.655e-05/0.5231, allocations: 20.98 kB / 445 MB, free: 7.688 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.5231, allocations: 0 / 445 MB, free: 7.688 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/0.5233, allocations: 71.34 kB / 445.1 MB, free: 7.605 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.489e-06/0.5233, allocations: 0 / 445.1 MB, free: 7.605 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005533/0.5238, allocations: 149.3 kB / 445.2 MB, free: 7.453 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.5239, allocations: 51.41 kB / 445.3 MB, free: 7.391 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.5241, allocations: 166 kB / 445.5 MB, free: 7.219 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.5242, allocations: 25.7 kB / 445.5 MB, free: 7.188 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.5243, allocations: 166.5 kB / 445.6 MB, free: 7.023 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.117e-05/0.5243, allocations: 23.7 kB / 445.7 MB, free: 7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.8e-06/0.5244, allocations: 0 / 445.7 MB, free: 7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.5245, allocations: 315.5 kB / 446 MB, free: 6.684 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.703e-05/0.5246, allocations: 35.98 kB / 446 MB, free: 6.648 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.5247, allocations: 48.11 kB / 446.1 MB, free: 6.598 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.5249, allocations: 39.98 kB / 446.1 MB, free: 6.559 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.968e-06/0.5249, allocations: 0 / 446.1 MB, free: 6.559 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000322/0.5252, allocations: 129.6 kB / 446.2 MB, free: 6.426 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.794e-05/0.5253, allocations: 33.69 kB / 446.3 MB, free: 6.387 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.5253, allocations: 7.953 kB / 446.3 MB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.5253, allocations: 0 / 446.3 MB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.5255, allocations: 19.92 kB / 446.3 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.5255, allocations: 0 / 446.3 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.861e-05/0.5256, allocations: 8.125 kB / 446.3 MB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.5256, allocations: 15.88 kB / 446.3 MB, free: 6.336 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 () * 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.0001211/0.5257, allocations: 109 kB / 446.4 MB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.5258, allocations: 11.81 kB / 446.4 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002918/0.5261, allocations: 110.2 kB / 446.5 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.868e-06/0.5261, allocations: 7.953 kB / 446.5 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.164e-06/0.5261, allocations: 0 / 446.5 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.096e-06/0.5261, allocations: 0 / 446.5 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005976/0.5267, allocations: 379.8 kB / 446.9 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.429e-06/0.5268, allocations: 0 / 446.9 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.166e-05/0.5268, allocations: 11.98 kB / 446.9 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.049e-06/0.5269, allocations: 7.953 kB / 446.9 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.5269, allocations: 0 / 446.9 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.898e-06/0.5269, allocations: 0 / 446.9 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.882e-06/0.5269, allocations: 0 / 446.9 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/0.5272, allocations: 221.9 kB / 447.1 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.5273, allocations: 96.95 kB / 447.2 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.5274, allocations: 7.984 kB / 447.2 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.5275, allocations: 7.984 kB / 447.3 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.5276, allocations: 4 kB / 447.3 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.5276, allocations: 0 / 447.3 MB, free: 5.273 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000154/0.5277, allocations: 139.3 kB / 447.4 MB, free: 5.137 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.9e-07/0.5278, allocations: 4 kB / 447.4 MB, free: 5.133 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003868/0.5282, allocations: 35.98 kB / 447.4 MB, free: 5.098 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) * 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.001284/0.5295, allocations: 383.1 kB / 447.8 MB, free: 4.777 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003327/0.5298, allocations: 155.3 kB / 448 MB, free: 4.613 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.44e-06/0.5298, allocations: 4.062 kB / 448 MB, free: 4.609 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.554e-05/0.5299, allocations: 35.97 kB / 448 MB, free: 4.574 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.5302, allocations: 16.59 kB / 448 MB, free: 4.559 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000483/0.5307, allocations: 180 kB / 448.2 MB, free: 4.352 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.5312, allocations: 0.7159 MB / 448.9 MB, free: 3.609 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.863e-05/0.5312, allocations: 23.42 kB / 448.9 MB, free: 3.586 MB / 378.7 MB Notification: Performance of SimCode: time 1.559e-06/0.5313, allocations: 3.938 kB / 448.9 MB, free: 3.582 MB / 378.7 MB Notification: Performance of Templates: time 0.004873/0.5361, allocations: 1.915 MB / 450.8 MB, free: 1.664 MB / 378.7 MB