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.001449/0.001448, allocations: 200.7 kB / 18.11 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 226.5 MB / 245.4 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008101/0.0008101, allocations: 93.06 kB / 297.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002574/0.0002574, allocations: 8 kB / 358.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2465, allocations: 51.3 MB / 409.4 MB, free: 27.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1015/0.348, allocations: 83.89 MB / 493.3 MB, free: 7.586 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/0.3483, allocations: 67.97 kB / 493.3 MB, free: 7.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2459/0.5942, allocations: 37.93 MB / 0.5188 GB, free: 91.94 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.5943, allocations: 0 / 0.5188 GB, free: 91.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.914e-05/0.5943, allocations: 10.12 kB / 0.5188 GB, free: 91.94 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.001629/0.5959, allocations: 1.131 MB / 0.5199 GB, free: 90.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.596, allocations: 14.78 kB / 0.5199 GB, free: 90.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002283/0.5962, allocations: 87.03 kB / 0.52 GB, free: 90.87 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005689/0.5968, allocations: 461.1 kB / 0.5205 GB, free: 90.51 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.6e-05/0.5969, allocations: 16.19 kB / 0.5205 GB, free: 90.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.338e-05/0.5969, allocations: 28.2 kB / 0.5205 GB, free: 90.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007389/0.5977, allocations: 0.5153 MB / 0.521 GB, free: 90.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.5977, allocations: 4.125 kB / 0.521 GB, free: 90.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.34e-05/0.5978, allocations: 22.47 kB / 0.521 GB, free: 90.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.5978, allocations: 0 / 0.521 GB, free: 90.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004765/0.5983, allocations: 363.6 kB / 0.5214 GB, free: 90.04 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.5996, allocations: 0.8577 MB / 0.5222 GB, free: 89.39 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000567/0.6002, allocations: 0.5029 MB / 0.5227 GB, free: 89.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005032/0.6007, allocations: 0.4906 MB / 0.5232 GB, free: 88.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.6007, allocations: 3.531 kB / 0.5232 GB, free: 88.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006808/0.6014, allocations: 0.66 MB / 0.5238 GB, free: 88.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 2.605e-06/0.6014, allocations: 0 / 0.5238 GB, free: 88.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.001951/0.6034, allocations: 1.551 MB / 0.5254 GB, free: 86.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.6035, allocations: 283.3 kB / 0.5256 GB, free: 86.47 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001522/0.605, allocations: 1.167 MB / 0.5268 GB, free: 85.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.756e-05/0.6051, allocations: 45.69 kB / 0.5268 GB, free: 85.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.129e-05/0.6052, allocations: 149.9 kB / 0.527 GB, free: 85.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.539e-05/0.6053, allocations: 78.97 kB / 0.527 GB, free: 85.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/0.6053, allocations: 12 kB / 0.527 GB, free: 85.01 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.71e-05/0.6054, allocations: 338.8 kB / 0.5274 GB, free: 84.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004254/0.6058, allocations: 344.1 kB / 0.5277 GB, free: 84.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004426/0.6063, allocations: 389 kB / 0.5281 GB, free: 83.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008182/0.6071, allocations: 0.9746 MB / 0.529 GB, free: 82.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/0.6071, allocations: 3.938 kB / 0.529 GB, free: 82.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001206/0.6084, allocations: 1.133 MB / 0.5301 GB, free: 81.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001234/0.6085, allocations: 243.9 kB / 0.5304 GB, free: 81.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.6085, allocations: 0 / 0.5304 GB, free: 81.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.6085, allocations: 4.062 kB / 0.5304 GB, free: 81.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.68e-05/0.6086, allocations: 11.83 kB / 0.5304 GB, free: 81.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.6086, allocations: 3.938 kB / 0.5304 GB, free: 81.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003054/0.6089, allocations: 43.83 kB / 0.5304 GB, free: 81.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001331/0.609, allocations: 151.7 kB / 0.5306 GB, free: 81.22 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.0007099/0.6097, allocations: 0.7639 MB / 0.5313 GB, free: 80.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.6099, allocations: 91.06 kB / 0.5314 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/0.6101, allocations: 147.7 kB / 0.5315 GB, free: 80.17 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.6101, allocations: 0 / 0.5315 GB, free: 80.17 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.6101, allocations: 7.922 kB / 0.5315 GB, free: 80.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.6101, allocations: 0 / 0.5315 GB, free: 80.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002031/0.6122, allocations: 1.989 MB / 0.5335 GB, free: 78.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.6122, allocations: 0 / 0.5335 GB, free: 78.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.159e-05/0.6122, allocations: 8 kB / 0.5335 GB, free: 78.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.6122, allocations: 0 / 0.5335 GB, free: 78.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.725e-05/0.6123, allocations: 39.92 kB / 0.5335 GB, free: 78.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.6123, allocations: 0 / 0.5335 GB, free: 78.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.6123, allocations: 0 / 0.5335 GB, free: 78.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/0.6137, allocations: 1.411 MB / 0.5349 GB, free: 76.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006512/0.6143, allocations: 0.5621 MB / 0.5355 GB, free: 75.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001765/0.6145, allocations: 63.84 kB / 0.5355 GB, free: 75.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002963/0.6148, allocations: 39.88 kB / 0.5356 GB, free: 75.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003587/0.6152, allocations: 239.7 kB / 0.5358 GB, free: 75.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001384/0.6153, allocations: 159.9 kB / 0.5359 GB, free: 75.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001202/0.6165, allocations: 0.8616 MB / 0.5368 GB, free: 74.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6166, allocations: 0 / 0.5368 GB, free: 74.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000556/0.6171, allocations: 124 kB / 0.5369 GB, free: 74.52 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.0002773/0.6174, allocations: 188.3 kB / 0.5371 GB, free: 74.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0014/0.6188, allocations: 1.51 MB / 0.5386 GB, free: 72.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.6188, allocations: 3.844 kB / 0.5386 GB, free: 72.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008092/0.6196, allocations: 1.109 MB / 0.5396 GB, free: 71.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.6208, allocations: 302 kB / 0.5399 GB, free: 71.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002728/0.6235, allocations: 2.162 MB / 0.542 GB, free: 69.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005768/0.6241, allocations: 1.023 MB / 0.543 GB, free: 68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001464/0.6243, allocations: 37.5 kB / 0.5431 GB, free: 67.97 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.396e-05/0.6243, allocations: 15.44 kB / 0.5431 GB, free: 67.95 MB / 378.7 MB Notification: Performance of SimCode: time 1.523e-06/0.6243, allocations: 0 / 0.5431 GB, free: 67.95 MB / 378.7 MB Notification: Performance of Templates: time 0.01423/0.6385, allocations: 13.63 MB / 0.5564 GB, free: 54.18 MB / 378.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/jenkins1/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