Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.DFFREGL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGL.dFFR.clock|dFFREGL.dFFR.reset|dFFREGL.delay.inertialDelaySensitive.1..x|dFFREGL.delay.inertialDelaySensitive.1..y|dFFREGL.delay.inertialDelaySensitive.2..x|dFFREGL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL") translateModel(Modelica.Electrical.Digital.Examples.DFFREGL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGL.dFFR.clock|dFFREGL.dFFR.reset|dFFREGL.delay.inertialDelaySensitive.1..x|dFFREGL.delay.inertialDelaySensitive.1..y|dFFREGL.delay.inertialDelaySensitive.2..x|dFFREGL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 181.3 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 223.2 MB / 240.3 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008077/0.0008076, allocations: 102.6 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002982/0.0002982, allocations: 11.94 kB / 351.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2776, allocations: 50.4 MB / 401.5 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1042/0.3818, allocations: 83.15 MB / 484.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001825/0.382, allocations: 71.95 kB / 484.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2598/0.6418, allocations: 37.89 MB / 0.5103 GB, free: 95.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.6419, allocations: 0 / 0.5103 GB, free: 95.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.499e-05/0.6419, allocations: 11.88 kB / 0.5104 GB, free: 95.84 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001716/0.6436, allocations: 1.129 MB / 0.5115 GB, free: 95.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.6437, allocations: 15.56 kB / 0.5115 GB, free: 95.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000297/0.644, allocations: 89.94 kB / 0.5116 GB, free: 95.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008631/0.6449, allocations: 421.5 kB / 0.512 GB, free: 94.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.652e-05/0.645, allocations: 22.06 kB / 0.512 GB, free: 94.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.6451, allocations: 21.03 kB / 0.512 GB, free: 94.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008806/0.646, allocations: 0.5193 MB / 0.5125 GB, free: 94.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.646, allocations: 3.609 kB / 0.5125 GB, free: 94.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.632e-05/0.6461, allocations: 10.47 kB / 0.5125 GB, free: 94.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-06/0.6461, allocations: 3.719 kB / 0.5125 GB, free: 94.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000572/0.6467, allocations: 369.7 kB / 0.5129 GB, free: 94.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001543/0.6482, allocations: 0.8636 MB / 0.5137 GB, free: 94.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006338/0.6489, allocations: 0.5044 MB / 0.5142 GB, free: 94.28 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.6489, allocations: 3.625 kB / 0.5142 GB, free: 94.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008279/0.6497, allocations: 0.6611 MB / 0.5149 GB, free: 93.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 2.905e-06/0.6498, allocations: 0 / 0.5149 GB, free: 93.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.002153/0.6519, allocations: 1.788 MB / 0.5166 GB, free: 93.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.652, allocations: 281.9 kB / 0.5169 GB, free: 92.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/0.6535, allocations: 1.031 MB / 0.5179 GB, free: 92.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.924e-05/0.6536, allocations: 44.77 kB / 0.5179 GB, free: 92.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.255e-05/0.6537, allocations: 150.6 kB / 0.5181 GB, free: 92.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.293e-05/0.6538, allocations: 85.02 kB / 0.5182 GB, free: 92.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-05/0.6539, allocations: 11.88 kB / 0.5182 GB, free: 92.06 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.63e-05/0.6539, allocations: 346.4 kB / 0.5185 GB, free: 91.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004424/0.6544, allocations: 350.5 kB / 0.5188 GB, free: 91.63 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004317/0.6548, allocations: 377.7 kB / 0.5192 GB, free: 91.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004271/0.6553, allocations: 495.4 kB / 0.5197 GB, free: 91.17 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.6553, allocations: 4 kB / 0.5197 GB, free: 91.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001253/0.6565, allocations: 1.136 MB / 0.5208 GB, free: 90.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001269/0.6567, allocations: 240.6 kB / 0.521 GB, free: 90.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.6567, allocations: 7.453 kB / 0.521 GB, free: 90.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.6567, allocations: 0 / 0.521 GB, free: 90.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.102e-05/0.6567, allocations: 3.938 kB / 0.521 GB, free: 90.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.6568, allocations: 0 / 0.521 GB, free: 90.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003327/0.6571, allocations: 45.86 kB / 0.5211 GB, free: 90.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001541/0.6573, allocations: 151 kB / 0.5212 GB, free: 90.29 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.dFFREGL.delay.inertialDelaySensitive[2].y,$PRE.dFFREGL.delay.inertialDelaySensitive[1].y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,$PRE.dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].y_old,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGL.delay.inertialDelaySensitive[2].x,dFFREGL.delay.inertialDelaySensitive[2].x,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].y_old,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGL.dFFR.reset,dFFREGL.dFFR.reset,$PRE.dFFREGL.dFFR.clock,dFFREGL.dFFR.clock,dFFREGL.dFFR.dataIn[1],dFFREGL.dFFR.dataIn[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.dataOut[2],dFFREGL.dFFR.clock_flag,dFFREGL.dFFR.reset_flag,dFFREGL.dFFR.nextstate[1],dFFREGL.dFFR.nextstate[2],dFFREGL.dFFR.next_assign_val[1],dFFREGL.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.0007308/0.658, allocations: 0.7649 MB / 0.522 GB, free: 89.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.6581, allocations: 92.66 kB / 0.522 GB, free: 89.67 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002197/0.6584, allocations: 153.4 kB / 0.5222 GB, free: 89.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.6584, allocations: 3.938 kB / 0.5222 GB, free: 89.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/0.6584, allocations: 0 / 0.5222 GB, free: 89.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.6584, allocations: 3.844 kB / 0.5222 GB, free: 89.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002064/0.6605, allocations: 1.964 MB / 0.5241 GB, free: 87.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.6605, allocations: 3.938 kB / 0.5241 GB, free: 87.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.156e-05/0.6605, allocations: 4 kB / 0.5241 GB, free: 87.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.6605, allocations: 0 / 0.5241 GB, free: 87.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.537e-05/0.6606, allocations: 39.61 kB / 0.5242 GB, free: 87.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.6606, allocations: 0 / 0.5242 GB, free: 87.72 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.6606, allocations: 0 / 0.5242 GB, free: 87.72 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/0.662, allocations: 1.405 MB / 0.5255 GB, free: 86.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007375/0.6628, allocations: 0.5581 MB / 0.5261 GB, free: 85.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.6629, allocations: 63.97 kB / 0.5261 GB, free: 85.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002829/0.6632, allocations: 39.53 kB / 0.5262 GB, free: 85.58 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003145/0.6635, allocations: 239 kB / 0.5264 GB, free: 85.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001274/0.6637, allocations: 156.2 kB / 0.5266 GB, free: 85.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009043/0.6646, allocations: 0.8732 MB / 0.5274 GB, free: 84.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6646, allocations: 0 / 0.5274 GB, free: 84.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004476/0.665, allocations: 120 kB / 0.5275 GB, free: 84.21 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,dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].y_old,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].t_next,dFFREGL.delay.inertialDelaySensitive[2].x,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].y_old,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].t_next,dFFREGL.dFFR.reset,dFFREGL.dFFR.clock,dFFREGL.dFFR.dataIn[1],dFFREGL.dFFR.dataIn[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.dataOut[2],dFFREGL.dFFR.clock_flag,dFFREGL.dFFR.reset_flag,dFFREGL.dFFR.nextstate[1],dFFREGL.dFFR.nextstate[2],dFFREGL.dFFR.next_assign_val[1],dFFREGL.dFFR.next_assign_val[2]) * Number of discrete states: 32 (data_1.y,reset.y,data_0.y,clock.y,dFFREGL.dFFR.dataOut[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.next_assign_val[2],dFFREGL.dFFR.next_assign_val[1],dFFREGL.dFFR.nextstate[2],dFFREGL.dFFR.nextstate[1],dFFREGL.dFFR.reset_flag,dFFREGL.dFFR.clock_flag,dFFREGL.dFFR.clock,dFFREGL.dFFR.reset,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].t_next,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].t_next,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREGL.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.0002283/0.6653, allocations: 184.1 kB / 0.5277 GB, free: 84.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001265/0.6665, allocations: 1.529 MB / 0.5292 GB, free: 82.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6666, allocations: 0 / 0.5292 GB, free: 82.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007358/0.6673, allocations: 1.12 MB / 0.5303 GB, free: 81.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009266/0.6682, allocations: 275 kB / 0.5305 GB, free: 80.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002393/0.6706, allocations: 2.155 MB / 0.5326 GB, free: 78.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005553/0.6712, allocations: 1.042 MB / 0.5337 GB, free: 77.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001752/0.6714, allocations: 37.36 kB / 0.5337 GB, free: 77.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.161e-05/0.6714, allocations: 15.44 kB / 0.5337 GB, free: 77.65 MB / 378.7 MB Notification: Performance of SimCode: time 1.373e-06/0.6714, allocations: 0 / 0.5337 GB, free: 77.65 MB / 378.7 MB Notification: Performance of Templates: time 0.01432/0.6858, allocations: 13.57 MB / 0.547 GB, free: 64 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/DFFREGL/DFFREGL.csv","../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches