Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001501/0.001501, allocations: 176 kB / 8.696 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.587/1.587, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008806/0.0008805, allocations: 78.72 kB / 262.4 MB, free: 1.691 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.454e-05/1.456e-05, allocations: 4 kB / 315.5 MB, free: 22.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07645/0.07647, allocations: 47.59 MB / 363.1 MB, free: 7.078 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.305/0.3815, allocations: 81.99 MB / 445.1 MB, free: 13.63 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/0.3817, allocations: 71.97 kB / 445.1 MB, free: 13.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07734/0.4591, allocations: 32.61 MB / 477.7 MB, free: 2.473 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.4591, allocations: 0 / 477.7 MB, free: 2.473 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.937e-05/0.4592, allocations: 16 kB / 477.8 MB, free: 2.457 MB / 346.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.001338/0.4605, allocations: 1.306 MB / 479.1 MB, free: 1.129 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.4606, allocations: 8.031 kB / 479.1 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.4608, allocations: 142.4 kB / 479.2 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006727/0.4614, allocations: 0.5049 MB / 479.7 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.733e-05/0.4615, allocations: 19.61 kB / 479.7 MB, free: 456 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.536e-05/0.4616, allocations: 28 kB / 479.8 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005803/0.4622, allocations: 441.7 kB / 480.2 MB, free: 124 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007995/0.463, allocations: 0.5872 MB / 480.8 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.463, allocations: 0 / 480.8 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.185e-05/0.4631, allocations: 15.86 kB / 480.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.4631, allocations: 4 kB / 480.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.4645, allocations: 1.051 MB / 481.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000737/0.4653, allocations: 0.6703 MB / 482.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000696/0.466, allocations: 0.6646 MB / 483.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.466, allocations: 0 / 483.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008523/0.4669, allocations: 0.7594 MB / 483.9 MB, free: 12.63 MB / 362.7 MB Notification: Performance of pre-optimization done (n=36): time 1.783e-06/0.4669, allocations: 0 / 483.9 MB, free: 12.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.001577/0.4685, allocations: 1.093 MB / 485 MB, free: 11.53 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002236/0.4687, allocations: 329 kB / 485.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002217/0.4709, allocations: 1.534 MB / 486.9 MB, free: 9.602 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001273/0.4711, allocations: 41.7 kB / 486.9 MB, free: 9.555 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003262/0.4714, allocations: 242.3 kB / 487.2 MB, free: 9.312 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/0.4716, allocations: 83.25 kB / 487.3 MB, free: 9.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.105e-05/0.4717, allocations: 12 kB / 487.3 MB, free: 9.219 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002149/0.4719, allocations: 374.7 kB / 487.6 MB, free: 8.844 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008/0.4727, allocations: 440 kB / 488.1 MB, free: 8.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007739/0.4735, allocations: 436 kB / 488.5 MB, free: 7.984 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005264/0.474, allocations: 300.5 kB / 488.8 MB, free: 7.691 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.474, allocations: 0 / 488.8 MB, free: 7.691 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001604/0.4757, allocations: 1.028 MB / 489.8 MB, free: 6.656 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002003/0.4759, allocations: 293.5 kB / 490.1 MB, free: 6.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.4759, allocations: 4 kB / 490.1 MB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.4759, allocations: 0 / 490.1 MB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.109e-05/0.4759, allocations: 4 kB / 490.1 MB, free: 6.312 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.4759, allocations: 0 / 490.1 MB, free: 6.312 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003471/0.4763, allocations: 47.81 kB / 490.1 MB, free: 6.266 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001645/0.4765, allocations: 151.9 kB / 490.3 MB, free: 6.117 MB / 362.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.000391/0.4769, allocations: 470.4 kB / 490.8 MB, free: 5.602 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.477, allocations: 134.4 kB / 490.9 MB, free: 5.469 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004044/0.4774, allocations: 260 kB / 491.1 MB, free: 5.211 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.4774, allocations: 0 / 491.1 MB, free: 5.211 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.4775, allocations: 0 / 491.1 MB, free: 5.211 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.4775, allocations: 4 kB / 491.1 MB, free: 5.207 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002504/0.48, allocations: 2.005 MB / 493.2 MB, free: 3.152 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.48, allocations: 0 / 493.2 MB, free: 3.152 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.192e-05/0.48, allocations: 4 kB / 493.2 MB, free: 3.148 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.48, allocations: 3.953 kB / 493.2 MB, free: 3.145 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.487e-05/0.4801, allocations: 39.97 kB / 493.2 MB, free: 3.105 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4801, allocations: 0 / 493.2 MB, free: 3.105 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.4801, allocations: 0 / 493.2 MB, free: 3.105 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/0.4817, allocations: 1.265 MB / 494.5 MB, free: 1.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008976/0.4826, allocations: 0.6863 MB / 495.1 MB, free: 1.113 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001818/0.4828, allocations: 67.92 kB / 495.2 MB, free: 1.047 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003294/0.4831, allocations: 35.88 kB / 495.3 MB, free: 1.012 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005172/0.4836, allocations: 355.6 kB / 495.6 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001636/0.4838, allocations: 155.9 kB / 495.7 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001649/0.4855, allocations: 1.255 MB / 497 MB, free: 15.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4855, allocations: 0 / 497 MB, free: 15.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004971/0.486, allocations: 148 kB / 497.1 MB, free: 15.11 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: 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.0002692/0.4863, allocations: 197.6 kB / 497.3 MB, free: 14.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001914/0.4882, allocations: 1.87 MB / 499.2 MB, free: 12.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4882, allocations: 0 / 499.2 MB, free: 12.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.4893, allocations: 1.374 MB / 0.4889 GB, free: 11.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.4906, allocations: 310.2 kB / 0.4891 GB, free: 11.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003996/0.4946, allocations: 2.444 MB / 0.4915 GB, free: 8.676 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001085/0.4957, allocations: 1.217 MB / 0.4927 GB, free: 7.434 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003299/0.4961, allocations: 159 kB / 0.4929 GB, free: 7.277 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.397e-05/0.4961, allocations: 27.44 kB / 0.4929 GB, free: 7.25 MB / 378.7 MB Notification: Performance of SimCode: time 1.302e-06/0.4961, allocations: 4 kB / 0.4929 GB, free: 7.246 MB / 378.7 MB Notification: Performance of Templates: time 0.02068/0.5168, allocations: 15.77 MB / 0.5083 GB, free: 7.051 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/DFFREGSRL/DFFREGSRL.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches