Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL.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.DFFREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGSRL.dataOut.1.|dFFREGSRL.dataOut.2.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL") translateModel(Modelica.Electrical.Digital.Examples.DFFREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGSRL.dataOut.1.|dFFREGSRL.dataOut.2.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001161/0.001161, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.284/1.284, allocations: 225.6 MB / 234.8 MB, free: 3.195 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007707/0.0007707, allocations: 94.23 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.835e-05/1.837e-05, allocations: 7.984 kB / 343.7 MB, free: 8.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09393/0.09396, allocations: 51.47 MB / 395.2 MB, free: 4.699 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2933/0.3873, allocations: 83.49 MB / 478.6 MB, free: 9.41 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001785/0.3875, allocations: 64.05 kB / 478.7 MB, free: 9.387 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0544/0.4419, allocations: 32.98 MB / 0.4997 GB, free: 14.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.442, allocations: 0 / 0.4997 GB, free: 14.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.603e-05/0.442, allocations: 12 kB / 0.4997 GB, free: 14.21 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.001311/0.4433, allocations: 1.311 MB / 0.501 GB, free: 12.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.4434, allocations: 8.031 kB / 0.501 GB, free: 12.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.4435, allocations: 134.4 kB / 0.5011 GB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006884/0.4442, allocations: 0.5167 MB / 0.5016 GB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.2e-05/0.4443, allocations: 16 kB / 0.5016 GB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.705e-05/0.4444, allocations: 31.97 kB / 0.5017 GB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005949/0.445, allocations: 439.8 kB / 0.5021 GB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007854/0.4458, allocations: 0.586 MB / 0.5027 GB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.4458, allocations: 4 kB / 0.5027 GB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.319e-05/0.4459, allocations: 15.98 kB / 0.5027 GB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.4459, allocations: 8 kB / 0.5027 GB, free: 11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001465/0.4473, allocations: 1.039 MB / 0.5037 GB, free: 9.918 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007371/0.4481, allocations: 0.6742 MB / 0.5044 GB, free: 9.234 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006773/0.4488, allocations: 0.6646 MB / 0.505 GB, free: 8.566 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.4488, allocations: 4 kB / 0.505 GB, free: 8.562 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008463/0.4497, allocations: 0.7516 MB / 0.5058 GB, free: 7.773 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 1.833e-06/0.4497, allocations: 0 / 0.5058 GB, free: 7.773 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.001534/0.4512, allocations: 1.095 MB / 0.5068 GB, free: 6.672 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001865/0.4514, allocations: 333 kB / 0.5071 GB, free: 6.285 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002184/0.4536, allocations: 1.534 MB / 0.5086 GB, free: 4.738 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.685e-05/0.4537, allocations: 41.7 kB / 0.5087 GB, free: 4.691 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002409/0.4539, allocations: 246.3 kB / 0.5089 GB, free: 4.445 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.4541, allocations: 75.11 kB / 0.509 GB, free: 4.371 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.497e-05/0.4541, allocations: 15.98 kB / 0.509 GB, free: 4.355 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.4543, allocations: 378.7 kB / 0.5094 GB, free: 3.977 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005395/0.4549, allocations: 432 kB / 0.5098 GB, free: 3.551 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005201/0.4554, allocations: 436 kB / 0.5102 GB, free: 3.125 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003944/0.4558, allocations: 300.9 kB / 0.5105 GB, free: 2.832 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4558, allocations: 0 / 0.5105 GB, free: 2.832 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001429/0.4572, allocations: 1.025 MB / 0.5115 GB, free: 1.801 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002176/0.4575, allocations: 289.5 kB / 0.5118 GB, free: 1.469 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.4575, allocations: 0 / 0.5118 GB, free: 1.469 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.4575, allocations: 4 kB / 0.5118 GB, free: 1.465 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.694e-05/0.4575, allocations: 11.92 kB / 0.5118 GB, free: 1.453 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.4576, allocations: 4 kB / 0.5118 GB, free: 1.449 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003475/0.4579, allocations: 43.88 kB / 0.5118 GB, free: 1.406 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001607/0.4581, allocations: 151.4 kB / 0.512 GB, free: 1.262 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 43 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,$PRE.dFFREGSRL.delay.inertialDelaySensitive[1].x,dFFREGSRL.delay.inertialDelaySensitive[1].x,$PRE.dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[2].x,$PRE.dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGSRL.dFFSR.set,dFFREGSRL.dFFSR.set,$PRE.dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.reset,$PRE.dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.dataIn[1],dFFREGSRL.dFFSR.dataIn[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 14 * 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.0003925/0.4585, allocations: 466.4 kB / 0.5124 GB, free: 0.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.4586, allocations: 130.5 kB / 0.5125 GB, free: 0.6211 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003655/0.459, allocations: 244 kB / 0.5128 GB, free: 384 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.459, allocations: 4 kB / 0.5128 GB, free: 380 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.459, allocations: 0 / 0.5128 GB, free: 380 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.459, allocations: 11.92 kB / 0.5128 GB, free: 368 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002543/0.4616, allocations: 2.005 MB / 0.5147 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4616, allocations: 0 / 0.5147 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.446e-05/0.4616, allocations: 3.984 kB / 0.5147 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-06/0.4616, allocations: 7.953 kB / 0.5147 GB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/0.4617, allocations: 35.98 kB / 0.5148 GB, free: 14.26 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.4618, allocations: 0 / 0.5148 GB, free: 14.26 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.4618, allocations: 7.938 kB / 0.5148 GB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002658/0.4644, allocations: 1.269 MB / 0.516 GB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001247/0.4657, allocations: 0.6823 MB / 0.5167 GB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002018/0.4659, allocations: 63.92 kB / 0.5168 GB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003509/0.4663, allocations: 35.95 kB / 0.5168 GB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005462/0.4668, allocations: 355.7 kB / 0.5171 GB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001805/0.467, allocations: 163.8 kB / 0.5173 GB, free: 11.65 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001779/0.4688, allocations: 1.255 MB / 0.5185 GB, free: 10.39 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4688, allocations: 0 / 0.5185 GB, free: 10.39 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005121/0.4693, allocations: 140 kB / 0.5186 GB, free: 10.26 MB / 394.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: 36 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,dFFREGSRL.delay.inertialDelaySensitive[1].x,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,dFFREGSRL.dFFSR.set,dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.dataIn[1],dFFREGSRL.dFFSR.dataIn[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.next_assign_val[2]) * Number of discrete states: 34 (set.y,data_1.y,reset.y,data_0.y,clock.y,dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.next_assign_val[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.set,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREGSRL.delay.inertialDelaySensitive[1].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 7 * 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.0002753/0.4696, allocations: 193.7 kB / 0.5188 GB, free: 10.06 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001832/0.4715, allocations: 1.866 MB / 0.5207 GB, free: 8.098 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4715, allocations: 4 kB / 0.5207 GB, free: 8.094 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.4727, allocations: 1.382 MB / 0.522 GB, free: 6.613 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/0.4739, allocations: 297.5 kB / 0.5223 GB, free: 6.332 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003457/0.4774, allocations: 2.447 MB / 0.5247 GB, free: 3.844 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000994/0.4784, allocations: 1.224 MB / 0.5259 GB, free: 2.594 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002724/0.4786, allocations: 153.3 kB / 0.526 GB, free: 2.441 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.786e-05/0.4787, allocations: 27.44 kB / 0.526 GB, free: 2.414 MB / 394.7 MB Notification: Performance of SimCode: time 5.31e-07/0.4787, allocations: 0 / 0.526 GB, free: 2.414 MB / 394.7 MB Notification: Performance of Templates: time 0.02072/0.4994, allocations: 15.78 MB / 0.5415 GB, free: 2.324 MB / 410.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/DFFREGSRL/DFFREGSRL.csv","../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches