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.DLATREGSRL.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.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.2_Modelica.Electrical.Digital.Examples.DLATREGSRL") Notification: Performance of loadModel(Modelica): time 2.349/2.349, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004955/0.0004957, allocations: 12 kB / 264.5 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1143, allocations: 44.5 MB / 309 MB, free: 380 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4432/0.5576, allocations: 78.15 MB / 387.2 MB, free: 15.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003475/0.558, allocations: 70.92 kB / 387.3 MB, free: 15.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.14/0.6981, allocations: 38.61 MB / 425.9 MB, free: 4.68 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.6981, allocations: 3.344 kB / 425.9 MB, free: 4.68 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.499e-05/0.6982, allocations: 17.31 kB / 425.9 MB, free: 4.676 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.003568/0.7018, allocations: 1.518 MB / 427.4 MB, free: 3.422 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.7018, allocations: 9.531 kB / 427.4 MB, free: 3.422 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003657/0.7022, allocations: 137.9 kB / 427.5 MB, free: 3.352 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.7034, allocations: 0.5135 MB / 428.1 MB, free: 2.996 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.187e-05/0.7035, allocations: 22.8 kB / 428.1 MB, free: 2.992 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.7036, allocations: 26.62 kB / 428.1 MB, free: 2.992 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.7051, allocations: 0.6226 MB / 428.7 MB, free: 2.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.7051, allocations: 7.938 kB / 428.7 MB, free: 2.812 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.667e-05/0.7052, allocations: 14.69 kB / 428.8 MB, free: 2.812 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.7053, allocations: 3.719 kB / 428.8 MB, free: 2.812 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.7064, allocations: 480.9 kB / 429.2 MB, free: 2.734 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002907/0.7094, allocations: 1.17 MB / 430.4 MB, free: 2.129 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/0.7108, allocations: 0.6933 MB / 431.1 MB, free: 2.035 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.7109, allocations: 3.875 kB / 431.1 MB, free: 2.035 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001463/0.7123, allocations: 0.7574 MB / 431.9 MB, free: 1.688 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 4.068e-06/0.7124, allocations: 4 kB / 431.9 MB, free: 1.684 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.003978/0.7164, allocations: 2.15 MB / 434 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001914/0.7166, allocations: 322.9 kB / 434.3 MB, free: 492 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004628/0.7212, allocations: 1.863 MB / 436.2 MB, free: 15.03 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002756/0.7216, allocations: 45.62 kB / 436.2 MB, free: 14.98 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004185/0.722, allocations: 241.7 kB / 436.5 MB, free: 14.83 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000223/0.7222, allocations: 70.67 kB / 436.5 MB, free: 14.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.494e-05/0.7223, allocations: 11.88 kB / 436.5 MB, free: 14.77 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002733/0.7226, allocations: 385.7 kB / 436.9 MB, free: 14.4 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001204/0.7238, allocations: 453.8 kB / 437.4 MB, free: 14.09 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/0.725, allocations: 488.3 kB / 437.8 MB, free: 13.74 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.7262, allocations: 0.5837 MB / 438.4 MB, free: 13.23 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.7263, allocations: 4 kB / 438.4 MB, free: 13.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.003274/0.7295, allocations: 1.364 MB / 439.8 MB, free: 12.11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003589/0.73, allocations: 304.2 kB / 440.1 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.73, allocations: 0 / 440.1 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.73, allocations: 0 / 440.1 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.13e-05/0.7301, allocations: 7.938 kB / 440.1 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.7301, allocations: 0 / 440.1 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006997/0.7308, allocations: 45.98 kB / 440.1 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002673/0.7311, allocations: 130.5 kB / 440.3 MB, free: 11.61 MB / 330.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.002322/0.7334, allocations: 0.9962 MB / 441.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003102/0.7337, allocations: 130.5 kB / 441.4 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008334/0.7346, allocations: 254.2 kB / 441.6 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.7346, allocations: 4 kB / 441.6 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.7346, allocations: 0 / 441.6 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.7346, allocations: 0 / 441.6 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005957/0.7406, allocations: 2.433 MB / 444.1 MB, free: 7.801 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.7407, allocations: 0 / 444.1 MB, free: 7.801 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.534e-05/0.7407, allocations: 15.92 kB / 444.1 MB, free: 7.785 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/0.7407, allocations: 3.953 kB / 444.1 MB, free: 7.781 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001641/0.7409, allocations: 35.98 kB / 444.1 MB, free: 7.746 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.7409, allocations: 0 / 444.1 MB, free: 7.746 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.7409, allocations: 0 / 444.1 MB, free: 7.746 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003864/0.7448, allocations: 1.666 MB / 445.8 MB, free: 6.016 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002179/0.747, allocations: 0.6823 MB / 446.5 MB, free: 5.312 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000393/0.7475, allocations: 67.92 kB / 446.5 MB, free: 5.246 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007796/0.7483, allocations: 43.97 kB / 446.6 MB, free: 5.203 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001068/0.7494, allocations: 379.5 kB / 447 MB, free: 4.832 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002884/0.7497, allocations: 131.9 kB / 447.1 MB, free: 4.703 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.003685/0.7534, allocations: 1.341 MB / 448.4 MB, free: 3.359 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.7534, allocations: 0 / 448.4 MB, free: 3.359 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009982/0.7545, allocations: 148 kB / 448.6 MB, free: 3.215 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.0004255/0.7549, allocations: 197.7 kB / 448.8 MB, free: 3.012 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003861/0.7588, allocations: 1.928 MB / 450.7 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.7588, allocations: 3.938 kB / 450.7 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002461/0.7613, allocations: 1.44 MB / 452.1 MB, free: 15.45 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002125/0.7635, allocations: 299.2 kB / 452.4 MB, free: 15.16 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008005/0.7715, allocations: 3.146 MB / 455.6 MB, free: 11.98 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001695/0.7733, allocations: 1.227 MB / 456.8 MB, free: 10.71 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002486/0.7736, allocations: 41.98 kB / 456.8 MB, free: 10.68 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.927e-05/0.7736, allocations: 19.44 kB / 456.9 MB, free: 10.66 MB / 346.7 MB Notification: Performance of SimCode: time 1.402e-06/0.7736, allocations: 0 / 456.9 MB, free: 10.66 MB / 346.7 MB Notification: Performance of Templates: time 0.0367/0.8103, allocations: 15.22 MB / 472.1 MB, free: 11.1 MB / 362.7 MB