Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.Digital.Examples.DFFREGL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001521/0.001521, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.651/1.651, allocations: 225.6 MB / 234.8 MB, free: 3.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008706/0.0008705, allocations: 102 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.531e-05/1.547e-05, allocations: 4 kB / 343.7 MB, free: 8.273 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09249/0.09252, allocations: 51.47 MB / 395.2 MB, free: 4.766 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3037/0.3962, allocations: 83.23 MB / 478.4 MB, free: 9.656 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001766/0.3965, allocations: 64.66 kB / 478.5 MB, free: 9.633 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06625/0.4627, allocations: 37.89 MB / 0.5042 GB, free: 9.586 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4628, allocations: 0 / 0.5042 GB, free: 9.586 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.458e-05/0.4628, allocations: 8 kB / 0.5043 GB, free: 9.578 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.001645/0.4645, allocations: 1.016 MB / 0.5052 GB, free: 8.473 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.4645, allocations: 11.97 kB / 0.5053 GB, free: 8.461 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002676/0.4648, allocations: 86.97 kB / 0.5053 GB, free: 8.375 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006706/0.4655, allocations: 427.6 kB / 0.5057 GB, free: 7.914 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.41e-05/0.4656, allocations: 16 kB / 0.5058 GB, free: 7.898 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.067e-05/0.4656, allocations: 20 kB / 0.5058 GB, free: 7.879 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005466/0.4662, allocations: 344.1 kB / 0.5061 GB, free: 7.539 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007901/0.467, allocations: 494.2 kB / 0.5066 GB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.467, allocations: 0 / 0.5066 GB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.188e-05/0.4671, allocations: 8 kB / 0.5066 GB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.4671, allocations: 7.984 kB / 0.5066 GB, free: 7.035 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.4685, allocations: 0.8326 MB / 0.5074 GB, free: 6.164 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005925/0.4691, allocations: 498.4 kB / 0.5079 GB, free: 5.668 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005443/0.4697, allocations: 484.7 kB / 0.5083 GB, free: 5.188 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.4697, allocations: 4 kB / 0.5083 GB, free: 5.184 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007676/0.4705, allocations: 0.6548 MB / 0.509 GB, free: 4.488 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 1.964e-06/0.4705, allocations: 0 / 0.509 GB, free: 4.488 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.001327/0.4718, allocations: 0.9055 MB / 0.5099 GB, free: 3.578 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001575/0.472, allocations: 279.3 kB / 0.5101 GB, free: 3.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/0.4733, allocations: 0.984 MB / 0.5111 GB, free: 2.262 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.78e-05/0.4734, allocations: 49.69 kB / 0.5111 GB, free: 2.207 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.4735, allocations: 146 kB / 0.5113 GB, free: 2.059 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.857e-05/0.4736, allocations: 79.09 kB / 0.5114 GB, free: 1.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.802e-05/0.4737, allocations: 12 kB / 0.5114 GB, free: 1.969 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.4738, allocations: 342.8 kB / 0.5117 GB, free: 1.625 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000418/0.4742, allocations: 332.2 kB / 0.512 GB, free: 1.301 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003985/0.4746, allocations: 344.4 kB / 0.5123 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003201/0.475, allocations: 249 kB / 0.5126 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.475, allocations: 0 / 0.5126 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001142/0.4761, allocations: 0.849 MB / 0.5134 GB, free: 15.87 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001608/0.4763, allocations: 243.8 kB / 0.5136 GB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4763, allocations: 0 / 0.5136 GB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.4763, allocations: 4 kB / 0.5136 GB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.097e-05/0.4764, allocations: 7.938 kB / 0.5137 GB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.4764, allocations: 3.938 kB / 0.5137 GB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002958/0.4767, allocations: 35.88 kB / 0.5137 GB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/0.4768, allocations: 151.4 kB / 0.5138 GB, free: 15.39 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.0003389/0.4772, allocations: 410 kB / 0.5142 GB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.4773, allocations: 98.89 kB / 0.5143 GB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000216/0.4775, allocations: 152.1 kB / 0.5145 GB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.4775, allocations: 0 / 0.5145 GB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.4776, allocations: 3.984 kB / 0.5145 GB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.4776, allocations: 0 / 0.5145 GB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001978/0.4795, allocations: 1.619 MB / 0.5161 GB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4796, allocations: 0 / 0.5161 GB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.245e-05/0.4796, allocations: 3.938 kB / 0.5161 GB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.126e-05/0.4796, allocations: 7.953 kB / 0.5161 GB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.377e-05/0.4797, allocations: 35.97 kB / 0.5161 GB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.4797, allocations: 4 kB / 0.5161 GB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4797, allocations: 0 / 0.5161 GB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/0.481, allocations: 1.072 MB / 0.5172 GB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007297/0.4818, allocations: 0.5582 MB / 0.5177 GB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001627/0.4819, allocations: 67.91 kB / 0.5178 GB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002733/0.4822, allocations: 27.89 kB / 0.5178 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003656/0.4826, allocations: 239.7 kB / 0.518 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001564/0.4828, allocations: 156.2 kB / 0.5182 GB, free: 10.83 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001001/0.4838, allocations: 0.8226 MB / 0.519 GB, free: 10.01 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4838, allocations: 3.938 kB / 0.519 GB, free: 10 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004089/0.4842, allocations: 124 kB / 0.5191 GB, free: 9.883 MB / 394.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.0002301/0.4844, allocations: 181.7 kB / 0.5193 GB, free: 9.695 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001414/0.4858, allocations: 1.483 MB / 0.5207 GB, free: 8.129 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4859, allocations: 0 / 0.5207 GB, free: 8.129 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008923/0.4868, allocations: 1.086 MB / 0.5218 GB, free: 6.957 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.4879, allocations: 283.9 kB / 0.522 GB, free: 6.688 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/0.4903, allocations: 1.699 MB / 0.5237 GB, free: 4.957 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007395/0.491, allocations: 1.039 MB / 0.5247 GB, free: 3.895 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000138/0.4912, allocations: 45.73 kB / 0.5248 GB, free: 3.852 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.692e-05/0.4912, allocations: 15.44 kB / 0.5248 GB, free: 3.836 MB / 394.7 MB Notification: Performance of SimCode: time 1.964e-06/0.4912, allocations: 0 / 0.5248 GB, free: 3.836 MB / 394.7 MB Notification: Performance of Templates: time 0.01639/0.5076, allocations: 13.09 MB / 0.5376 GB, free: 6.574 MB / 410.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGL.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGL.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Digital.Examples.DFFREGL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches