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.0008884/0.0008884, allocations: 182.3 kB / 18.04 MB, free: 3.785 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.317/1.317, allocations: 205.4 MB / 224.2 MB, free: 9.051 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007773/0.0007774, allocations: 80.19 kB / 272.5 MB, free: 8.285 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003312/0.0003313, allocations: 8 kB / 329.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2315, allocations: 47.58 MB / 377 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09142/0.323, allocations: 82.25 MB / 459.3 MB, free: 14.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/0.3233, allocations: 71.95 kB / 459.3 MB, free: 14.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05391/0.3772, allocations: 27.83 MB / 487.2 MB, free: 2.457 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3772, allocations: 0 / 487.2 MB, free: 2.457 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.865e-05/0.3773, allocations: 8 kB / 487.2 MB, free: 2.449 MB / 362.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.001136/0.3784, allocations: 1.132 MB / 488.3 MB, free: 1.219 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.3785, allocations: 12.03 kB / 488.3 MB, free: 1.207 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/0.3786, allocations: 88 kB / 488.4 MB, free: 1.121 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005388/0.3791, allocations: 463.9 kB / 488.9 MB, free: 0.625 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.968e-05/0.3792, allocations: 16.38 kB / 488.9 MB, free: 0.6094 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.527e-05/0.3793, allocations: 24.38 kB / 488.9 MB, free: 0.5859 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007821/0.3801, allocations: 0.5105 MB / 489.4 MB, free: 68 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.3801, allocations: 192 / 489.4 MB, free: 68 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.401e-05/0.3801, allocations: 19.92 kB / 489.4 MB, free: 48 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3801, allocations: 4 kB / 489.4 MB, free: 44 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005379/0.3807, allocations: 360 kB / 489.8 MB, free: 15.69 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.3819, allocations: 0.8598 MB / 490.6 MB, free: 14.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006287/0.3825, allocations: 0.51 MB / 491.2 MB, free: 14.26 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005878/0.3831, allocations: 0.4928 MB / 491.6 MB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.3831, allocations: 4 kB / 491.7 MB, free: 13.76 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007698/0.3839, allocations: 0.6508 MB / 492.3 MB, free: 13.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 1.993e-06/0.3839, allocations: 4 kB / 492.3 MB, free: 13.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.002169/0.3861, allocations: 1.553 MB / 493.9 MB, free: 11.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001436/0.3863, allocations: 275.3 kB / 494.1 MB, free: 11.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/0.3877, allocations: 1.172 MB / 495.3 MB, free: 9.961 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.798e-05/0.3878, allocations: 41.7 kB / 495.3 MB, free: 9.914 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.682e-05/0.3879, allocations: 146 kB / 495.5 MB, free: 9.766 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.771e-05/0.388, allocations: 79.09 kB / 495.6 MB, free: 9.688 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/0.3881, allocations: 12 kB / 495.6 MB, free: 9.676 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.3882, allocations: 346.7 kB / 495.9 MB, free: 9.328 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004904/0.3887, allocations: 348.1 kB / 496.3 MB, free: 8.988 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005478/0.3892, allocations: 382.9 kB / 496.6 MB, free: 8.605 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009878/0.3902, allocations: 0.9748 MB / 497.6 MB, free: 7.535 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3903, allocations: 0 / 497.6 MB, free: 7.535 MB / 378.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001448/0.3917, allocations: 1.141 MB / 498.7 MB, free: 6.344 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001591/0.3919, allocations: 239.9 kB / 499 MB, free: 6.066 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.3919, allocations: 7.922 kB / 499 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3919, allocations: 4 kB / 499 MB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.623e-05/0.3919, allocations: 4.062 kB / 499 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.392, allocations: 7.938 kB / 499 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002938/0.3923, allocations: 43.81 kB / 499 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001628/0.3924, allocations: 152.2 kB / 499.2 MB, free: 5.852 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.dFFREG.delay.inertialDelaySensitive[2].y,$PRE.dFFREG.delay.inertialDelaySensitive[1].y,$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,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,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 () * 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.000886/0.3933, allocations: 0.764 MB / 500 MB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.3935, allocations: 90.97 kB / 0.4883 GB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002467/0.3937, allocations: 151.7 kB / 0.4885 GB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.3937, allocations: 0 / 0.4885 GB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.3937, allocations: 3.938 kB / 0.4885 GB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.3937, allocations: 4 kB / 0.4885 GB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002566/0.3963, allocations: 1.989 MB / 0.4904 GB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.3963, allocations: 0 / 0.4904 GB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.244e-05/0.3964, allocations: 3.938 kB / 0.4904 GB, free: 2.688 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.3964, allocations: 4 kB / 0.4904 GB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.625e-05/0.3964, allocations: 43.91 kB / 0.4905 GB, free: 2.641 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.3964, allocations: 0 / 0.4905 GB, free: 2.641 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3964, allocations: 0 / 0.4905 GB, free: 2.641 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/0.3982, allocations: 1.405 MB / 0.4918 GB, free: 1.176 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007763/0.399, allocations: 0.5581 MB / 0.4924 GB, free: 0.5977 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.3991, allocations: 67.83 kB / 0.4925 GB, free: 0.5312 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002839/0.3994, allocations: 31.98 kB / 0.4925 GB, free: 0.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003681/0.3998, allocations: 239.7 kB / 0.4927 GB, free: 272 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001574/0.4, allocations: 167.9 kB / 0.4929 GB, free: 104 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.1654/0.5654, allocations: 0.8557 MB / 0.4937 GB, free: 107.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.122e-06/0.5654, allocations: 0.5938 kB / 0.4937 GB, free: 107.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008668/0.5663, allocations: 121.5 kB / 0.4938 GB, free: 107.4 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,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) * 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.0003651/0.5667, allocations: 186.1 kB / 0.494 GB, free: 107.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001676/0.5684, allocations: 1.517 MB / 0.4955 GB, free: 106.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.5684, allocations: 0 / 0.4955 GB, free: 106.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009669/0.5694, allocations: 1.114 MB / 0.4966 GB, free: 106.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.5705, allocations: 293.2 kB / 0.4968 GB, free: 106.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00319/0.5737, allocations: 2.152 MB / 0.4989 GB, free: 105.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007292/0.5745, allocations: 1.026 MB / 0.5 GB, free: 104.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002549/0.5747, allocations: 40.03 kB / 0.5 GB, free: 104.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.591e-05/0.5748, allocations: 18.44 kB / 0.5 GB, free: 104.9 MB / 378.7 MB Notification: Performance of SimCode: time 1.393e-06/0.5748, allocations: 0 / 0.5 GB, free: 104.9 MB / 378.7 MB Notification: Performance of Templates: time 0.01807/0.5929, allocations: 13.63 MB / 0.5133 GB, free: 100.6 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/jenkins1/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