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.001294/0.001294, allocations: 181.2 kB / 17.01 MB, free: 5.125 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.798/1.798, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0009216/0.0009212, allocations: 88.16 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000311/0.0003111, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3797, allocations: 47.58 MB / 375.8 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1301/0.5099, allocations: 82.25 MB / 458.1 MB, free: 14.4 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/0.5102, allocations: 67.97 kB / 458.1 MB, free: 14.34 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07857/0.5888, allocations: 37.51 MB / 495.6 MB, free: 8.832 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.5889, allocations: 0 / 495.6 MB, free: 8.832 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.389e-05/0.5889, allocations: 8 kB / 495.6 MB, free: 8.824 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.001481/0.5904, allocations: 1.132 MB / 496.8 MB, free: 7.598 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.5905, allocations: 8.031 kB / 496.8 MB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.5906, allocations: 90.97 kB / 496.9 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007713/0.5914, allocations: 431.4 kB / 497.3 MB, free: 7.039 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.004e-05/0.5915, allocations: 16 kB / 497.3 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.752e-05/0.5916, allocations: 31.92 kB / 497.3 MB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009637/0.5925, allocations: 0.5123 MB / 497.9 MB, free: 6.473 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.5926, allocations: 0 / 497.9 MB, free: 6.473 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.993e-05/0.5926, allocations: 16 kB / 497.9 MB, free: 6.457 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.5926, allocations: 0 / 497.9 MB, free: 6.457 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000591/0.5932, allocations: 364.1 kB / 498.2 MB, free: 6.102 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/0.5951, allocations: 0.856 MB / 499.1 MB, free: 5.195 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007485/0.5958, allocations: 0.5257 MB / 499.6 MB, free: 4.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.5959, allocations: 4 kB / 499.6 MB, free: 4.656 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001014/0.5969, allocations: 0.6548 MB / 0.4885 GB, free: 3.961 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 2.395e-06/0.5969, allocations: 0 / 0.4885 GB, free: 3.961 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.002869/0.5998, allocations: 1.795 MB / 0.4903 GB, free: 2.062 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001935/0.6, allocations: 279.3 kB / 0.4906 GB, free: 1.734 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00152/0.6015, allocations: 1.031 MB / 0.4916 GB, free: 0.6914 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.49e-05/0.6016, allocations: 49.69 kB / 0.4916 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.6017, allocations: 146 kB / 0.4918 GB, free: 0.4922 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.6018, allocations: 83.05 kB / 0.4918 GB, free: 420 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-05/0.6019, allocations: 12 kB / 0.4918 GB, free: 408 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.602, allocations: 342.8 kB / 0.4922 GB, free: 56 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2809/0.8829, allocations: 346.5 kB / 0.4925 GB, free: 107.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.8841, allocations: 383.2 kB / 0.4929 GB, free: 107.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008787/0.8849, allocations: 0.5003 MB / 0.4934 GB, free: 107.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.885, allocations: 0 / 0.4934 GB, free: 107.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002265/0.8872, allocations: 1.125 MB / 0.4945 GB, free: 107.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002462/0.8875, allocations: 239.5 kB / 0.4947 GB, free: 106.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.8875, allocations: 1.219 kB / 0.4947 GB, free: 106.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.7e-05/0.8876, allocations: 8.141 kB / 0.4947 GB, free: 106.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.131e-05/0.8876, allocations: 6.344 kB / 0.4947 GB, free: 106.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/0.8876, allocations: 8.125 kB / 0.4947 GB, free: 106.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003944/0.888, allocations: 36.19 kB / 0.4947 GB, free: 106.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002822/0.8883, allocations: 150.7 kB / 0.4949 GB, free: 106.9 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.001224/0.8896, allocations: 0.7574 MB / 0.4956 GB, free: 106.6 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/0.8897, allocations: 93.12 kB / 0.4957 GB, free: 106.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002687/0.89, allocations: 155.9 kB / 0.4959 GB, free: 106.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.89, allocations: 1.125 kB / 0.4959 GB, free: 106.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.89, allocations: 0 / 0.4959 GB, free: 106.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.89, allocations: 4.672 kB / 0.4959 GB, free: 106.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002923/0.893, allocations: 1.967 MB / 0.4978 GB, free: 105.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.893, allocations: 7.594 kB / 0.4978 GB, free: 105.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.265e-05/0.893, allocations: 1.406 kB / 0.4978 GB, free: 105.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.893, allocations: 3.953 kB / 0.4978 GB, free: 105.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.443e-05/0.8931, allocations: 38.34 kB / 0.4978 GB, free: 105.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.8931, allocations: 0 / 0.4978 GB, free: 105.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.8931, allocations: 1.5 kB / 0.4978 GB, free: 105.9 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/0.8949, allocations: 1.381 MB / 0.4992 GB, free: 105.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008281/0.8957, allocations: 0.5653 MB / 0.4997 GB, free: 105.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/0.8959, allocations: 67.39 kB / 0.4998 GB, free: 105.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002829/0.8961, allocations: 34.8 kB / 0.4998 GB, free: 105.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003698/0.8965, allocations: 238.7 kB / 0.5001 GB, free: 105.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001893/0.8967, allocations: 164.3 kB / 0.5002 GB, free: 105.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001165/0.8979, allocations: 0.8607 MB / 0.5011 GB, free: 105.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.823e-06/0.8979, allocations: 0 / 0.5011 GB, free: 105.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005308/0.8984, allocations: 128.3 kB / 0.5012 GB, free: 105.1 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.0002613/0.8987, allocations: 182.5 kB / 0.5014 GB, free: 105 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001351/0.9001, allocations: 1.531 MB / 0.5028 GB, free: 104.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.9001, allocations: 0 / 0.5028 GB, free: 104.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007932/0.9009, allocations: 1.124 MB / 0.5039 GB, free: 103.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009559/0.9019, allocations: 291.4 kB / 0.5042 GB, free: 103.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00264/0.9045, allocations: 2.151 MB / 0.5063 GB, free: 102.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005395/0.9051, allocations: 1.041 MB / 0.5073 GB, free: 101.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000152/0.9052, allocations: 31.66 kB / 0.5074 GB, free: 101.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.78e-05/0.9053, allocations: 21.3 kB / 0.5074 GB, free: 101.6 MB / 378.7 MB Notification: Performance of SimCode: time 1.122e-06/0.9053, allocations: 0 / 0.5074 GB, free: 101.6 MB / 378.7 MB Notification: Performance of Templates: time 0.01544/0.9207, allocations: 13.57 MB / 0.5206 GB, free: 93.65 MB / 378.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