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.001052/0.001053, allocations: 202.6 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.242/1.242, allocations: 227.2 MB / 245 MB, free: 7.637 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000869/0.000869, allocations: 93.19 kB / 297.3 MB, free: 6.188 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002255/0.0002255, allocations: 4 kB / 357.9 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.186, allocations: 51.49 MB / 409.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09225/0.2783, allocations: 84.11 MB / 493.5 MB, free: 6.496 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001989/0.2786, allocations: 68.91 kB / 493.6 MB, free: 6.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2163/0.4949, allocations: 39.03 MB / 0.5201 GB, free: 90.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4949, allocations: 0 / 0.5201 GB, free: 90.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.721e-05/0.4949, allocations: 14.41 kB / 0.5202 GB, free: 90.66 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.001457/0.4964, allocations: 1.52 MB / 0.5216 GB, free: 89.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.4964, allocations: 7.812 kB / 0.5216 GB, free: 89.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000187/0.4966, allocations: 139.5 kB / 0.5218 GB, free: 89.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000665/0.4973, allocations: 0.5094 MB / 0.5223 GB, free: 88.83 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.072e-05/0.4974, allocations: 27.98 kB / 0.5223 GB, free: 88.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.692e-05/0.4974, allocations: 28 kB / 0.5223 GB, free: 88.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007972/0.4982, allocations: 0.6222 MB / 0.5229 GB, free: 88.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.4983, allocations: 0 / 0.5229 GB, free: 88.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.364e-05/0.4983, allocations: 23.92 kB / 0.523 GB, free: 88.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.4983, allocations: 11.83 kB / 0.523 GB, free: 88.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000532/0.4989, allocations: 471.7 kB / 0.5234 GB, free: 87.65 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001648/0.5005, allocations: 1.173 MB / 0.5246 GB, free: 86.44 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006177/0.5012, allocations: 0.7052 MB / 0.5253 GB, free: 85.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.5012, allocations: 4 kB / 0.5253 GB, free: 85.72 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006998/0.5019, allocations: 0.7607 MB / 0.526 GB, free: 84.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 1.583e-06/0.5019, allocations: 0 / 0.526 GB, free: 84.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.002005/0.5039, allocations: 2.128 MB / 0.5281 GB, free: 82.69 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.504, allocations: 329 kB / 0.5284 GB, free: 82.31 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001816/0.5058, allocations: 1.636 MB / 0.53 GB, free: 80.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.247e-05/0.5059, allocations: 41.7 kB / 0.53 GB, free: 80.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.5061, allocations: 242.5 kB / 0.5303 GB, free: 80.37 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.542e-05/0.5062, allocations: 74.45 kB / 0.5303 GB, free: 80.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.422e-05/0.5063, allocations: 23.98 kB / 0.5304 GB, free: 80.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.565e-05/0.5064, allocations: 386.5 kB / 0.5307 GB, free: 79.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004859/0.5068, allocations: 451.7 kB / 0.5312 GB, free: 79.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004852/0.5073, allocations: 482.3 kB / 0.5316 GB, free: 78.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004491/0.5078, allocations: 0.5888 MB / 0.5322 GB, free: 78.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5078, allocations: 0 / 0.5322 GB, free: 78.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001339/0.5092, allocations: 1.361 MB / 0.5335 GB, free: 76.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001189/0.5093, allocations: 297.5 kB / 0.5338 GB, free: 76.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.5093, allocations: 4 kB / 0.5338 GB, free: 76.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.5093, allocations: 0 / 0.5338 GB, free: 76.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.058e-05/0.5093, allocations: 4 kB / 0.5338 GB, free: 76.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.5094, allocations: 0 / 0.5338 GB, free: 76.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000312/0.5097, allocations: 47.66 kB / 0.5339 GB, free: 76.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.5098, allocations: 128 kB / 0.534 GB, free: 76.41 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.000804/0.5106, allocations: 1.003 MB / 0.535 GB, free: 75.35 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.5107, allocations: 130.5 kB / 0.5351 GB, free: 75.22 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000296/0.511, allocations: 251.9 kB / 0.5353 GB, free: 74.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.511, allocations: 4 kB / 0.5353 GB, free: 74.97 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.511, allocations: 0 / 0.5353 GB, free: 74.97 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.5111, allocations: 0 / 0.5353 GB, free: 74.97 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002269/0.5133, allocations: 2.423 MB / 0.5377 GB, free: 72.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.5133, allocations: 0 / 0.5377 GB, free: 72.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.656e-06/0.5134, allocations: 4 kB / 0.5377 GB, free: 72.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.5134, allocations: 0 / 0.5377 GB, free: 72.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.324e-05/0.5134, allocations: 35.97 kB / 0.5377 GB, free: 72.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.5134, allocations: 0 / 0.5377 GB, free: 72.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5134, allocations: 4 kB / 0.5377 GB, free: 72.4 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001532/0.515, allocations: 1.656 MB / 0.5394 GB, free: 70.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008556/0.5159, allocations: 0.6823 MB / 0.54 GB, free: 69.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001497/0.516, allocations: 67.95 kB / 0.5401 GB, free: 69.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002942/0.5163, allocations: 35.41 kB / 0.5401 GB, free: 69.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004089/0.5167, allocations: 375.6 kB / 0.5405 GB, free: 69.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001101/0.5168, allocations: 135.9 kB / 0.5406 GB, free: 69.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001389/0.5182, allocations: 1.341 MB / 0.5419 GB, free: 68.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5183, allocations: 0 / 0.5419 GB, free: 68.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004183/0.5187, allocations: 152 kB / 0.5421 GB, free: 67.89 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.0001841/0.5189, allocations: 189.5 kB / 0.5422 GB, free: 67.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001454/0.5203, allocations: 1.932 MB / 0.5441 GB, free: 65.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5203, allocations: 0 / 0.5441 GB, free: 65.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008816/0.5212, allocations: 1.436 MB / 0.5455 GB, free: 64.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008973/0.5221, allocations: 311.4 kB / 0.5458 GB, free: 63.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003016/0.5252, allocations: 3.161 MB / 0.5489 GB, free: 60.65 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007438/0.5259, allocations: 1.219 MB / 0.5501 GB, free: 59.4 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000131/0.5261, allocations: 44.62 kB / 0.5501 GB, free: 59.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.138e-05/0.5261, allocations: 15.44 kB / 0.5502 GB, free: 59.34 MB / 378.7 MB Notification: Performance of SimCode: time 4.1e-07/0.5261, allocations: 0 / 0.5502 GB, free: 59.34 MB / 378.7 MB Notification: Performance of Templates: time 0.01456/0.5407, allocations: 15.23 MB / 0.565 GB, free: 43.89 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/jenkins/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