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.DLATREG.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.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.1_Modelica.Electrical.Digital.Examples.DLATREG") Notification: Performance of loadModel(Modelica): time 1.789/1.789, allocations: 171.2 MB / 186.7 MB, free: 1.031 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003566, allocations: 12 kB / 233.8 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08706/0.08744, allocations: 38.78 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3783/0.4658, allocations: 72.48 MB / 345.1 MB, free: 0.875 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/0.4662, allocations: 71.22 kB / 345.2 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0907/0.5569, allocations: 26.57 MB / 371.7 MB, free: 10.8 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5569, allocations: 0 / 371.7 MB, free: 10.8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.211e-05/0.557, allocations: 15.94 kB / 371.8 MB, free: 10.79 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.001723/0.5587, allocations: 1.134 MB / 372.9 MB, free: 9.613 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.5588, allocations: 8.031 kB / 372.9 MB, free: 9.605 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002272/0.559, allocations: 86.97 kB / 373 MB, free: 9.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008501/0.5599, allocations: 402.7 kB / 373.4 MB, free: 9.117 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.42e-05/0.56, allocations: 22.61 kB / 373.4 MB, free: 9.102 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.5601, allocations: 23.19 kB / 373.4 MB, free: 9.082 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.5614, allocations: 499.4 kB / 373.9 MB, free: 8.703 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.5615, allocations: 0 / 373.9 MB, free: 8.703 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.549e-05/0.5616, allocations: 19.86 kB / 373.9 MB, free: 8.688 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.5616, allocations: 7.891 kB / 373.9 MB, free: 8.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009917/0.5626, allocations: 359.1 kB / 374.3 MB, free: 8.434 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002264/0.5649, allocations: 0.9226 MB / 375.2 MB, free: 7.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.5661, allocations: 0.496 MB / 375.7 MB, free: 7.352 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.5661, allocations: 0 / 375.7 MB, free: 7.352 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002036/0.5682, allocations: 0.6313 MB / 376.3 MB, free: 6.801 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 4.96e-06/0.5682, allocations: 0 / 376.3 MB, free: 6.801 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.006941/0.5752, allocations: 1.747 MB / 378.1 MB, free: 5.297 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004489/0.5757, allocations: 280.8 kB / 378.4 MB, free: 4.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004037/0.5798, allocations: 1.145 MB / 379.5 MB, free: 4.031 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002804/0.5801, allocations: 41.58 kB / 379.5 MB, free: 3.988 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/0.5803, allocations: 147.8 kB / 379.7 MB, free: 3.879 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002152/0.5806, allocations: 70.8 kB / 379.8 MB, free: 3.816 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.367e-05/0.5807, allocations: 11.88 kB / 379.8 MB, free: 3.809 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.5808, allocations: 341.8 kB / 380.1 MB, free: 3.477 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009096/0.5818, allocations: 339.5 kB / 380.4 MB, free: 3.246 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009119/0.5827, allocations: 365.5 kB / 380.8 MB, free: 2.988 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009768/0.5837, allocations: 497.2 kB / 381.3 MB, free: 2.469 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/0.5837, allocations: 112 / 381.3 MB, free: 2.469 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002715/0.5864, allocations: 1.109 MB / 382.4 MB, free: 1.312 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002811/0.5868, allocations: 247.8 kB / 382.6 MB, free: 1.027 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.5868, allocations: 0 / 382.6 MB, free: 1.027 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.5868, allocations: 0 / 382.6 MB, free: 1.027 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.282e-05/0.5869, allocations: 8 kB / 382.6 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.5869, allocations: 0 / 382.6 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005495/0.5875, allocations: 43.91 kB / 382.7 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002437/0.5877, allocations: 131.9 kB / 382.8 MB, free: 0.8477 MB / 298.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.001516/0.5892, allocations: 0.7608 MB / 383.6 MB, free: 36 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002561/0.5895, allocations: 87.14 kB / 383.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004691/0.59, allocations: 143.5 kB / 383.8 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.353e-06/0.59, allocations: 4 kB / 383.8 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.59, allocations: 0 / 383.8 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.5901, allocations: 0 / 383.8 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004228/0.5943, allocations: 1.947 MB / 385.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.5943, allocations: 4 kB / 385.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.935e-05/0.5944, allocations: 0 / 385.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.599e-05/0.5944, allocations: 4 kB / 385.8 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/0.5945, allocations: 35.97 kB / 385.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.5945, allocations: 0 / 385.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5945, allocations: 0 / 385.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003086/0.5976, allocations: 1.384 MB / 387.2 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001632/0.5993, allocations: 0.5621 MB / 387.7 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000281/0.5996, allocations: 55.91 kB / 387.8 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005346/0.6002, allocations: 35.97 kB / 387.8 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006771/0.6009, allocations: 235.7 kB / 388.1 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002592/0.6011, allocations: 127.9 kB / 388.2 MB, free: 11.24 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002302/0.6035, allocations: 0.8499 MB / 389 MB, free: 10.39 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.6035, allocations: 0 / 389 MB, free: 10.39 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000876/0.6044, allocations: 120 kB / 389.1 MB, free: 10.28 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.0003924/0.6048, allocations: 196.3 kB / 389.3 MB, free: 10.07 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00297/0.6078, allocations: 1.519 MB / 390.9 MB, free: 8.469 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.6078, allocations: 0 / 390.9 MB, free: 8.469 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001876/0.6097, allocations: 1.14 MB / 392 MB, free: 7.242 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/0.6116, allocations: 258.5 kB / 392.2 MB, free: 6.992 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004926/0.6166, allocations: 2.115 MB / 394.4 MB, free: 4.84 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001131/0.6178, allocations: 1.031 MB / 395.4 MB, free: 3.781 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002405/0.618, allocations: 33.5 kB / 395.4 MB, free: 3.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.386e-05/0.6181, allocations: 19.44 kB / 395.4 MB, free: 3.73 MB / 314.7 MB Notification: Performance of SimCode: time 1.143e-06/0.6181, allocations: 0 / 395.4 MB, free: 3.73 MB / 314.7 MB Notification: Performance of Templates: time 0.02978/0.6479, allocations: 12.64 MB / 408.1 MB, free: 6.859 MB / 330.7 MB