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.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadModel(ModelicaTest): time 2.664/2.664, allocations: 234.9 MB / 251.1 MB, free: 9.477 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004359/0.000436, allocations: 16 kB / 314.9 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3647, allocations: 54.86 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1554/0.5202, allocations: 82.89 MB / 452.7 MB, free: 7.73 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003093/0.5206, allocations: 79.95 kB / 452.8 MB, free: 7.652 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getDerTableValue. [/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.01704/0.5376, allocations: 3.622 MB / 456.4 MB, free: 4.016 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.5377, allocations: 0 / 456.4 MB, free: 4.016 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.656e-05/0.5377, allocations: 0 / 456.4 MB, free: 4.016 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0009105/0.5386, allocations: 0.5299 MB / 456.9 MB, free: 3.422 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.5387, allocations: 8.031 kB / 456.9 MB, free: 3.414 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.54e-05/0.5388, allocations: 19.77 kB / 457 MB, free: 3.395 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004247/0.5392, allocations: 207.6 kB / 457.2 MB, free: 3.148 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.5393, allocations: 4 kB / 457.2 MB, free: 3.145 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.963e-05/0.5393, allocations: 8 kB / 457.2 MB, free: 3.137 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003133/0.5396, allocations: 93.58 kB / 457.3 MB, free: 3.039 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.5397, allocations: 0 / 457.3 MB, free: 3.039 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.5397, allocations: 0 / 457.3 MB, free: 3.039 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.5397, allocations: 7.953 kB / 457.3 MB, free: 3.031 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000246/0.54, allocations: 47.97 kB / 457.3 MB, free: 2.984 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007441/0.5407, allocations: 376.6 kB / 457.7 MB, free: 2.566 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004927/0.5412, allocations: 102.5 kB / 457.8 MB, free: 2.457 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.5413, allocations: 4 kB / 457.8 MB, free: 2.453 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002928/0.5416, allocations: 91.36 kB / 457.9 MB, free: 2.352 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.495e-06/0.5416, allocations: 0 / 457.9 MB, free: 2.352 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.00067/0.5423, allocations: 145.5 kB / 458 MB, free: 2.203 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.5423, allocations: 63.72 kB / 458.1 MB, free: 2.129 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002557/0.5426, allocations: 171.2 kB / 458.2 MB, free: 1.949 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.5427, allocations: 33.7 kB / 458.3 MB, free: 1.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.815e-05/0.5428, allocations: 170.4 kB / 458.4 MB, free: 1.742 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.605e-05/0.5428, allocations: 27.64 kB / 458.5 MB, free: 1.715 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.337e-05/0.5428, allocations: 4 kB / 458.5 MB, free: 1.711 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.543, allocations: 314.8 kB / 458.8 MB, free: 1.395 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/0.5432, allocations: 51.97 kB / 458.8 MB, free: 1.344 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.5435, allocations: 66.55 kB / 458.9 MB, free: 1.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002444/0.5437, allocations: 85.8 kB / 459 MB, free: 1.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.268e-06/0.5437, allocations: 4 kB / 459 MB, free: 1.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005879/0.5443, allocations: 199.1 kB / 459.2 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.611e-05/0.5444, allocations: 43.72 kB / 459.2 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.5444, allocations: 3.984 kB / 459.2 MB, free: 0.918 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.5445, allocations: 4 kB / 459.2 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.5446, allocations: 23.92 kB / 459.3 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.5447, allocations: 0 / 459.3 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.5448, allocations: 15.84 kB / 459.3 MB, free: 0.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.5449, allocations: 16.06 kB / 459.3 MB, free: 0.8594 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * 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.0001646/0.545, allocations: 121.8 kB / 459.4 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.106e-05/0.5451, allocations: 15.86 kB / 459.4 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004974/0.5456, allocations: 135 kB / 459.6 MB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.5456, allocations: 0 / 459.6 MB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5456, allocations: 0 / 459.6 MB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.5457, allocations: 4 kB / 459.6 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002632/0.5459, allocations: 221.4 kB / 459.8 MB, free: 320 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.5459, allocations: 0 / 459.8 MB, free: 320 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.5461, allocations: 19.92 kB / 459.8 MB, free: 300 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.787e-06/0.5461, allocations: 4 kB / 459.8 MB, free: 296 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.5462, allocations: 3.953 kB / 459.8 MB, free: 292 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.5462, allocations: 0 / 459.8 MB, free: 292 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.5462, allocations: 0 / 459.8 MB, free: 292 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006508/0.5468, allocations: 197.1 kB / 460 MB, free: 76 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.547, allocations: 101 kB / 460.1 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.188e-05/0.5471, allocations: 7.938 kB / 460.1 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.5473, allocations: 15.94 kB / 460.1 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.5473, allocations: 0 / 460.1 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.5474, allocations: 7.984 kB / 460.1 MB, free: 15.93 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001715/0.5475, allocations: 133 kB / 460.3 MB, free: 15.8 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5476, allocations: 0 / 460.3 MB, free: 15.8 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00037/0.5479, allocations: 40.06 kB / 460.3 MB, free: 15.76 MB / 394.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: 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 (10): * Single equations (assignments): 8 * 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.001181/0.5491, allocations: 407.9 kB / 460.7 MB, free: 15.43 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006163/0.5498, allocations: 187.2 kB / 460.9 MB, free: 15.23 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5498, allocations: 0 / 460.9 MB, free: 15.23 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.55, allocations: 44.09 kB / 460.9 MB, free: 15.19 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.5504, allocations: 23.98 kB / 460.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008178/0.5512, allocations: 319.9 kB / 461.3 MB, free: 14.82 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.5515, allocations: 0.7121 MB / 462 MB, free: 14.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.605e-05/0.5516, allocations: 23.36 kB / 462 MB, free: 14.06 MB / 394.7 MB Notification: Performance of SimCode: time 1.373e-06/0.5516, allocations: 0 / 462 MB, free: 14.06 MB / 394.7 MB Notification: Performance of Templates: time 0.006225/0.5579, allocations: 2.069 MB / 464.1 MB, free: 12 MB / 394.7 MB