Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREG.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.DFFREG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREG.dFFR.clock|dFFREG.dFFR.reset|dFFREG.delay.inertialDelaySensitive.1..x|dFFREG.delay.inertialDelaySensitive.1..y|dFFREG.delay.inertialDelaySensitive.2..x|dFFREG.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREG") translateModel(Modelica.Electrical.Digital.Examples.DFFREG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREG.dFFR.clock|dFFREG.dFFR.reset|dFFREG.delay.inertialDelaySensitive.1..x|dFFREG.delay.inertialDelaySensitive.1..y|dFFREG.delay.inertialDelaySensitive.2..x|dFFREG.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001374/0.001374, allocations: 177.9 kB / 8.7 MB, free: 384 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.409/1.409, allocations: 205.3 MB / 214.4 MB, free: 1.676 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.0009572/0.0009568, allocations: 82.39 kB / 262.4 MB, free: 1.629 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.41e-05/1.423e-05, allocations: 4 kB / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07327/0.0733, allocations: 47.59 MB / 363.1 MB, free: 7.074 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2947/0.368, allocations: 81.7 MB / 444.8 MB, free: 13.96 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002103/0.3683, allocations: 69.89 kB / 444.8 MB, free: 13.92 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05143/0.4197, allocations: 27.79 MB / 472.6 MB, free: 7.312 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4198, allocations: 0 / 472.6 MB, free: 7.312 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.036e-05/0.4198, allocations: 12 kB / 472.6 MB, free: 7.301 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0009663/0.4208, allocations: 1.006 MB / 473.6 MB, free: 6.254 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.4208, allocations: 8.031 kB / 473.7 MB, free: 6.246 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/0.421, allocations: 94.97 kB / 473.7 MB, free: 6.152 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005365/0.4215, allocations: 421 kB / 474.2 MB, free: 5.73 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.604e-05/0.4216, allocations: 12 kB / 474.2 MB, free: 5.719 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.02e-05/0.4216, allocations: 23.44 kB / 474.2 MB, free: 5.699 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004673/0.4221, allocations: 347.8 kB / 474.5 MB, free: 5.457 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006536/0.4228, allocations: 490.1 kB / 475 MB, free: 5.086 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.4228, allocations: 0 / 475 MB, free: 5.086 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.611e-05/0.4229, allocations: 12 kB / 475 MB, free: 5.074 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.4229, allocations: 0 / 475 MB, free: 5.074 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.424, allocations: 0.8342 MB / 475.9 MB, free: 4.367 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005342/0.4245, allocations: 0.4987 MB / 476.4 MB, free: 4.059 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004997/0.4251, allocations: 483.7 kB / 476.8 MB, free: 3.781 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.4251, allocations: 4 kB / 476.8 MB, free: 3.777 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007584/0.4258, allocations: 0.6539 MB / 477.5 MB, free: 3.133 MB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 1.593e-06/0.4259, allocations: 0 / 477.5 MB, free: 3.133 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.00136/0.4272, allocations: 0.9055 MB / 478.4 MB, free: 2.223 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001618/0.4274, allocations: 283.3 kB / 478.7 MB, free: 1.891 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.4286, allocations: 0.9879 MB / 479.7 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.376e-05/0.4287, allocations: 45.69 kB / 479.7 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.4288, allocations: 146 kB / 479.8 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.4289, allocations: 83.03 kB / 479.9 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-05/0.429, allocations: 12 kB / 479.9 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.4292, allocations: 338.8 kB / 480.3 MB, free: 272 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004449/0.4296, allocations: 336.2 kB / 480.6 MB, free: 15.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004199/0.43, allocations: 340.5 kB / 480.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003055/0.4304, allocations: 249.3 kB / 481.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4304, allocations: 4 kB / 481.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001208/0.4316, allocations: 0.8525 MB / 482 MB, free: 14.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001896/0.4318, allocations: 243.9 kB / 482.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.4318, allocations: 0 / 482.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.4318, allocations: 0 / 482.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.33e-05/0.4319, allocations: 7.938 kB / 482.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.4319, allocations: 4 kB / 482.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002888/0.4322, allocations: 35.88 kB / 482.3 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001799/0.4324, allocations: 152.2 kB / 482.5 MB, free: 14.02 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: 40 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,$PRE.dFFREG.delay.inertialDelaySensitive[1].x,dFFREG.delay.inertialDelaySensitive[1].x,$PRE.dFFREG.delay.inertialDelaySensitive[1].y,dFFREG.delay.inertialDelaySensitive[1].y,dFFREG.delay.inertialDelaySensitive[1].delayTime,dFFREG.delay.inertialDelaySensitive[1].y_auxiliary,dFFREG.delay.inertialDelaySensitive[1].y_old,dFFREG.delay.inertialDelaySensitive[1].lh,dFFREG.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREG.delay.inertialDelaySensitive[2].x,dFFREG.delay.inertialDelaySensitive[2].x,$PRE.dFFREG.delay.inertialDelaySensitive[2].y,dFFREG.delay.inertialDelaySensitive[2].y,dFFREG.delay.inertialDelaySensitive[2].delayTime,dFFREG.delay.inertialDelaySensitive[2].y_auxiliary,dFFREG.delay.inertialDelaySensitive[2].y_old,dFFREG.delay.inertialDelaySensitive[2].lh,dFFREG.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREG.dFFR.reset,dFFREG.dFFR.reset,$PRE.dFFREG.dFFR.clock,dFFREG.dFFR.clock,dFFREG.dFFR.dataIn[1],dFFREG.dFFR.dataIn[2],dFFREG.dFFR.dataOut[1],dFFREG.dFFR.dataOut[2],dFFREG.dFFR.clock_flag,dFFREG.dFFR.reset_flag,dFFREG.dFFR.nextstate[1],dFFREG.dFFR.nextstate[2],dFFREG.dFFR.next_assign_val[1],dFFREG.dFFR.next_assign_val[2]) * Number of discrete 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.0003608/0.4327, allocations: 402 kB / 482.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.4328, allocations: 106.9 kB / 483 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002207/0.4331, allocations: 144.1 kB / 483.1 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.4331, allocations: 0 / 483.1 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4331, allocations: 4 kB / 483.1 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.4331, allocations: 3.984 kB / 483.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001967/0.4351, allocations: 1.607 MB / 484.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.4351, allocations: 3.953 kB / 484.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.529e-05/0.4351, allocations: 7.938 kB / 484.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4351, allocations: 3.938 kB / 484.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.818e-05/0.4352, allocations: 39.97 kB / 484.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.4352, allocations: 0 / 484.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.4352, allocations: 0 / 484.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/0.4367, allocations: 1.084 MB / 485.9 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007452/0.4374, allocations: 0.5582 MB / 486.4 MB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/0.4376, allocations: 59.97 kB / 486.5 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002815/0.4379, allocations: 35.88 kB / 486.5 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004049/0.4383, allocations: 235.7 kB / 486.7 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001615/0.4385, allocations: 163.8 kB / 486.9 MB, free: 9.453 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001007/0.4395, allocations: 0.8148 MB / 487.7 MB, free: 8.641 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4395, allocations: 4 kB / 487.7 MB, free: 8.637 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000442/0.4399, allocations: 120 kB / 487.8 MB, free: 8.52 MB / 362.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,dFFREG.delay.inertialDelaySensitive[1].x,dFFREG.delay.inertialDelaySensitive[1].y,dFFREG.delay.inertialDelaySensitive[1].delayTime,dFFREG.delay.inertialDelaySensitive[1].y_auxiliary,dFFREG.delay.inertialDelaySensitive[1].y_old,dFFREG.delay.inertialDelaySensitive[1].lh,dFFREG.delay.inertialDelaySensitive[1].t_next,dFFREG.delay.inertialDelaySensitive[2].x,dFFREG.delay.inertialDelaySensitive[2].y,dFFREG.delay.inertialDelaySensitive[2].delayTime,dFFREG.delay.inertialDelaySensitive[2].y_auxiliary,dFFREG.delay.inertialDelaySensitive[2].y_old,dFFREG.delay.inertialDelaySensitive[2].lh,dFFREG.delay.inertialDelaySensitive[2].t_next,dFFREG.dFFR.reset,dFFREG.dFFR.clock,dFFREG.dFFR.dataIn[1],dFFREG.dFFR.dataIn[2],dFFREG.dFFR.dataOut[1],dFFREG.dFFR.dataOut[2],dFFREG.dFFR.clock_flag,dFFREG.dFFR.reset_flag,dFFREG.dFFR.nextstate[1],dFFREG.dFFR.nextstate[2],dFFREG.dFFR.next_assign_val[1],dFFREG.dFFR.next_assign_val[2]) * Number of discrete states: 32 (data_1.y,reset.y,data_0.y,clock.y,dFFREG.dFFR.dataOut[2],dFFREG.dFFR.dataOut[1],dFFREG.dFFR.next_assign_val[2],dFFREG.dFFR.next_assign_val[1],dFFREG.dFFR.nextstate[2],dFFREG.dFFR.nextstate[1],dFFREG.dFFR.reset_flag,dFFREG.dFFR.clock_flag,dFFREG.dFFR.clock,dFFREG.dFFR.reset,dFFREG.delay.inertialDelaySensitive[1].y,dFFREG.delay.inertialDelaySensitive[1].y_auxiliary,dFFREG.delay.inertialDelaySensitive[1].t_next,dFFREG.delay.inertialDelaySensitive[1].delayTime,dFFREG.delay.inertialDelaySensitive[1].lh,dFFREG.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREG.delay.inertialDelaySensitive[1].x,dFFREG.delay.inertialDelaySensitive[2].y,dFFREG.delay.inertialDelaySensitive[2].y_auxiliary,dFFREG.delay.inertialDelaySensitive[2].t_next,dFFREG.delay.inertialDelaySensitive[2].delayTime,dFFREG.delay.inertialDelaySensitive[2].lh,dFFREG.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREG.delay.inertialDelaySensitive[2].x) * 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.0002417/0.4402, allocations: 185.7 kB / 488 MB, free: 8.332 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001537/0.4417, allocations: 1.476 MB / 489.5 MB, free: 6.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4417, allocations: 0 / 489.5 MB, free: 6.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009323/0.4427, allocations: 1.097 MB / 490.6 MB, free: 5.586 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.4439, allocations: 275.9 kB / 490.9 MB, free: 5.316 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0025/0.4464, allocations: 1.7 MB / 492.6 MB, free: 3.586 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007622/0.4472, allocations: 1.038 MB / 493.6 MB, free: 2.523 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001562/0.4473, allocations: 37.81 kB / 493.6 MB, free: 2.488 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.422e-05/0.4474, allocations: 19.44 kB / 493.6 MB, free: 2.469 MB / 362.7 MB Notification: Performance of SimCode: time 3.296e-06/0.4474, allocations: 3.938 kB / 493.7 MB, free: 2.465 MB / 362.7 MB Notification: Performance of Templates: time 0.01688/0.4643, allocations: 13.07 MB / 0.4948 GB, free: 5.117 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREG.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREG.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREG.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREG.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREG.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREG -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREG.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREG_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/DFFREG/DFFREG.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREG.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches