Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGL.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) Running command: translateModel(Modelica.Electrical.Digital.Examples.DLATREGL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREGL.delay.inertialDelaySensitive.1..x|dLATREGL.delay.inertialDelaySensitive.1..y|dLATREGL.delay.inertialDelaySensitive.2..x|dLATREGL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGL") Notification: Performance of loadModel(Modelica): time 1.914/1.914, allocations: 171.2 MB / 186.7 MB, free: 1.117 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005783/0.0005786, allocations: 8 kB / 233.8 MB, free: 2.398 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.096/0.09661, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4042/0.5009, allocations: 72.51 MB / 345.1 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.5012, allocations: 82.05 kB / 345.2 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1145/0.6157, allocations: 33.1 MB / 378.3 MB, free: 5.324 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.6157, allocations: 0 / 378.3 MB, free: 5.324 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.168e-05/0.6158, allocations: 12 kB / 378.3 MB, free: 5.312 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001869/0.6176, allocations: 1.136 MB / 379.5 MB, free: 4.133 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.6177, allocations: 8.031 kB / 379.5 MB, free: 4.125 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002987/0.618, allocations: 94.86 kB / 379.6 MB, free: 4.031 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009367/0.619, allocations: 405.8 kB / 380 MB, free: 3.629 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.208e-05/0.6191, allocations: 27.66 kB / 380 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.6192, allocations: 23.94 kB / 380 MB, free: 3.586 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.6206, allocations: 495.6 kB / 380.5 MB, free: 3.211 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.6206, allocations: 4 kB / 380.5 MB, free: 3.207 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-05/0.6207, allocations: 11.06 kB / 380.5 MB, free: 3.199 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.6208, allocations: 4 kB / 380.5 MB, free: 3.195 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.6218, allocations: 356.3 kB / 380.9 MB, free: 2.953 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002415/0.6242, allocations: 0.9255 MB / 381.8 MB, free: 2.172 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/0.6255, allocations: 0.4941 MB / 382.3 MB, free: 1.742 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.6256, allocations: 4 kB / 382.3 MB, free: 1.738 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001459/0.627, allocations: 0.6306 MB / 382.9 MB, free: 1.07 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 3.747e-06/0.6271, allocations: 4 kB / 382.9 MB, free: 1.066 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.004238/0.6313, allocations: 1.742 MB / 384.7 MB, free: 15.21 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002477/0.6316, allocations: 283.2 kB / 384.9 MB, free: 14.88 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002688/0.6343, allocations: 1.145 MB / 386.1 MB, free: 13.72 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002051/0.6346, allocations: 49.62 kB / 386.1 MB, free: 13.67 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.6348, allocations: 142 kB / 386.3 MB, free: 13.53 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001724/0.6349, allocations: 67.08 kB / 386.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.071e-05/0.635, allocations: 12 kB / 386.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002018/0.6352, allocations: 342.8 kB / 386.7 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009409/0.6362, allocations: 339.7 kB / 387 MB, free: 12.78 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009398/0.6372, allocations: 366.4 kB / 387.4 MB, free: 12.41 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000965/0.6381, allocations: 0.4889 MB / 387.9 MB, free: 11.88 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.6382, allocations: 0 / 387.9 MB, free: 11.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002678/0.6409, allocations: 1.105 MB / 389 MB, free: 10.72 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002844/0.6412, allocations: 249 kB / 389.2 MB, free: 10.44 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.6412, allocations: 7.984 kB / 389.2 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.6412, allocations: 0 / 389.2 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.725e-05/0.6413, allocations: 4 kB / 389.2 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.6413, allocations: 3.938 kB / 389.2 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000595/0.6419, allocations: 43.81 kB / 389.3 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002488/0.6422, allocations: 127.9 kB / 389.4 MB, free: 10.25 MB / 314.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: 36 ($PRE.dLATREGL.delay.inertialDelaySensitive[2].y,$PRE.dLATREGL.delay.inertialDelaySensitive[1].y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,$PRE.dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].y_old,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREGL.delay.inertialDelaySensitive[2].x,dLATREGL.delay.inertialDelaySensitive[2].x,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].y_old,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.dLATR.dataIn[1],dLATREGL.dLATR.dataIn[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.enable_flag,dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.next_assign_val[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 7 * 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.001737/0.6439, allocations: 0.7601 MB / 390.1 MB, free: 9.441 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002653/0.6442, allocations: 91.02 kB / 390.2 MB, free: 9.352 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005011/0.6447, allocations: 151.5 kB / 390.4 MB, free: 9.199 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.6447, allocations: 0 / 390.4 MB, free: 9.199 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.6448, allocations: 0 / 390.4 MB, free: 9.199 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.6448, allocations: 0 / 390.4 MB, free: 9.199 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004571/0.6494, allocations: 1.947 MB / 392.3 MB, free: 7.152 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.6494, allocations: 0 / 392.3 MB, free: 7.152 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.811e-05/0.6494, allocations: 4 kB / 392.3 MB, free: 7.148 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.6495, allocations: 0 / 392.3 MB, free: 7.148 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001243/0.6496, allocations: 31.98 kB / 392.4 MB, free: 7.117 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.6496, allocations: 0 / 392.4 MB, free: 7.117 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.6496, allocations: 7.984 kB / 392.4 MB, free: 7.109 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003274/0.6529, allocations: 1.381 MB / 393.8 MB, free: 5.668 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001692/0.6546, allocations: 0.5542 MB / 394.3 MB, free: 5.094 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003089/0.655, allocations: 59.91 kB / 394.4 MB, free: 5.035 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005583/0.6556, allocations: 35.97 kB / 394.4 MB, free: 5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006809/0.6563, allocations: 235.7 kB / 394.6 MB, free: 4.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002508/0.6565, allocations: 127.9 kB / 394.8 MB, free: 4.645 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002139/0.6587, allocations: 0.8499 MB / 395.6 MB, free: 3.801 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.6587, allocations: 0 / 395.6 MB, free: 3.801 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008685/0.6596, allocations: 124 kB / 395.7 MB, free: 3.68 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].y_old,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].t_next,dLATREGL.delay.inertialDelaySensitive[2].x,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].y_old,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.dLATR.dataIn[1],dLATREGL.dLATR.dataIn[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.enable_flag,dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.next_assign_val[2]) * Number of discrete states: 30 (enable.y,data_0.y,reset.y,data_1.y,dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.next_assign_val[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.enable_flag,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].t_next,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREGL.delay.inertialDelaySensitive[2].x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 7 * 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 Backend phase and start with SimCode phase: time 0.000399/0.66, allocations: 184.4 kB / 395.9 MB, free: 3.488 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003126/0.6631, allocations: 1.519 MB / 397.4 MB, free: 1.883 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.6632, allocations: 0 / 397.4 MB, free: 1.883 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002304/0.6655, allocations: 1.144 MB / 398.6 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002507/0.6681, allocations: 257.9 kB / 398.8 MB, free: 408 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007218/0.6754, allocations: 2.123 MB / 400.9 MB, free: 14.25 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001781/0.6772, allocations: 1.031 MB / 402 MB, free: 13.19 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003541/0.6776, allocations: 33.5 kB / 402 MB, free: 13.15 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.867e-05/0.6777, allocations: 15.44 kB / 402 MB, free: 13.14 MB / 330.7 MB Notification: Performance of SimCode: time 1.713e-06/0.6777, allocations: 0 / 402 MB, free: 13.14 MB / 330.7 MB Notification: Performance of Templates: time 0.03954/0.7173, allocations: 12.65 MB / 414.7 MB, free: 268 kB / 330.7 MB