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.DLATREGSRL.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.DLATREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREGSRL.delay.inertialDelaySensitive.1..x|dLATREGSRL.delay.inertialDelaySensitive.1..y|dLATREGSRL.delay.inertialDelaySensitive.2..x|dLATREGSRL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGSRL") Notification: Performance of loadModel(Modelica): time 1.977/1.977, allocations: 171.2 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005071/0.0005073, allocations: 11.98 kB / 233.9 MB, free: 2.391 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08678/0.08733, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.362/0.4493, allocations: 72.83 MB / 345.5 MB, free: 460 kB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/0.4496, allocations: 75.03 kB / 345.5 MB, free: 420 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2001/0.6498, allocations: 37.66 MB / 383.2 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.728e-05/0.6498, allocations: 4 kB / 383.2 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.233e-05/0.6499, allocations: 16 kB / 383.2 MB, free: 0.7617 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.002662/0.6526, allocations: 1.495 MB / 384.7 MB, free: 15.24 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.6527, allocations: 12.02 kB / 384.7 MB, free: 15.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003821/0.6531, allocations: 134.4 kB / 384.8 MB, free: 15.1 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.6544, allocations: 0.4997 MB / 385.3 MB, free: 14.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.117e-05/0.6545, allocations: 27.11 kB / 385.4 MB, free: 14.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.6546, allocations: 27.06 kB / 385.4 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/0.6563, allocations: 0.6234 MB / 386 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.6563, allocations: 0 / 386 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/0.6565, allocations: 19.95 kB / 386 MB, free: 14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.6565, allocations: 7.938 kB / 386 MB, free: 13.99 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/0.6578, allocations: 475.6 kB / 386.5 MB, free: 13.53 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003007/0.6608, allocations: 1.12 MB / 387.6 MB, free: 12.35 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001688/0.6625, allocations: 0.6898 MB / 388.3 MB, free: 11.65 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.6626, allocations: 0 / 388.3 MB, free: 11.65 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001743/0.6643, allocations: 0.7446 MB / 389.1 MB, free: 10.87 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 4.058e-06/0.6644, allocations: 0 / 389.1 MB, free: 10.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.005158/0.6696, allocations: 2.132 MB / 391.2 MB, free: 8.625 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004476/0.6701, allocations: 325 kB / 391.5 MB, free: 8.246 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004559/0.6746, allocations: 1.671 MB / 393.2 MB, free: 6.559 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002703/0.675, allocations: 41.7 kB / 393.2 MB, free: 6.512 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003271/0.6753, allocations: 234.4 kB / 393.5 MB, free: 6.277 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002163/0.6755, allocations: 79.2 kB / 393.5 MB, free: 6.199 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.583e-05/0.6756, allocations: 12 kB / 393.5 MB, free: 6.188 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002393/0.6759, allocations: 378.7 kB / 393.9 MB, free: 5.809 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/0.6771, allocations: 443.8 kB / 394.3 MB, free: 5.375 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/0.6784, allocations: 478.1 kB / 394.8 MB, free: 4.898 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.6796, allocations: 0.5794 MB / 395.4 MB, free: 4.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.6796, allocations: 0 / 395.4 MB, free: 4.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.003402/0.683, allocations: 1.353 MB / 396.7 MB, free: 2.859 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003434/0.6834, allocations: 301.5 kB / 397 MB, free: 2.516 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.6834, allocations: 0 / 397 MB, free: 2.516 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.6835, allocations: 0 / 397 MB, free: 2.516 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.307e-05/0.6835, allocations: 7.938 kB / 397.1 MB, free: 2.508 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.6835, allocations: 0 / 397.1 MB, free: 2.508 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006817/0.6842, allocations: 43.91 kB / 397.1 MB, free: 2.465 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000265/0.6845, allocations: 128.2 kB / 397.2 MB, free: 2.34 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: 37 ($PRE.dLATREGSRL.delay.inertialDelaySensitive[2].y,$PRE.dLATREGSRL.delay.inertialDelaySensitive[1].y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,set.y,$PRE.dLATREGSRL.delay.inertialDelaySensitive[1].x,dLATREGSRL.delay.inertialDelaySensitive[1].x,dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].delayTime,dLATREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[1].y_old,dLATREGSRL.delay.inertialDelaySensitive[1].lh,dLATREGSRL.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREGSRL.delay.inertialDelaySensitive[2].x,dLATREGSRL.delay.inertialDelaySensitive[2].x,dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].delayTime,dLATREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[2].y_old,dLATREGSRL.delay.inertialDelaySensitive[2].lh,dLATREGSRL.delay.inertialDelaySensitive[2].t_next,dLATREGSRL.dLATSR.dataIn[1],dLATREGSRL.dLATSR.dataIn[2],dLATREGSRL.dLATSR.dataOut[1],dLATREGSRL.dLATSR.dataOut[2],dLATREGSRL.dLATSR.enable_flag,dLATREGSRL.dLATSR.reset_set_flag,dLATREGSRL.dLATSR.nextstate[1],dLATREGSRL.dLATSR.nextstate[2],dLATREGSRL.dLATSR.next_assign_val[1],dLATREGSRL.dLATSR.next_assign_val[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 8 * 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.002075/0.6866, allocations: 0.9375 MB / 398.2 MB, free: 1.344 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003133/0.6869, allocations: 134.4 kB / 398.3 MB, free: 1.211 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006319/0.6876, allocations: 212 kB / 398.5 MB, free: 1.004 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.6876, allocations: 0 / 398.5 MB, free: 1.004 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.6876, allocations: 4 kB / 398.5 MB, free: 1 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.6876, allocations: 0 / 398.5 MB, free: 1 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005184/0.6928, allocations: 2.353 MB / 400.9 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.6929, allocations: 4 kB / 400.9 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.226e-05/0.6929, allocations: 0 / 400.9 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.6929, allocations: 3.938 kB / 400.9 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001185/0.6931, allocations: 39.97 kB / 400.9 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.6931, allocations: 0 / 400.9 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.6931, allocations: 3.984 kB / 400.9 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003679/0.6968, allocations: 1.653 MB / 402.6 MB, free: 12.76 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001897/0.6987, allocations: 0.6513 MB / 403.2 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003288/0.6991, allocations: 63.95 kB / 403.3 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006038/0.6997, allocations: 39.88 kB / 403.3 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009977/0.7007, allocations: 375.6 kB / 403.7 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002523/0.701, allocations: 131.9 kB / 403.8 MB, free: 11.49 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002866/0.7038, allocations: 1.217 MB / 405 MB, free: 10.27 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.7039, allocations: 3.938 kB / 405 MB, free: 10.27 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008851/0.7048, allocations: 152 kB / 405.2 MB, free: 10.12 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: 33 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,set.y,dLATREGSRL.delay.inertialDelaySensitive[1].x,dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].delayTime,dLATREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[1].y_old,dLATREGSRL.delay.inertialDelaySensitive[1].lh,dLATREGSRL.delay.inertialDelaySensitive[1].t_next,dLATREGSRL.delay.inertialDelaySensitive[2].x,dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].delayTime,dLATREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[2].y_old,dLATREGSRL.delay.inertialDelaySensitive[2].lh,dLATREGSRL.delay.inertialDelaySensitive[2].t_next,dLATREGSRL.dLATSR.dataIn[1],dLATREGSRL.dLATSR.dataIn[2],dLATREGSRL.dLATSR.dataOut[1],dLATREGSRL.dLATSR.dataOut[2],dLATREGSRL.dLATSR.enable_flag,dLATREGSRL.dLATSR.reset_set_flag,dLATREGSRL.dLATSR.nextstate[1],dLATREGSRL.dLATSR.nextstate[2],dLATREGSRL.dLATSR.next_assign_val[1],dLATREGSRL.dLATSR.next_assign_val[2]) * Number of discrete states: 31 (enable.y,data_0.y,reset.y,data_1.y,set.y,dLATREGSRL.dLATSR.dataOut[2],dLATREGSRL.dLATSR.dataOut[1],dLATREGSRL.dLATSR.next_assign_val[2],dLATREGSRL.dLATSR.next_assign_val[1],dLATREGSRL.dLATSR.nextstate[2],dLATREGSRL.dLATSR.nextstate[1],dLATREGSRL.dLATSR.reset_set_flag,dLATREGSRL.dLATSR.enable_flag,dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[2].t_next,dLATREGSRL.delay.inertialDelaySensitive[2].delayTime,dLATREGSRL.delay.inertialDelaySensitive[2].lh,dLATREGSRL.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREGSRL.delay.inertialDelaySensitive[2].x,dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[1].t_next,dLATREGSRL.delay.inertialDelaySensitive[1].delayTime,dLATREGSRL.delay.inertialDelaySensitive[1].lh,dLATREGSRL.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREGSRL.delay.inertialDelaySensitive[1].x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 8 * 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.0004276/0.7052, allocations: 197.6 kB / 405.4 MB, free: 9.918 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003799/0.709, allocations: 1.928 MB / 407.3 MB, free: 7.891 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.7091, allocations: 0 / 407.3 MB, free: 7.891 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002384/0.7114, allocations: 1.429 MB / 408.7 MB, free: 6.363 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001971/0.7134, allocations: 292.6 kB / 409 MB, free: 6.078 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006644/0.7201, allocations: 2.986 MB / 412 MB, free: 3.055 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001456/0.7216, allocations: 1.168 MB / 413.2 MB, free: 1.859 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002658/0.7219, allocations: 45.97 kB / 413.2 MB, free: 1.812 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.378e-05/0.7219, allocations: 15.44 kB / 413.2 MB, free: 1.797 MB / 330.7 MB Notification: Performance of SimCode: time 1.272e-06/0.722, allocations: 0 / 413.2 MB, free: 1.797 MB / 330.7 MB Notification: Performance of Templates: time 0.03432/0.7563, allocations: 14.74 MB / 428 MB, free: 2.711 MB / 346.7 MB