Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL") 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_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001832/0.001838, allocations: 201.1 kB / 18.11 MB, free: 3.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.775/1.775, allocations: 226.5 MB / 245.4 MB, free: 8.137 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007913/0.0007913, allocations: 101.3 kB / 297.5 MB, free: 6.867 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002897/0.0002898, allocations: 4 kB / 358.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2157, allocations: 51.29 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1298/0.3456, allocations: 84.04 MB / 493.4 MB, free: 7.461 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/0.3459, allocations: 67.97 kB / 493.5 MB, free: 7.395 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3155/0.6614, allocations: 39.05 MB / 0.5201 GB, free: 91.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.6615, allocations: 4 kB / 0.5201 GB, free: 91.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.425e-05/0.6615, allocations: 12.81 kB / 0.5201 GB, free: 91.79 MB / 378.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.001238/0.6627, allocations: 1.505 MB / 0.5215 GB, free: 90.47 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.6628, allocations: 7.906 kB / 0.5215 GB, free: 90.47 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.6629, allocations: 134.6 kB / 0.5217 GB, free: 90.4 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005203/0.6635, allocations: 0.5654 MB / 0.5222 GB, free: 89.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.968e-05/0.6635, allocations: 20.22 kB / 0.5222 GB, free: 89.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.037e-05/0.6636, allocations: 35.39 kB / 0.5223 GB, free: 89.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007831/0.6644, allocations: 0.6154 MB / 0.5229 GB, free: 89.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.6644, allocations: 4.188 kB / 0.5229 GB, free: 89.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.119e-05/0.6644, allocations: 19.88 kB / 0.5229 GB, free: 89.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.6645, allocations: 4 kB / 0.5229 GB, free: 89.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005389/0.665, allocations: 467.7 kB / 0.5234 GB, free: 89.13 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.6664, allocations: 1.171 MB / 0.5245 GB, free: 87.92 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006192/0.667, allocations: 0.6858 MB / 0.5252 GB, free: 87.22 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00057/0.6676, allocations: 0.6878 MB / 0.5258 GB, free: 86.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.6676, allocations: 3.984 kB / 0.5258 GB, free: 86.53 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006931/0.6683, allocations: 0.7527 MB / 0.5266 GB, free: 85.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 2.735e-06/0.6683, allocations: 0 / 0.5266 GB, free: 85.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.002012/0.6703, allocations: 1.877 MB / 0.5284 GB, free: 83.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.6705, allocations: 325 kB / 0.5287 GB, free: 83.44 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001998/0.6725, allocations: 1.862 MB / 0.5305 GB, free: 81.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.97e-05/0.6726, allocations: 45.69 kB / 0.5306 GB, free: 81.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.6728, allocations: 238.5 kB / 0.5308 GB, free: 81.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.897e-05/0.6728, allocations: 81.86 kB / 0.5309 GB, free: 81.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.6729, allocations: 12 kB / 0.5309 GB, free: 81.19 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.992e-05/0.673, allocations: 382.7 kB / 0.5313 GB, free: 80.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000497/0.6735, allocations: 443.7 kB / 0.5317 GB, free: 80.37 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004866/0.674, allocations: 486 kB / 0.5321 GB, free: 79.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008787/0.6749, allocations: 1.163 MB / 0.5333 GB, free: 78.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.6749, allocations: 0 / 0.5333 GB, free: 78.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001356/0.6763, allocations: 1.367 MB / 0.5346 GB, free: 77.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001403/0.6764, allocations: 297.5 kB / 0.5349 GB, free: 76.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.6764, allocations: 0 / 0.5349 GB, free: 76.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.6764, allocations: 7.938 kB / 0.5349 GB, free: 76.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.603e-05/0.6765, allocations: 3.844 kB / 0.5349 GB, free: 76.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.6765, allocations: 0 / 0.5349 GB, free: 76.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003374/0.6768, allocations: 51.94 kB / 0.535 GB, free: 76.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.677, allocations: 120.2 kB / 0.5351 GB, free: 76.69 MB / 378.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.0009376/0.6779, allocations: 0.9915 MB / 0.536 GB, free: 75.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.678, allocations: 130.5 kB / 0.5362 GB, free: 75.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003089/0.6783, allocations: 255.8 kB / 0.5364 GB, free: 75.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.6783, allocations: 0 / 0.5364 GB, free: 75.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.6784, allocations: 0 / 0.5364 GB, free: 75.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.6784, allocations: 0 / 0.5364 GB, free: 75.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002413/0.6808, allocations: 2.439 MB / 0.5388 GB, free: 72.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.6808, allocations: 3.938 kB / 0.5388 GB, free: 72.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.027e-05/0.6808, allocations: 4 kB / 0.5388 GB, free: 72.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.6808, allocations: 0 / 0.5388 GB, free: 72.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.155e-05/0.6809, allocations: 39.97 kB / 0.5388 GB, free: 72.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.6809, allocations: 0 / 0.5388 GB, free: 72.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.6809, allocations: 4 kB / 0.5388 GB, free: 72.67 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/0.6825, allocations: 1.641 MB / 0.5404 GB, free: 70.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007802/0.6832, allocations: 0.6784 MB / 0.5411 GB, free: 70.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/0.6834, allocations: 63.95 kB / 0.5412 GB, free: 70.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002929/0.6837, allocations: 35.81 kB / 0.5412 GB, free: 70.17 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004605/0.6842, allocations: 379.5 kB / 0.5416 GB, free: 69.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001216/0.6843, allocations: 131.9 kB / 0.5417 GB, free: 69.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001483/0.6858, allocations: 1.35 MB / 0.543 GB, free: 68.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6858, allocations: 4 kB / 0.543 GB, free: 68.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004713/0.6863, allocations: 148 kB / 0.5432 GB, free: 68.18 MB / 378.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.0002176/0.6865, allocations: 177.6 kB / 0.5433 GB, free: 67.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001593/0.6881, allocations: 1.924 MB / 0.5452 GB, free: 65.97 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.6881, allocations: 0 / 0.5452 GB, free: 65.97 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.6892, allocations: 1.431 MB / 0.5466 GB, free: 64.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/0.6903, allocations: 321 kB / 0.5469 GB, free: 64.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003531/0.6939, allocations: 3.142 MB / 0.55 GB, free: 60.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007837/0.6947, allocations: 1.196 MB / 0.5511 GB, free: 59.74 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001582/0.6948, allocations: 41.48 kB / 0.5512 GB, free: 59.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.974e-05/0.6949, allocations: 23.44 kB / 0.5512 GB, free: 59.68 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.6949, allocations: 0 / 0.5512 GB, free: 59.68 MB / 378.7 MB Notification: Performance of Templates: time 0.01642/0.7113, allocations: 15.29 MB / 0.5661 GB, free: 44.17 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/DLATREGSRL/DLATREGSRL.csv","../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches