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.001278/0.001278, allocations: 180 kB / 17.01 MB, free: 5.125 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.788/1.788, allocations: 205.4 MB / 223.1 MB, free: 9.02 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.0009433/0.0009435, allocations: 96.08 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003175/0.0003175, allocations: 4 kB / 328.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3535, allocations: 47.57 MB / 375.8 MB, free: 45.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1647/0.5182, allocations: 82.21 MB / 458 MB, free: 14.45 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004077/0.5187, allocations: 71.97 kB / 458.1 MB, free: 14.38 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06347/0.5822, allocations: 27.82 MB / 485.9 MB, free: 2.605 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.5823, allocations: 3.938 kB / 485.9 MB, free: 2.602 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.865e-05/0.5823, allocations: 16 kB / 485.9 MB, free: 2.586 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.001635/0.584, allocations: 1.139 MB / 487.1 MB, free: 1.352 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.584, allocations: 12.03 kB / 487.1 MB, free: 1.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.5842, allocations: 83.06 kB / 487.1 MB, free: 1.258 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007963/0.585, allocations: 427.4 kB / 487.6 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.922e-05/0.5851, allocations: 23.92 kB / 487.6 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.204e-05/0.5851, allocations: 24 kB / 487.6 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.5862, allocations: 0.5084 MB / 488.1 MB, free: 244 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.5862, allocations: 8 kB / 488.1 MB, free: 236 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.089e-05/0.5863, allocations: 12 kB / 488.1 MB, free: 224 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.5863, allocations: 0 / 488.1 MB, free: 224 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000644/0.5869, allocations: 368.1 kB / 488.5 MB, free: 15.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/0.5886, allocations: 0.8638 MB / 489.4 MB, free: 14.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007288/0.5894, allocations: 0.5062 MB / 489.9 MB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.5894, allocations: 4 kB / 489.9 MB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001011/0.5904, allocations: 0.6585 MB / 490.5 MB, free: 13.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 2.214e-06/0.5905, allocations: 0 / 490.5 MB, free: 13.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.00272/0.5932, allocations: 1.791 MB / 492.3 MB, free: 11.83 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002596/0.5935, allocations: 283.3 kB / 492.6 MB, free: 11.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/0.5951, allocations: 1.031 MB / 493.6 MB, free: 10.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.197e-05/0.5952, allocations: 49.69 kB / 493.7 MB, free: 10.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.5953, allocations: 149.9 kB / 493.8 MB, free: 10.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.5955, allocations: 79.09 kB / 493.9 MB, free: 10.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-05/0.5955, allocations: 12 kB / 493.9 MB, free: 10.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002136/0.5957, allocations: 342.8 kB / 494.3 MB, free: 9.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005782/0.5963, allocations: 356.1 kB / 494.6 MB, free: 9.473 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000575/0.5969, allocations: 383.1 kB / 495 MB, free: 9.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000631/0.5976, allocations: 0.4919 MB / 495.5 MB, free: 8.555 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.5976, allocations: 0 / 495.5 MB, free: 8.555 MB / 378.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00183/0.5994, allocations: 1.129 MB / 496.6 MB, free: 7.375 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000238/0.5997, allocations: 247.8 kB / 496.8 MB, free: 7.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.5997, allocations: 4.062 kB / 496.8 MB, free: 7.086 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-05/0.5997, allocations: 0 / 496.8 MB, free: 7.086 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.186e-05/0.5998, allocations: 7.938 kB / 496.8 MB, free: 7.078 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.5998, allocations: 0 / 496.8 MB, free: 7.078 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003297/0.6001, allocations: 47.81 kB / 496.9 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002187/0.6004, allocations: 144.2 kB / 497 MB, free: 6.891 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.001091/0.6014, allocations: 0.768 MB / 497.8 MB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.6016, allocations: 87.06 kB / 497.9 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002531/0.6019, allocations: 155.6 kB / 498 MB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.6019, allocations: 3.984 kB / 498 MB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.6019, allocations: 3.938 kB / 498 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.6019, allocations: 0 / 498 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002953/0.6049, allocations: 1.966 MB / 0.4883 GB, free: 3.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.493e-06/0.6049, allocations: 4 kB / 0.4883 GB, free: 3.746 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.684e-05/0.6049, allocations: 11.89 kB / 0.4883 GB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.6049, allocations: 0 / 0.4883 GB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.274e-05/0.605, allocations: 39.97 kB / 0.4883 GB, free: 3.695 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.605, allocations: 4 kB / 0.4884 GB, free: 3.691 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.605, allocations: 0 / 0.4884 GB, free: 3.691 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002085/0.6071, allocations: 1.393 MB / 0.4897 GB, free: 2.238 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009458/0.6081, allocations: 0.5504 MB / 0.4902 GB, free: 1.668 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001866/0.6083, allocations: 79.91 kB / 0.4903 GB, free: 1.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002917/0.6086, allocations: 31.83 kB / 0.4904 GB, free: 1.559 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000438/0.609, allocations: 239.7 kB / 0.4906 GB, free: 1.324 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001958/0.6092, allocations: 155.9 kB / 0.4907 GB, free: 1.172 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001292/0.6105, allocations: 0.8616 MB / 0.4916 GB, free: 324 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6105, allocations: 0 / 0.4916 GB, free: 324 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005079/0.6111, allocations: 124 kB / 0.4917 GB, free: 200 kB / 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.0003247/0.6114, allocations: 184.5 kB / 0.4919 GB, free: 4 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.2444/0.8558, allocations: 1.524 MB / 0.4934 GB, free: 107.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.8558, allocations: 0 / 0.4934 GB, free: 107.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001323/0.8572, allocations: 1.124 MB / 0.4945 GB, free: 107 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/0.8585, allocations: 279.5 kB / 0.4947 GB, free: 107 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00431/0.8628, allocations: 2.15 MB / 0.4968 GB, free: 106.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007448/0.8635, allocations: 1.044 MB / 0.4978 GB, free: 105.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002219/0.8638, allocations: 39.83 kB / 0.4979 GB, free: 105.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.906e-05/0.8638, allocations: 17.72 kB / 0.4979 GB, free: 105.5 MB / 378.7 MB Notification: Performance of SimCode: time 1.112e-06/0.8638, allocations: 0 / 0.4979 GB, free: 105.5 MB / 378.7 MB Notification: Performance of Templates: time 0.01977/0.8836, allocations: 13.57 MB / 0.5111 GB, free: 101.3 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