Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGL.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.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_3.2.3_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_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 178.4 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.3 MB / 214.4 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008228/0.0008229, allocations: 88.11 kB / 262.4 MB, free: 1.676 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.666e-05/1.67e-05, allocations: 4 kB / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07586/0.0759, allocations: 47.59 MB / 363.1 MB, free: 7.078 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2953/0.3712, allocations: 81.73 MB / 444.8 MB, free: 13.88 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001838/0.3714, allocations: 72.14 kB / 444.9 MB, free: 13.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06914/0.4406, allocations: 37.45 MB / 482.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4407, allocations: 3.938 kB / 482.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.966e-05/0.4407, allocations: 11.94 kB / 482.3 MB, free: 14.46 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.00102/0.4417, allocations: 1.008 MB / 483.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.4417, allocations: 8.031 kB / 483.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.4419, allocations: 86.97 kB / 483.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005533/0.4425, allocations: 423.5 kB / 483.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.916e-05/0.4425, allocations: 20 kB / 483.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.128e-05/0.4426, allocations: 20 kB / 483.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005171/0.4431, allocations: 348.1 kB / 484.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006847/0.4438, allocations: 498.2 kB / 484.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.4438, allocations: 0 / 484.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.568e-05/0.4439, allocations: 11.98 kB / 484.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.4439, allocations: 4 kB / 484.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.4451, allocations: 0.8133 MB / 485.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006443/0.4458, allocations: 0.5062 MB / 486.1 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005795/0.4464, allocations: 484.7 kB / 486.5 MB, free: 10.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.4464, allocations: 0 / 486.5 MB, free: 10.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008096/0.4472, allocations: 0.6509 MB / 487.2 MB, free: 9.391 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 2.194e-06/0.4472, allocations: 0 / 487.2 MB, free: 9.391 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.001441/0.4487, allocations: 0.9055 MB / 488.1 MB, free: 8.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001565/0.4488, allocations: 279.3 kB / 488.4 MB, free: 8.152 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.4502, allocations: 0.9879 MB / 489.3 MB, free: 7.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.062e-05/0.4502, allocations: 45.69 kB / 489.4 MB, free: 7.109 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.4504, allocations: 153.9 kB / 489.5 MB, free: 6.953 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.4505, allocations: 79.14 kB / 489.6 MB, free: 6.875 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.822e-05/0.4506, allocations: 12 kB / 489.6 MB, free: 6.863 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.4508, allocations: 338.8 kB / 490 MB, free: 6.523 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004418/0.4512, allocations: 336.2 kB / 490.3 MB, free: 6.195 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004256/0.4516, allocations: 340.5 kB / 490.6 MB, free: 5.863 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003109/0.452, allocations: 249.3 kB / 490.9 MB, free: 5.621 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.452, allocations: 0 / 490.9 MB, free: 5.621 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001197/0.4532, allocations: 0.8525 MB / 491.7 MB, free: 4.762 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001672/0.4533, allocations: 247.8 kB / 492 MB, free: 4.477 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.4534, allocations: 0 / 492 MB, free: 4.477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.4534, allocations: 4 kB / 492 MB, free: 4.473 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.206e-05/0.4534, allocations: 4 kB / 492 MB, free: 4.469 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.4534, allocations: 4 kB / 492 MB, free: 4.465 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000318/0.4538, allocations: 35.88 kB / 492 MB, free: 4.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001702/0.4539, allocations: 152.2 kB / 492.2 MB, free: 4.281 MB / 362.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.000369/0.4543, allocations: 406.9 kB / 492.6 MB, free: 3.832 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.4544, allocations: 90.97 kB / 492.6 MB, free: 3.742 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002699/0.4547, allocations: 156.1 kB / 492.8 MB, free: 3.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.4547, allocations: 3.938 kB / 492.8 MB, free: 3.586 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4547, allocations: 0 / 492.8 MB, free: 3.586 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.4547, allocations: 4 kB / 492.8 MB, free: 3.582 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00206/0.4568, allocations: 1.622 MB / 494.4 MB, free: 1.914 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.4568, allocations: 0 / 494.4 MB, free: 1.914 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.396e-05/0.4568, allocations: 7.984 kB / 494.4 MB, free: 1.906 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.4569, allocations: 3.953 kB / 494.4 MB, free: 1.902 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-05/0.4569, allocations: 35.97 kB / 494.5 MB, free: 1.867 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.4569, allocations: 4 kB / 494.5 MB, free: 1.863 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4569, allocations: 0 / 494.5 MB, free: 1.863 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/0.4583, allocations: 1.076 MB / 495.5 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007687/0.4591, allocations: 0.5582 MB / 496.1 MB, free: 196 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001609/0.4593, allocations: 67.91 kB / 496.2 MB, free: 128 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002918/0.4596, allocations: 31.88 kB / 496.2 MB, free: 96 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003884/0.46, allocations: 239.7 kB / 496.4 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001587/0.4601, allocations: 159.9 kB / 496.6 MB, free: 15.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001012/0.4612, allocations: 0.8109 MB / 497.4 MB, free: 14.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4612, allocations: 0 / 497.4 MB, free: 14.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004438/0.4616, allocations: 120 kB / 497.5 MB, free: 14.78 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) * 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.0002435/0.4619, allocations: 189.7 kB / 497.7 MB, free: 14.58 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001529/0.4634, allocations: 1.476 MB / 499.2 MB, free: 13.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4634, allocations: 0 / 499.2 MB, free: 13.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009542/0.4644, allocations: 1.097 MB / 0.4886 GB, free: 11.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.4655, allocations: 279.9 kB / 0.4888 GB, free: 11.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002392/0.468, allocations: 1.696 MB / 0.4905 GB, free: 9.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007312/0.4687, allocations: 1.046 MB / 0.4915 GB, free: 8.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001231/0.4688, allocations: 37.77 kB / 0.4915 GB, free: 8.734 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.72e-05/0.4689, allocations: 15.44 kB / 0.4916 GB, free: 8.719 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4689, allocations: 0 / 0.4916 GB, free: 8.719 MB / 378.7 MB Notification: Performance of Templates: time 0.01638/0.4852, allocations: 13.07 MB / 0.5043 GB, free: 11.36 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGL.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/DFFREGL/DFFREGL.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches