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.001425/0.001425, allocations: 172.2 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 205.2 MB / 219.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008546/0.0008546, allocations: 82.66 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.346e-05/2.348e-05, allocations: 0 / 322.4 MB, free: 17.37 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08529/0.08533, allocations: 47.59 MB / 370 MB, free: 1.719 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2896/0.3749, allocations: 82.15 MB / 452.2 MB, free: 11.07 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002078/0.3752, allocations: 67.66 kB / 452.2 MB, free: 11.04 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07443/0.4497, allocations: 37.69 MB / 489.9 MB, free: 6.961 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4497, allocations: 0 / 489.9 MB, free: 6.961 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.463e-05/0.4498, allocations: 15.94 kB / 490 MB, free: 6.945 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.001997/0.4518, allocations: 1.004 MB / 491 MB, free: 5.852 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.4519, allocations: 16.03 kB / 491 MB, free: 5.836 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003168/0.4522, allocations: 86.97 kB / 491.1 MB, free: 5.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009321/0.4531, allocations: 423.5 kB / 491.5 MB, free: 5.297 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.616e-05/0.4532, allocations: 20 kB / 491.5 MB, free: 5.277 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.531e-05/0.4533, allocations: 23.98 kB / 491.5 MB, free: 5.254 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.4545, allocations: 0.5022 MB / 492 MB, free: 4.742 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.4545, allocations: 0 / 492 MB, free: 4.742 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.977e-05/0.4546, allocations: 12 kB / 492 MB, free: 4.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/0.4546, allocations: 4 kB / 492 MB, free: 4.727 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007557/0.4554, allocations: 364.1 kB / 492.4 MB, free: 4.371 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001807/0.4572, allocations: 0.8598 MB / 493.2 MB, free: 3.461 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009622/0.4582, allocations: 0.5101 MB / 493.8 MB, free: 2.941 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008815/0.4591, allocations: 0.4889 MB / 494.2 MB, free: 2.449 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.4591, allocations: 0 / 494.2 MB, free: 2.449 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001152/0.4603, allocations: 0.6518 MB / 494.9 MB, free: 1.758 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 2.855e-06/0.4603, allocations: 0 / 494.9 MB, free: 1.758 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.002376/0.4627, allocations: 1.175 MB / 496.1 MB, free: 0.5352 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002031/0.4629, allocations: 287.3 kB / 496.4 MB, free: 204 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002002/0.4649, allocations: 1.019 MB / 497.4 MB, free: 15.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001001/0.465, allocations: 49.69 kB / 497.4 MB, free: 15.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.4652, allocations: 149.9 kB / 497.6 MB, free: 14.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.4653, allocations: 75.08 kB / 497.6 MB, free: 14.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.038e-05/0.4654, allocations: 12 kB / 497.7 MB, free: 14.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.4656, allocations: 350.8 kB / 498 MB, free: 14.53 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004821/0.4661, allocations: 348.2 kB / 498.3 MB, free: 14.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000459/0.4666, allocations: 352.4 kB / 498.7 MB, free: 13.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005025/0.4671, allocations: 0.493 MB / 499.2 MB, free: 13.31 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4671, allocations: 0 / 499.2 MB, free: 13.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001437/0.4685, allocations: 1.122 MB / 0.4886 GB, free: 12.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001782/0.4687, allocations: 243.9 kB / 0.4888 GB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.4687, allocations: 0 / 0.4888 GB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.4688, allocations: 0 / 0.4888 GB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.16e-05/0.4688, allocations: 3.938 kB / 0.4888 GB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.4688, allocations: 7.984 kB / 0.4888 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003247/0.4691, allocations: 43.89 kB / 0.4889 GB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001895/0.4693, allocations: 152.2 kB / 0.489 GB, free: 11.65 MB / 378.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.0003887/0.4697, allocations: 410.8 kB / 0.4894 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.4699, allocations: 98.91 kB / 0.4895 GB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002866/0.4702, allocations: 147.8 kB / 0.4896 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.4702, allocations: 4 kB / 0.4896 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4702, allocations: 0 / 0.4896 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.4702, allocations: 0 / 0.4896 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002324/0.4725, allocations: 1.966 MB / 0.4915 GB, free: 8.883 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/0.4725, allocations: 0 / 0.4915 GB, free: 8.883 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.244e-05/0.4726, allocations: 4 kB / 0.4916 GB, free: 8.879 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.207e-06/0.4726, allocations: 0 / 0.4916 GB, free: 8.879 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.169e-05/0.4726, allocations: 43.97 kB / 0.4916 GB, free: 8.836 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.4727, allocations: 0 / 0.4916 GB, free: 8.836 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4727, allocations: 0 / 0.4916 GB, free: 8.836 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.4743, allocations: 1.369 MB / 0.4929 GB, free: 7.406 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008386/0.4751, allocations: 0.566 MB / 0.4935 GB, free: 6.816 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/0.4753, allocations: 55.97 kB / 0.4935 GB, free: 6.762 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002926/0.4756, allocations: 43.81 kB / 0.4936 GB, free: 6.719 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003694/0.476, allocations: 235.7 kB / 0.4938 GB, free: 6.488 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001619/0.4761, allocations: 159.8 kB / 0.494 GB, free: 6.332 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001095/0.4773, allocations: 0.8617 MB / 0.4948 GB, free: 5.477 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4773, allocations: 0 / 0.4948 GB, free: 5.477 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004431/0.4777, allocations: 120 kB / 0.4949 GB, free: 5.359 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.0002394/0.478, allocations: 184.4 kB / 0.4951 GB, free: 5.168 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001609/0.4796, allocations: 1.507 MB / 0.4966 GB, free: 3.574 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.4796, allocations: 4 kB / 0.4966 GB, free: 3.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.4806, allocations: 1.117 MB / 0.4977 GB, free: 2.367 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.4817, allocations: 283.9 kB / 0.4979 GB, free: 2.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002527/0.4842, allocations: 1.718 MB / 0.4996 GB, free: 352 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007576/0.485, allocations: 1.042 MB / 0.5006 GB, free: 15.27 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001204/0.4852, allocations: 41.48 kB / 0.5007 GB, free: 15.23 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.982e-05/0.4852, allocations: 19.44 kB / 0.5007 GB, free: 15.21 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4852, allocations: 0 / 0.5007 GB, free: 15.21 MB / 394.7 MB Notification: Performance of Templates: time 0.01782/0.503, allocations: 13.54 MB / 0.5139 GB, free: 1.402 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