Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGL.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) 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.2_Modelica.Electrical.Digital.Examples.DLATREGL") Notification: Performance of loadModel(Modelica): time 2.428/2.428, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004907/0.0004909, allocations: 8 kB / 264.5 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1067, allocations: 44.5 MB / 309 MB, free: 376 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4654/0.5722, allocations: 77.83 MB / 386.9 MB, free: 15.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/0.5725, allocations: 69.34 kB / 386.9 MB, free: 15.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1025/0.6751, allocations: 33.23 MB / 420.2 MB, free: 7.211 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.6751, allocations: 0 / 420.2 MB, free: 7.211 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.531e-05/0.6752, allocations: 11.72 kB / 420.2 MB, free: 7.211 MB / 314.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.002691/0.6779, allocations: 1.131 MB / 421.3 MB, free: 6.234 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.935e-05/0.678, allocations: 7.75 kB / 421.3 MB, free: 6.234 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005231/0.6786, allocations: 89.47 kB / 421.4 MB, free: 6.191 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/0.6801, allocations: 412.3 kB / 421.8 MB, free: 5.895 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.676e-05/0.6803, allocations: 22.86 kB / 421.8 MB, free: 5.891 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001814/0.6805, allocations: 26.75 kB / 421.9 MB, free: 5.887 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002199/0.6827, allocations: 0.4976 MB / 422.4 MB, free: 5.734 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.6828, allocations: 0 / 422.4 MB, free: 5.734 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001471/0.6829, allocations: 15.42 kB / 422.4 MB, free: 5.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.683, allocations: 3.875 kB / 422.4 MB, free: 5.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/0.6845, allocations: 367.6 kB / 422.7 MB, free: 5.668 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003351/0.6879, allocations: 0.9266 MB / 423.7 MB, free: 5.168 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/0.6893, allocations: 0.501 MB / 424.2 MB, free: 5.078 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.6893, allocations: 3.875 kB / 424.2 MB, free: 5.078 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001128/0.6905, allocations: 0.6349 MB / 424.8 MB, free: 4.762 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 2.956e-06/0.6905, allocations: 0 / 424.8 MB, free: 4.762 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.003357/0.6939, allocations: 1.765 MB / 426.6 MB, free: 3.984 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001588/0.6941, allocations: 280.4 kB / 426.8 MB, free: 3.691 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002368/0.6964, allocations: 1.16 MB / 428 MB, free: 3.195 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002104/0.6967, allocations: 44.69 kB / 428 MB, free: 3.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.6969, allocations: 143.6 kB / 428.2 MB, free: 3.062 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.697, allocations: 68.75 kB / 428.2 MB, free: 3.023 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.596e-05/0.6971, allocations: 14.88 kB / 428.3 MB, free: 3.02 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.811e-05/0.6972, allocations: 336.1 kB / 428.6 MB, free: 2.699 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008063/0.698, allocations: 347.6 kB / 428.9 MB, free: 2.641 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007858/0.6988, allocations: 369.2 kB / 429.3 MB, free: 2.559 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007634/0.6996, allocations: 0.4906 MB / 429.8 MB, free: 2.281 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.6996, allocations: 0 / 429.8 MB, free: 2.281 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002277/0.7019, allocations: 1.12 MB / 430.9 MB, free: 1.875 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002155/0.7022, allocations: 254.2 kB / 431.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.7022, allocations: 3.875 kB / 431.2 MB, free: 1.633 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.773e-05/0.7023, allocations: 0 / 431.2 MB, free: 1.633 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.635e-05/0.7023, allocations: 3.875 kB / 431.2 MB, free: 1.633 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.7023, allocations: 0 / 431.2 MB, free: 1.633 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005809/0.7029, allocations: 46.94 kB / 431.2 MB, free: 1.617 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001934/0.7031, allocations: 132.3 kB / 431.3 MB, free: 1.602 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.001395/0.7045, allocations: 0.7704 MB / 432.1 MB, free: 1.105 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001984/0.7047, allocations: 85.56 kB / 432.2 MB, free: 1.066 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004298/0.7052, allocations: 152.7 kB / 432.3 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.7052, allocations: 0 / 432.3 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.7052, allocations: 3.938 kB / 432.3 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.7052, allocations: 0 / 432.3 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00368/0.7089, allocations: 1.961 MB / 434.3 MB, free: 96 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.709, allocations: 7.844 kB / 434.3 MB, free: 92 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.965e-05/0.709, allocations: 0 / 434.3 MB, free: 92 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.709, allocations: 0 / 434.3 MB, free: 92 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.534e-05/0.7091, allocations: 30.58 kB / 434.3 MB, free: 88 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.7092, allocations: 3.812 kB / 434.3 MB, free: 88 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.7092, allocations: 0 / 434.3 MB, free: 88 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002967/0.7121, allocations: 1.394 MB / 435.7 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001689/0.7139, allocations: 0.5583 MB / 436.3 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002997/0.7142, allocations: 59.53 kB / 436.3 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000563/0.7148, allocations: 39.81 kB / 436.4 MB, free: 14.94 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007141/0.7155, allocations: 240.2 kB / 436.6 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002422/0.7158, allocations: 132.9 kB / 436.8 MB, free: 14.64 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002232/0.718, allocations: 0.854 MB / 437.6 MB, free: 13.94 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.763e-06/0.7181, allocations: 0 / 437.6 MB, free: 13.94 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000919/0.719, allocations: 126.3 kB / 437.7 MB, free: 13.82 MB / 330.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.0004143/0.7194, allocations: 184.8 kB / 437.9 MB, free: 13.64 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003007/0.7225, allocations: 1.533 MB / 439.4 MB, free: 12.13 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.7225, allocations: 0 / 439.4 MB, free: 12.13 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001979/0.7245, allocations: 1.144 MB / 440.6 MB, free: 10.9 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001864/0.7264, allocations: 269.7 kB / 440.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005591/0.732, allocations: 2.135 MB / 443 MB, free: 8.469 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00146/0.7336, allocations: 1.035 MB / 444 MB, free: 7.402 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002563/0.7339, allocations: 29.53 kB / 444 MB, free: 7.375 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.155e-05/0.7339, allocations: 19.42 kB / 444.1 MB, free: 7.355 MB / 330.7 MB Notification: Performance of SimCode: time 1.022e-06/0.7339, allocations: 3.938 kB / 444.1 MB, free: 7.352 MB / 330.7 MB Notification: Performance of Templates: time 0.03156/0.7655, allocations: 12.66 MB / 456.7 MB, free: 10.47 MB / 346.7 MB