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.001139/0.001139, allocations: 175.1 kB / 13.63 MB, free: 1.684 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.253/1.253, allocations: 221.4 MB / 235.5 MB, free: 2.934 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008826/0.0008829, allocations: 87.73 kB / 286.5 MB, free: 244 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.132e-05/2.136e-05, allocations: 4 kB / 343.8 MB, free: 4.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08083/0.08086, allocations: 50.41 MB / 394.2 MB, free: 1.875 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2677/0.3486, allocations: 83.08 MB / 477.3 MB, free: 4.508 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001757/0.3488, allocations: 71.8 kB / 477.4 MB, free: 4.441 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07205/0.4208, allocations: 38.07 MB / 0.5034 GB, free: 14.39 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4209, allocations: 0 / 0.5034 GB, free: 14.39 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.14e-05/0.4209, allocations: 8 kB / 0.5034 GB, free: 14.38 MB / 394.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.001047/0.422, allocations: 1.005 MB / 0.5044 GB, free: 13.29 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.422, allocations: 12.02 kB / 0.5044 GB, free: 13.28 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.4222, allocations: 86.97 kB / 0.5045 GB, free: 13.19 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006344/0.4229, allocations: 415.7 kB / 0.5049 GB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.398e-05/0.4229, allocations: 20 kB / 0.5049 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.47e-05/0.423, allocations: 27.98 kB / 0.5049 GB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000785/0.4238, allocations: 0.5099 MB / 0.5054 GB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.4238, allocations: 7.891 kB / 0.5054 GB, free: 12.17 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.661e-05/0.4239, allocations: 16 kB / 0.5054 GB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.4239, allocations: 0 / 0.5054 GB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005282/0.4244, allocations: 361 kB / 0.5058 GB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.4257, allocations: 0.8521 MB / 0.5066 GB, free: 10.9 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006423/0.4264, allocations: 0.5178 MB / 0.5071 GB, free: 10.38 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005813/0.427, allocations: 492.7 kB / 0.5076 GB, free: 9.891 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.427, allocations: 4 kB / 0.5076 GB, free: 9.887 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007577/0.4278, allocations: 0.6509 MB / 0.5082 GB, free: 9.195 MB / 394.7 MB Notification: Performance of pre-optimization done (n=34): time 1.794e-06/0.4278, allocations: 0 / 0.5082 GB, free: 9.195 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.001618/0.4294, allocations: 1.175 MB / 0.5094 GB, free: 7.973 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/0.4296, allocations: 283.3 kB / 0.5096 GB, free: 7.641 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/0.4309, allocations: 1.019 MB / 0.5106 GB, free: 6.609 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.894e-05/0.431, allocations: 49.69 kB / 0.5107 GB, free: 6.555 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.586e-05/0.4311, allocations: 146 kB / 0.5108 GB, free: 6.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.922e-05/0.4312, allocations: 75.16 kB / 0.5109 GB, free: 6.336 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.376e-05/0.4312, allocations: 12 kB / 0.5109 GB, free: 6.324 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.4314, allocations: 346.8 kB / 0.5112 GB, free: 5.977 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004758/0.4319, allocations: 352.1 kB / 0.5116 GB, free: 5.633 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000462/0.4323, allocations: 352.5 kB / 0.5119 GB, free: 5.289 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005104/0.4328, allocations: 0.4891 MB / 0.5124 GB, free: 4.758 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4329, allocations: 0 / 0.5124 GB, free: 4.758 MB / 394.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001421/0.4343, allocations: 1.118 MB / 0.5135 GB, free: 3.59 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001586/0.4345, allocations: 243.9 kB / 0.5137 GB, free: 3.309 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.4345, allocations: 4 kB / 0.5137 GB, free: 3.305 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.4345, allocations: 3.953 kB / 0.5137 GB, free: 3.301 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.787e-05/0.4345, allocations: 8 kB / 0.5137 GB, free: 3.293 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.4345, allocations: 3.984 kB / 0.5137 GB, free: 3.289 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003101/0.4349, allocations: 43.7 kB / 0.5138 GB, free: 3.246 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001656/0.435, allocations: 152.2 kB / 0.5139 GB, free: 3.098 MB / 394.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.dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[1].x,$PRE.dFFREGL.delay.inertialDelaySensitive[1].y,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,$PRE.dFFREGL.delay.inertialDelaySensitive[2].y,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 () * 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.000313/0.4353, allocations: 418 kB / 0.5143 GB, free: 2.641 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.4355, allocations: 87.06 kB / 0.5144 GB, free: 2.555 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002858/0.4358, allocations: 147.8 kB / 0.5145 GB, free: 2.402 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.4358, allocations: 0 / 0.5145 GB, free: 2.402 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4358, allocations: 3.953 kB / 0.5145 GB, free: 2.398 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.4358, allocations: 0 / 0.5145 GB, free: 2.398 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002365/0.4382, allocations: 1.954 MB / 0.5165 GB, free: 352 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4382, allocations: 0 / 0.5165 GB, free: 352 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.076e-05/0.4382, allocations: 0 / 0.5165 GB, free: 352 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.4382, allocations: 4 kB / 0.5165 GB, free: 348 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.932e-05/0.4383, allocations: 43.92 kB / 0.5165 GB, free: 304 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.4383, allocations: 0 / 0.5165 GB, free: 304 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4383, allocations: 7.938 kB / 0.5165 GB, free: 296 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/0.4399, allocations: 1.361 MB / 0.5178 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008201/0.4408, allocations: 0.5621 MB / 0.5184 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/0.4409, allocations: 59.97 kB / 0.5184 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002991/0.4412, allocations: 43.83 kB / 0.5185 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003716/0.4416, allocations: 239.7 kB / 0.5187 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001578/0.4418, allocations: 155.9 kB / 0.5189 GB, free: 13.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001052/0.4428, allocations: 0.8539 MB / 0.5197 GB, free: 12.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.4429, allocations: 0 / 0.5197 GB, free: 12.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004167/0.4433, allocations: 120 kB / 0.5198 GB, free: 12.83 MB / 410.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) * 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.0002278/0.4435, allocations: 196.4 kB / 0.52 GB, free: 12.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001468/0.445, allocations: 1.508 MB / 0.5215 GB, free: 11.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.445, allocations: 7.875 kB / 0.5215 GB, free: 11.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008971/0.4459, allocations: 1.109 MB / 0.5226 GB, free: 9.836 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.447, allocations: 296.7 kB / 0.5228 GB, free: 9.551 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002318/0.4493, allocations: 1.722 MB / 0.5245 GB, free: 7.801 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006578/0.45, allocations: 1.046 MB / 0.5255 GB, free: 6.723 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001154/0.4501, allocations: 29.52 kB / 0.5256 GB, free: 6.695 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.43e-05/0.4501, allocations: 19.44 kB / 0.5256 GB, free: 6.676 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4501, allocations: 0 / 0.5256 GB, free: 6.676 MB / 410.7 MB Notification: Performance of Templates: time 0.01565/0.4658, allocations: 13.54 MB / 0.5388 GB, free: 8.918 MB / 426.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