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.DLATREG.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.DLATREG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREG.delay.inertialDelaySensitive.1..x|dLATREG.delay.inertialDelaySensitive.1..y|dLATREG.delay.inertialDelaySensitive.2..x|dLATREG.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREG") Notification: Performance of loadModel(Modelica): time 2.244/2.244, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005268/0.0005268, allocations: 16 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.134, allocations: 44.5 MB / 309 MB, free: 388 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4628/0.5969, allocations: 77.78 MB / 386.8 MB, free: 15.52 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/0.5972, allocations: 72.25 kB / 386.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08826/0.6855, allocations: 26.65 MB / 413.5 MB, free: 9.754 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.6856, allocations: 3.938 kB / 413.6 MB, free: 9.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.747e-05/0.6856, allocations: 7.75 kB / 413.6 MB, free: 9.75 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.001447/0.6871, allocations: 1.14 MB / 414.7 MB, free: 8.766 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.6871, allocations: 7.844 kB / 414.7 MB, free: 8.766 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001988/0.6873, allocations: 84.94 kB / 414.8 MB, free: 8.727 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007265/0.6881, allocations: 410.8 kB / 415.2 MB, free: 8.434 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.918e-05/0.6882, allocations: 18.81 kB / 415.2 MB, free: 8.434 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.6883, allocations: 30.11 kB / 415.2 MB, free: 8.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.6895, allocations: 0.4947 MB / 415.7 MB, free: 8.277 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.6895, allocations: 0 / 415.7 MB, free: 8.277 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-05/0.6896, allocations: 11.31 kB / 415.7 MB, free: 8.277 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.6896, allocations: 3.875 kB / 415.7 MB, free: 8.277 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008729/0.6905, allocations: 366.6 kB / 416.1 MB, free: 8.211 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00204/0.6926, allocations: 0.9189 MB / 417 MB, free: 7.719 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.6937, allocations: 0.5031 MB / 417.5 MB, free: 7.629 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.6937, allocations: 0 / 417.5 MB, free: 7.629 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001224/0.695, allocations: 0.6364 MB / 418.2 MB, free: 7.312 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 2.805e-06/0.695, allocations: 0 / 418.2 MB, free: 7.312 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.003426/0.6984, allocations: 1.775 MB / 419.9 MB, free: 6.527 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001664/0.6986, allocations: 280.2 kB / 420.2 MB, free: 6.238 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002247/0.7009, allocations: 1.152 MB / 421.4 MB, free: 5.746 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001934/0.7011, allocations: 44.38 kB / 421.4 MB, free: 5.711 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.7013, allocations: 139.8 kB / 421.5 MB, free: 5.617 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000144/0.7014, allocations: 67.8 kB / 421.6 MB, free: 5.582 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.792e-05/0.7015, allocations: 18.55 kB / 421.6 MB, free: 5.574 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.857e-05/0.7016, allocations: 338.2 kB / 422 MB, free: 5.254 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001222/0.7029, allocations: 341.3 kB / 422.3 MB, free: 5.199 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001318/0.7042, allocations: 382.4 kB / 422.7 MB, free: 5.109 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/0.7055, allocations: 0.4908 MB / 423.2 MB, free: 4.832 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.7055, allocations: 0 / 423.2 MB, free: 4.832 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.003688/0.7092, allocations: 1.122 MB / 424.3 MB, free: 4.426 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00028/0.7095, allocations: 245 kB / 424.5 MB, free: 4.191 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.7095, allocations: 0 / 424.5 MB, free: 4.191 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.99e-05/0.7096, allocations: 3.984 kB / 424.5 MB, free: 4.188 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.245e-05/0.7097, allocations: 3.844 kB / 424.5 MB, free: 4.188 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.7097, allocations: 3.953 kB / 424.5 MB, free: 4.184 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000855/0.7106, allocations: 46.5 kB / 424.6 MB, free: 4.168 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002994/0.7109, allocations: 120 kB / 424.7 MB, free: 4.16 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.dLATREG.delay.inertialDelaySensitive[2].y,$PRE.dLATREG.delay.inertialDelaySensitive[1].y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,$PRE.dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].y_old,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREG.delay.inertialDelaySensitive[2].x,dLATREG.delay.inertialDelaySensitive[2].x,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].y_old,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.dLATR.dataIn[1],dLATREG.dLATR.dataIn[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.dataOut[2],dLATREG.dLATR.enable_flag,dLATREG.dLATR.reset_flag,dLATREG.dLATR.nextstate[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.next_assign_val[1],dLATREG.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.001874/0.7128, allocations: 0.7699 MB / 425.5 MB, free: 3.668 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002872/0.7131, allocations: 83.91 kB / 425.5 MB, free: 3.629 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005199/0.7136, allocations: 156.4 kB / 425.7 MB, free: 3.543 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.7136, allocations: 0 / 425.7 MB, free: 3.543 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.7137, allocations: 3.938 kB / 425.7 MB, free: 3.539 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.7137, allocations: 3.953 kB / 425.7 MB, free: 3.535 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00566/0.7194, allocations: 1.971 MB / 427.7 MB, free: 2.645 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.7194, allocations: 0 / 427.7 MB, free: 2.645 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2e-05/0.7195, allocations: 3.984 kB / 427.7 MB, free: 2.641 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.7195, allocations: 0 / 427.7 MB, free: 2.641 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.275e-05/0.7196, allocations: 34.8 kB / 427.7 MB, free: 2.637 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.7196, allocations: 7.953 kB / 427.7 MB, free: 2.629 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.7196, allocations: 0 / 427.7 MB, free: 2.629 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002573/0.7222, allocations: 1.387 MB / 429.1 MB, free: 2.086 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001342/0.7236, allocations: 0.5629 MB / 429.7 MB, free: 1.797 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002626/0.7238, allocations: 58 kB / 429.7 MB, free: 1.789 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005109/0.7244, allocations: 43.06 kB / 429.8 MB, free: 1.773 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005581/0.7249, allocations: 238.5 kB / 430 MB, free: 1.703 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001754/0.7251, allocations: 128.4 kB / 430.1 MB, free: 1.691 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001645/0.7268, allocations: 0.8506 MB / 431 MB, free: 1.344 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7268, allocations: 3.5 kB / 431 MB, free: 1.344 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007244/0.7275, allocations: 118.9 kB / 431.1 MB, free: 1.344 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,dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].y_old,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].t_next,dLATREG.delay.inertialDelaySensitive[2].x,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].y_old,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.dLATR.dataIn[1],dLATREG.dLATR.dataIn[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.dataOut[2],dLATREG.dLATR.enable_flag,dLATREG.dLATR.reset_flag,dLATREG.dLATR.nextstate[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.next_assign_val[1],dLATREG.dLATR.next_assign_val[2]) * Number of discrete states: 30 (enable.y,data_0.y,reset.y,data_1.y,dLATREG.dLATR.dataOut[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.next_assign_val[2],dLATREG.dLATR.next_assign_val[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.nextstate[1],dLATREG.dLATR.reset_flag,dLATREG.dLATR.enable_flag,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].t_next,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREG.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.0003137/0.7279, allocations: 190.7 kB / 431.3 MB, free: 1.215 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002369/0.7303, allocations: 1.533 MB / 432.8 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.7303, allocations: 0 / 432.8 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00149/0.7318, allocations: 1.149 MB / 434 MB, free: 112 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001695/0.7335, allocations: 264.9 kB / 434.2 MB, free: 16 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005016/0.7386, allocations: 2.14 MB / 436.4 MB, free: 14.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001201/0.7398, allocations: 1.034 MB / 437.4 MB, free: 13.75 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002459/0.7401, allocations: 37.95 kB / 437.4 MB, free: 13.71 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.01e-05/0.7402, allocations: 15.44 kB / 437.4 MB, free: 13.7 MB / 330.7 MB Notification: Performance of SimCode: time 1.954e-06/0.7402, allocations: 0 / 437.4 MB, free: 13.7 MB / 330.7 MB Notification: Performance of Templates: time 0.03611/0.7763, allocations: 12.66 MB / 450.1 MB, free: 0.8125 MB / 330.7 MB