Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGL.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.DFFREGL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGL.dFFR.clock|dFFREGL.dFFR.reset|dFFREGL.delay.inertialDelaySensitive.1..x|dFFREGL.delay.inertialDelaySensitive.1..y|dFFREGL.delay.inertialDelaySensitive.2..x|dFFREGL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGL") translateModel(Modelica.Electrical.Digital.Examples.DFFREGL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGL.dFFR.clock|dFFREGL.dFFR.reset|dFFREGL.delay.inertialDelaySensitive.1..x|dFFREGL.delay.inertialDelaySensitive.1..y|dFFREGL.delay.inertialDelaySensitive.2..x|dFFREGL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001024/0.001024, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.207/1.207, allocations: 227.2 MB / 245 MB, free: 5.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008719/0.0008719, allocations: 96.31 kB / 297.3 MB, free: 5.984 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002605/0.0002605, allocations: 8 kB / 357.9 MB, free: 9.332 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1816, allocations: 51.48 MB / 409.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08957/0.2712, allocations: 83.96 MB / 493.4 MB, free: 6.645 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/0.2715, allocations: 71.95 kB / 493.4 MB, free: 6.574 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2218/0.4933, allocations: 37.93 MB / 0.5189 GB, free: 90.85 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4934, allocations: 0 / 0.5189 GB, free: 90.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.954e-05/0.4934, allocations: 10.75 kB / 0.5189 GB, free: 90.85 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001122/0.4945, allocations: 1.138 MB / 0.52 GB, free: 89.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.4946, allocations: 10.75 kB / 0.5201 GB, free: 89.83 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000146/0.4947, allocations: 84.12 kB / 0.5201 GB, free: 89.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005671/0.4953, allocations: 425 kB / 0.5205 GB, free: 89.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.956e-05/0.4954, allocations: 25.56 kB / 0.5206 GB, free: 89.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.299e-05/0.4954, allocations: 28.28 kB / 0.5206 GB, free: 89.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006767/0.4961, allocations: 0.5153 MB / 0.5211 GB, free: 89.17 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.4961, allocations: 3.844 kB / 0.5211 GB, free: 89.17 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.994e-05/0.4962, allocations: 18.72 kB / 0.5211 GB, free: 89.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.4962, allocations: 0 / 0.5211 GB, free: 89.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004362/0.4966, allocations: 369.8 kB / 0.5215 GB, free: 88.99 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.4978, allocations: 0.8542 MB / 0.5223 GB, free: 88.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005266/0.4983, allocations: 0.507 MB / 0.5228 GB, free: 88.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.4984, allocations: 4.125 kB / 0.5228 GB, free: 88.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006154/0.499, allocations: 0.6669 MB / 0.5235 GB, free: 87.35 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 2.234e-06/0.499, allocations: 0 / 0.5235 GB, free: 87.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.001759/0.5008, allocations: 1.793 MB / 0.5252 GB, free: 85.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.424e-05/0.5008, allocations: 279.2 kB / 0.5255 GB, free: 85.13 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.5019, allocations: 1.035 MB / 0.5265 GB, free: 84.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.909e-05/0.502, allocations: 45.69 kB / 0.5265 GB, free: 84.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.467e-05/0.502, allocations: 145.9 kB / 0.5267 GB, free: 83.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.12e-05/0.5021, allocations: 82.5 kB / 0.5267 GB, free: 83.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.5022, allocations: 8 kB / 0.5268 GB, free: 83.81 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.419e-05/0.5022, allocations: 346.8 kB / 0.5271 GB, free: 83.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003918/0.5026, allocations: 348 kB / 0.5274 GB, free: 83.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003949/0.503, allocations: 383 kB / 0.5278 GB, free: 82.74 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003798/0.5034, allocations: 499.7 kB / 0.5283 GB, free: 82.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5034, allocations: 4 kB / 0.5283 GB, free: 82.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001147/0.5046, allocations: 1.126 MB / 0.5294 GB, free: 81.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.6e-05/0.5047, allocations: 239.9 kB / 0.5296 GB, free: 80.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.5047, allocations: 3.984 kB / 0.5296 GB, free: 80.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.5047, allocations: 4 kB / 0.5296 GB, free: 80.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.212e-05/0.5048, allocations: 0 / 0.5296 GB, free: 80.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.5048, allocations: 11.8 kB / 0.5296 GB, free: 80.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002531/0.505, allocations: 39.88 kB / 0.5296 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/0.5052, allocations: 155.5 kB / 0.5298 GB, free: 80.56 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: 40 ($PRE.dFFREGL.delay.inertialDelaySensitive[2].y,$PRE.dFFREGL.delay.inertialDelaySensitive[1].y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,$PRE.dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].y_old,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGL.delay.inertialDelaySensitive[2].x,dFFREGL.delay.inertialDelaySensitive[2].x,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].y_old,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGL.dFFR.reset,dFFREGL.dFFR.reset,$PRE.dFFREGL.dFFR.clock,dFFREGL.dFFR.clock,dFFREGL.dFFR.dataIn[1],dFFREGL.dFFR.dataIn[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.dataOut[2],dFFREGL.dFFR.clock_flag,dFFREGL.dFFR.reset_flag,dFFREGL.dFFR.nextstate[1],dFFREGL.dFFR.nextstate[2],dFFREGL.dFFR.next_assign_val[1],dFFREGL.dFFR.next_assign_val[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 12 * 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.0005662/0.5057, allocations: 0.7672 MB / 0.5305 GB, free: 79.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.985e-05/0.5058, allocations: 87.06 kB / 0.5306 GB, free: 79.65 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001774/0.506, allocations: 147.7 kB / 0.5308 GB, free: 79.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.506, allocations: 0 / 0.5308 GB, free: 79.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.506, allocations: 0 / 0.5308 GB, free: 79.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.5061, allocations: 11.73 kB / 0.5308 GB, free: 79.49 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001849/0.5079, allocations: 1.97 MB / 0.5327 GB, free: 77.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.5079, allocations: 0 / 0.5327 GB, free: 77.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.03e-05/0.5079, allocations: 7.844 kB / 0.5327 GB, free: 77.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.5079, allocations: 0 / 0.5327 GB, free: 77.42 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.882e-05/0.508, allocations: 35.98 kB / 0.5327 GB, free: 77.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.508, allocations: 4 kB / 0.5327 GB, free: 77.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.508, allocations: 3.953 kB / 0.5328 GB, free: 77.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/0.5093, allocations: 1.395 MB / 0.5341 GB, free: 75.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007025/0.5101, allocations: 0.562 MB / 0.5347 GB, free: 75.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/0.5102, allocations: 59.97 kB / 0.5347 GB, free: 75.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/0.5105, allocations: 35.97 kB / 0.5348 GB, free: 75.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002901/0.5108, allocations: 243.5 kB / 0.535 GB, free: 75.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/0.5109, allocations: 160.1 kB / 0.5351 GB, free: 74.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000835/0.5117, allocations: 0.8655 MB / 0.536 GB, free: 74 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5117, allocations: 0 / 0.536 GB, free: 74 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003864/0.5121, allocations: 124 kB / 0.5361 GB, free: 73.88 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: 34 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].y_old,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].t_next,dFFREGL.delay.inertialDelaySensitive[2].x,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].y_old,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].t_next,dFFREGL.dFFR.reset,dFFREGL.dFFR.clock,dFFREGL.dFFR.dataIn[1],dFFREGL.dFFR.dataIn[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.dataOut[2],dFFREGL.dFFR.clock_flag,dFFREGL.dFFR.reset_flag,dFFREGL.dFFR.nextstate[1],dFFREGL.dFFR.nextstate[2],dFFREGL.dFFR.next_assign_val[1],dFFREGL.dFFR.next_assign_val[2]) * Number of discrete states: 32 (data_1.y,reset.y,data_0.y,clock.y,dFFREGL.dFFR.dataOut[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.next_assign_val[2],dFFREGL.dFFR.next_assign_val[1],dFFREGL.dFFR.nextstate[2],dFFREGL.dFFR.nextstate[1],dFFREGL.dFFR.reset_flag,dFFREGL.dFFR.clock_flag,dFFREGL.dFFR.clock,dFFREGL.dFFR.reset,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].t_next,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].t_next,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREGL.delay.inertialDelaySensitive[2].x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 6 * 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.0001877/0.5123, allocations: 184.4 kB / 0.5363 GB, free: 73.69 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.5135, allocations: 1.522 MB / 0.5378 GB, free: 72.08 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5136, allocations: 8.125 kB / 0.5378 GB, free: 72.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007261/0.5143, allocations: 1.124 MB / 0.5389 GB, free: 70.87 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008341/0.5151, allocations: 279.8 kB / 0.5391 GB, free: 70.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/0.5173, allocations: 2.166 MB / 0.5413 GB, free: 68.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004916/0.5178, allocations: 1.038 MB / 0.5423 GB, free: 67.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001175/0.5179, allocations: 37.02 kB / 0.5423 GB, free: 67.31 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.178e-05/0.5179, allocations: 15.44 kB / 0.5423 GB, free: 67.3 MB / 378.7 MB Notification: Performance of SimCode: time 4.3e-07/0.5179, allocations: 0 / 0.5423 GB, free: 67.3 MB / 378.7 MB Notification: Performance of Templates: time 0.01279/0.5307, allocations: 13.57 MB / 0.5556 GB, free: 53.59 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGL.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/DFFREGL/DFFREGL.csv","../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches