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.DLATREGSRH.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.DLATREGSRH,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREGSRH.delay.inertialDelaySensitive.1..x|dLATREGSRH.delay.inertialDelaySensitive.1..y|dLATREGSRH.delay.inertialDelaySensitive.2..x|dLATREGSRH.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGSRH") Notification: Performance of loadModel(Modelica): time 1.925/1.925, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003792/0.0003794, allocations: 8 kB / 233.9 MB, free: 2.398 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09569/0.09609, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3852/0.4814, allocations: 72.78 MB / 345.4 MB, free: 0.625 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/0.4817, allocations: 79.08 kB / 345.5 MB, free: 0.582 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1054/0.5872, allocations: 29.98 MB / 375.5 MB, free: 7.531 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5872, allocations: 3.938 kB / 375.5 MB, free: 7.527 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.032e-05/0.5873, allocations: 20 kB / 375.5 MB, free: 7.508 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.003073/0.5904, allocations: 1.493 MB / 377 MB, free: 5.988 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.5904, allocations: 8.031 kB / 377 MB, free: 5.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004017/0.5909, allocations: 134.4 kB / 377.1 MB, free: 5.848 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/0.5922, allocations: 0.5083 MB / 377.6 MB, free: 5.328 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.952e-05/0.5923, allocations: 26.12 kB / 377.7 MB, free: 5.309 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.5924, allocations: 26.81 kB / 377.7 MB, free: 5.285 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/0.5941, allocations: 0.6238 MB / 378.3 MB, free: 4.812 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.5942, allocations: 4 kB / 378.3 MB, free: 4.809 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.5943, allocations: 27.81 kB / 378.3 MB, free: 4.785 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.5943, allocations: 4 kB / 378.3 MB, free: 4.781 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00126/0.5956, allocations: 464.4 kB / 378.8 MB, free: 4.465 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003029/0.5986, allocations: 1.123 MB / 379.9 MB, free: 3.539 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/0.6003, allocations: 0.6949 MB / 380.6 MB, free: 3.137 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.6004, allocations: 3.938 kB / 380.6 MB, free: 3.133 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001679/0.6021, allocations: 0.7381 MB / 381.3 MB, free: 2.504 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 3.977e-06/0.6021, allocations: 8 kB / 381.4 MB, free: 2.496 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.004963/0.6071, allocations: 2.119 MB / 383.5 MB, free: 400 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003279/0.6075, allocations: 329 kB / 383.8 MB, free: 8 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004021/0.6115, allocations: 1.671 MB / 385.5 MB, free: 14.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002977/0.6119, allocations: 49.69 kB / 385.5 MB, free: 14.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000327/0.6122, allocations: 222.5 kB / 385.7 MB, free: 14.04 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002557/0.6125, allocations: 83.14 kB / 385.8 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.711e-05/0.6126, allocations: 15.98 kB / 385.8 MB, free: 13.95 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002285/0.6128, allocations: 370.8 kB / 386.2 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/0.6141, allocations: 443.8 kB / 386.6 MB, free: 13.14 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001322/0.6154, allocations: 486 kB / 387.1 MB, free: 12.66 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.6167, allocations: 0.5755 MB / 387.7 MB, free: 12.03 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/0.6167, allocations: 4 kB / 387.7 MB, free: 12.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.003367/0.6201, allocations: 1.349 MB / 389 MB, free: 10.62 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003594/0.6205, allocations: 293.6 kB / 389.3 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.6205, allocations: 0 / 389.3 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.6205, allocations: 4 kB / 389.3 MB, free: 10.28 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.71e-05/0.6206, allocations: 4 kB / 389.3 MB, free: 10.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.6206, allocations: 3.984 kB / 389.3 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007032/0.6213, allocations: 43.91 kB / 389.4 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002797/0.6216, allocations: 136.1 kB / 389.5 MB, free: 10.1 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.dLATREGSRH.delay.inertialDelaySensitive[2].y,$PRE.dLATREGSRH.delay.inertialDelaySensitive[1].y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,set.y,$PRE.dLATREGSRH.delay.inertialDelaySensitive[1].x,dLATREGSRH.delay.inertialDelaySensitive[1].x,dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.delay.inertialDelaySensitive[1].delayTime,dLATREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[1].y_old,dLATREGSRH.delay.inertialDelaySensitive[1].lh,dLATREGSRH.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREGSRH.delay.inertialDelaySensitive[2].x,dLATREGSRH.delay.inertialDelaySensitive[2].x,dLATREGSRH.delay.inertialDelaySensitive[2].y,dLATREGSRH.delay.inertialDelaySensitive[2].delayTime,dLATREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[2].y_old,dLATREGSRH.delay.inertialDelaySensitive[2].lh,dLATREGSRH.delay.inertialDelaySensitive[2].t_next,dLATREGSRH.dLATSR.dataIn[1],dLATREGSRH.dLATSR.dataIn[2],dLATREGSRH.dLATSR.dataOut[1],dLATREGSRH.dLATSR.dataOut[2],dLATREGSRH.dLATSR.enable_flag,dLATREGSRH.dLATSR.reset_set_flag,dLATREGSRH.dLATSR.nextstate[1],dLATREGSRH.dLATSR.nextstate[2],dLATREGSRH.dLATSR.next_assign_val[1],dLATREGSRH.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.002186/0.6238, allocations: 0.9376 MB / 390.4 MB, free: 9.102 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003352/0.6242, allocations: 134.4 kB / 390.6 MB, free: 8.969 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006458/0.6248, allocations: 196.1 kB / 390.8 MB, free: 8.777 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.6249, allocations: 0 / 390.8 MB, free: 8.777 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.6249, allocations: 0 / 390.8 MB, free: 8.777 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.6249, allocations: 0 / 390.8 MB, free: 8.777 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006912/0.6318, allocations: 2.357 MB / 393.1 MB, free: 6.309 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.6319, allocations: 3.938 kB / 393.1 MB, free: 6.305 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.284e-05/0.6319, allocations: 7.984 kB / 393.1 MB, free: 6.297 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-05/0.6319, allocations: 4 kB / 393.1 MB, free: 6.293 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001615/0.6321, allocations: 31.98 kB / 393.2 MB, free: 6.262 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.486e-06/0.6321, allocations: 4 kB / 393.2 MB, free: 6.258 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6321, allocations: 0 / 393.2 MB, free: 6.258 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004916/0.6371, allocations: 1.661 MB / 394.8 MB, free: 4.527 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002593/0.6397, allocations: 0.6513 MB / 395.5 MB, free: 3.855 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005142/0.6403, allocations: 55.97 kB / 395.5 MB, free: 3.801 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008925/0.6412, allocations: 43.88 kB / 395.6 MB, free: 3.758 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001378/0.6426, allocations: 375.6 kB / 395.9 MB, free: 3.391 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003894/0.643, allocations: 135.9 kB / 396.1 MB, free: 3.258 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.004461/0.6475, allocations: 1.224 MB / 397.3 MB, free: 2.031 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.42e-07/0.6476, allocations: 0 / 397.3 MB, free: 2.031 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001494/0.6491, allocations: 148 kB / 397.5 MB, free: 1.887 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: 33 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,set.y,dLATREGSRH.delay.inertialDelaySensitive[1].x,dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.delay.inertialDelaySensitive[1].delayTime,dLATREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[1].y_old,dLATREGSRH.delay.inertialDelaySensitive[1].lh,dLATREGSRH.delay.inertialDelaySensitive[1].t_next,dLATREGSRH.delay.inertialDelaySensitive[2].x,dLATREGSRH.delay.inertialDelaySensitive[2].y,dLATREGSRH.delay.inertialDelaySensitive[2].delayTime,dLATREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[2].y_old,dLATREGSRH.delay.inertialDelaySensitive[2].lh,dLATREGSRH.delay.inertialDelaySensitive[2].t_next,dLATREGSRH.dLATSR.dataIn[1],dLATREGSRH.dLATSR.dataIn[2],dLATREGSRH.dLATSR.dataOut[1],dLATREGSRH.dLATSR.dataOut[2],dLATREGSRH.dLATSR.enable_flag,dLATREGSRH.dLATSR.reset_set_flag,dLATREGSRH.dLATSR.nextstate[1],dLATREGSRH.dLATSR.nextstate[2],dLATREGSRH.dLATSR.next_assign_val[1],dLATREGSRH.dLATSR.next_assign_val[2]) * Number of discrete states: 31 (enable.y,data_0.y,reset.y,data_1.y,set.y,dLATREGSRH.dLATSR.dataOut[2],dLATREGSRH.dLATSR.dataOut[1],dLATREGSRH.dLATSR.next_assign_val[2],dLATREGSRH.dLATSR.next_assign_val[1],dLATREGSRH.dLATSR.nextstate[2],dLATREGSRH.dLATSR.nextstate[1],dLATREGSRH.dLATSR.reset_set_flag,dLATREGSRH.dLATSR.enable_flag,dLATREGSRH.delay.inertialDelaySensitive[2].y,dLATREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[2].t_next,dLATREGSRH.delay.inertialDelaySensitive[2].delayTime,dLATREGSRH.delay.inertialDelaySensitive[2].lh,dLATREGSRH.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREGSRH.delay.inertialDelaySensitive[2].x,dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[1].t_next,dLATREGSRH.delay.inertialDelaySensitive[1].delayTime,dLATREGSRH.delay.inertialDelaySensitive[1].lh,dLATREGSRH.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREGSRH.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.000546/0.6497, allocations: 193.7 kB / 397.6 MB, free: 1.688 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00511/0.6548, allocations: 1.917 MB / 399.6 MB, free: 15.67 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.6549, allocations: 3.938 kB / 399.6 MB, free: 15.67 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003232/0.6581, allocations: 1.44 MB / 401 MB, free: 14.13 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002817/0.661, allocations: 288.6 kB / 401.3 MB, free: 13.85 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009346/0.6703, allocations: 2.978 MB / 404.3 MB, free: 10.83 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002044/0.6724, allocations: 1.176 MB / 405.4 MB, free: 9.629 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003154/0.6728, allocations: 42.03 kB / 405.5 MB, free: 9.59 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.272e-05/0.6729, allocations: 15.44 kB / 405.5 MB, free: 9.574 MB / 330.7 MB Notification: Performance of SimCode: time 1.362e-06/0.6729, allocations: 0 / 405.5 MB, free: 9.574 MB / 330.7 MB Notification: Performance of Templates: time 0.04292/0.7158, allocations: 14.75 MB / 420.2 MB, free: 10.48 MB / 346.7 MB