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.DFFREGSRL.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.DFFREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGSRL.dataOut.1.|dFFREGSRL.dataOut.2.",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGSRL") Notification: Performance of loadModel(Modelica): time 1.643/1.643, allocations: 171.2 MB / 186.7 MB, free: 1.031 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003679/0.0003679, allocations: 16 kB / 233.8 MB, free: 2.379 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09692/0.09731, allocations: 38.77 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3619/0.4592, allocations: 72.95 MB / 345.6 MB, free: 428 kB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/0.4596, allocations: 68.97 kB / 345.6 MB, free: 392 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1079/0.5675, allocations: 31.71 MB / 377.3 MB, free: 5.598 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.187e-05/0.5676, allocations: 4 kB / 377.3 MB, free: 5.594 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.229e-05/0.5677, allocations: 19.69 kB / 377.4 MB, free: 5.578 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.002649/0.5703, allocations: 1.462 MB / 378.8 MB, free: 4.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.5704, allocations: 8.031 kB / 378.8 MB, free: 4.082 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004053/0.5708, allocations: 134.4 kB / 379 MB, free: 3.949 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/0.5722, allocations: 0.5148 MB / 379.5 MB, free: 3.418 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.97e-05/0.5723, allocations: 31.36 kB / 379.5 MB, free: 3.395 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/0.5724, allocations: 31.81 kB / 379.5 MB, free: 3.367 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/0.5741, allocations: 0.6275 MB / 380.2 MB, free: 2.887 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.5742, allocations: 0 / 380.2 MB, free: 2.887 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.5743, allocations: 15.44 kB / 380.2 MB, free: 2.875 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.5743, allocations: 0 / 380.2 MB, free: 2.875 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.5756, allocations: 462.2 kB / 380.6 MB, free: 2.555 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002782/0.5784, allocations: 1.04 MB / 381.7 MB, free: 1.688 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.5801, allocations: 0.6882 MB / 382.4 MB, free: 1.281 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.5801, allocations: 4.141 kB / 382.4 MB, free: 1.277 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001794/0.582, allocations: 0.7647 MB / 383.1 MB, free: 0.625 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 4.268e-06/0.582, allocations: 0 / 383.1 MB, free: 0.625 MB / 298.7 MB Notification: Performance of matching and sorting (n=36): time 0.005095/0.5871, allocations: 2.132 MB / 385.3 MB, free: 14.58 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003164/0.5875, allocations: 325 kB / 385.6 MB, free: 14.2 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003889/0.5914, allocations: 1.646 MB / 387.2 MB, free: 12.54 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002918/0.5917, allocations: 45.69 kB / 387.3 MB, free: 12.48 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002977/0.592, allocations: 210.6 kB / 387.5 MB, free: 12.27 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002267/0.5923, allocations: 95.02 kB / 387.6 MB, free: 12.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.243e-05/0.5924, allocations: 12 kB / 387.6 MB, free: 12.17 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002122/0.5926, allocations: 366.8 kB / 387.9 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/0.5938, allocations: 443.9 kB / 388.4 MB, free: 11.36 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001197/0.5951, allocations: 474.1 kB / 388.8 MB, free: 10.89 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.5962, allocations: 0.587 MB / 389.4 MB, free: 10.26 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.5962, allocations: 4 kB / 389.4 MB, free: 10.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.003237/0.5995, allocations: 1.365 MB / 390.8 MB, free: 8.832 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003184/0.5998, allocations: 285.5 kB / 391.1 MB, free: 8.504 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.5998, allocations: 3.984 kB / 391.1 MB, free: 8.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.5999, allocations: 4 kB / 391.1 MB, free: 8.496 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.374e-05/0.5999, allocations: 7.922 kB / 391.1 MB, free: 8.488 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.6, allocations: 4 kB / 391.1 MB, free: 8.484 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006297/0.6006, allocations: 43.88 kB / 391.1 MB, free: 8.441 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002868/0.6009, allocations: 160 kB / 391.3 MB, free: 8.285 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: 43 ($PRE.dFFREGSRL.delay.inertialDelaySensitive[2].y,$PRE.dFFREGSRL.delay.inertialDelaySensitive[1].y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,$PRE.dFFREGSRL.delay.inertialDelaySensitive[1].x,dFFREGSRL.delay.inertialDelaySensitive[1].x,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGSRL.dFFSR.set,dFFREGSRL.dFFSR.set,$PRE.dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.reset,$PRE.dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.dataIn[1],dFFREGSRL.dFFSR.dataIn[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.next_assign_val[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 14 * 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.001943/0.6029, allocations: 0.9401 MB / 392.2 MB, free: 7.285 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002956/0.6032, allocations: 130.5 kB / 392.4 MB, free: 7.156 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005488/0.6037, allocations: 199.8 kB / 392.5 MB, free: 6.953 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.6038, allocations: 0 / 392.5 MB, free: 6.953 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.6038, allocations: 4 kB / 392.6 MB, free: 6.949 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.6038, allocations: 0 / 392.6 MB, free: 6.949 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005336/0.6091, allocations: 2.36 MB / 394.9 MB, free: 4.477 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.6092, allocations: 0 / 394.9 MB, free: 4.477 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.915e-05/0.6092, allocations: 4 kB / 394.9 MB, free: 4.473 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.6093, allocations: 0 / 394.9 MB, free: 4.473 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000161/0.6094, allocations: 43.95 kB / 395 MB, free: 4.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.6094, allocations: 7.875 kB / 395 MB, free: 4.422 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6095, allocations: 0 / 395 MB, free: 4.422 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003787/0.6132, allocations: 1.642 MB / 396.6 MB, free: 2.711 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001959/0.6153, allocations: 0.6551 MB / 397.3 MB, free: 2.035 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003529/0.6156, allocations: 67.95 kB / 397.3 MB, free: 1.969 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005959/0.6162, allocations: 35.97 kB / 397.4 MB, free: 1.934 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009466/0.6172, allocations: 351.6 kB / 397.7 MB, free: 1.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002843/0.6175, allocations: 155.9 kB / 397.9 MB, free: 1.438 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.003015/0.6205, allocations: 1.212 MB / 399.1 MB, free: 228 kB / 314.7 MB Notification: Performance of sort global known variables: time 1.102e-06/0.6206, allocations: 0 / 399.1 MB, free: 228 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009939/0.6216, allocations: 148 kB / 399.2 MB, free: 80 kB / 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: 36 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,dFFREGSRL.delay.inertialDelaySensitive[1].x,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,dFFREGSRL.dFFSR.set,dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.dataIn[1],dFFREGSRL.dFFSR.dataIn[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.next_assign_val[2]) * Number of discrete states: 34 (set.y,data_1.y,reset.y,data_0.y,clock.y,dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.next_assign_val[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.set,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREGSRL.delay.inertialDelaySensitive[1].x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 7 * 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.0004395/0.622, allocations: 197.7 kB / 399.4 MB, free: 15.88 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003726/0.6258, allocations: 1.916 MB / 401.3 MB, free: 13.86 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.6258, allocations: 8.062 kB / 401.3 MB, free: 13.85 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002287/0.6281, allocations: 1.393 MB / 402.7 MB, free: 12.36 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00193/0.6301, allocations: 300 kB / 403 MB, free: 12.07 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006893/0.637, allocations: 2.926 MB / 405.9 MB, free: 9.109 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001497/0.6386, allocations: 1.17 MB / 407.1 MB, free: 7.914 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003819/0.639, allocations: 79.2 kB / 407.2 MB, free: 7.832 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.04e-05/0.6391, allocations: 31.38 kB / 407.2 MB, free: 7.801 MB / 330.7 MB Notification: Performance of SimCode: time 1.142e-06/0.6391, allocations: 0 / 407.2 MB, free: 7.801 MB / 330.7 MB Notification: Performance of Templates: time 0.03727/0.6764, allocations: 15.47 MB / 422.7 MB, free: 7.938 MB / 346.7 MB