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.001/0.001, allocations: 183.8 kB / 18.04 MB, free: 3.781 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.39/1.39, allocations: 205.4 MB / 224.2 MB, free: 9.027 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.001042/0.001042, allocations: 87.86 kB / 272.5 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004381/0.0004386, allocations: 15.98 kB / 329.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2465, allocations: 47.56 MB / 377 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09651/0.3431, allocations: 82.29 MB / 459.3 MB, free: 14.26 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/0.3434, allocations: 75.95 kB / 459.4 MB, free: 14.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0761/0.4195, allocations: 37.51 MB / 496.9 MB, free: 8.672 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.4195, allocations: 0 / 496.9 MB, free: 8.672 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.764e-05/0.4196, allocations: 12 kB / 496.9 MB, free: 8.66 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.001718/0.4213, allocations: 1.124 MB / 498 MB, free: 7.438 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.4214, allocations: 8.031 kB / 498 MB, free: 7.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002214/0.4216, allocations: 91.91 kB / 498.1 MB, free: 7.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000709/0.4223, allocations: 460 kB / 498.6 MB, free: 6.848 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.598e-05/0.4224, allocations: 20.31 kB / 498.6 MB, free: 6.828 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.791e-05/0.4225, allocations: 28.38 kB / 498.6 MB, free: 6.801 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008655/0.4233, allocations: 0.5027 MB / 499.1 MB, free: 6.289 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.4234, allocations: 8.125 kB / 499.1 MB, free: 6.281 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.46e-05/0.4234, allocations: 19.92 kB / 499.2 MB, free: 6.262 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.4234, allocations: 0 / 499.2 MB, free: 6.262 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005795/0.424, allocations: 364.1 kB / 499.5 MB, free: 5.906 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/0.4255, allocations: 0.856 MB / 0.4886 GB, free: 5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007194/0.4262, allocations: 0.51 MB / 0.4891 GB, free: 4.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006802/0.4269, allocations: 0.4967 MB / 0.4896 GB, free: 3.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.427, allocations: 4 kB / 0.4896 GB, free: 3.977 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009204/0.4279, allocations: 0.6546 MB / 0.4903 GB, free: 3.281 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 3.286e-06/0.4279, allocations: 0 / 0.4903 GB, free: 3.281 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.002475/0.4304, allocations: 1.554 MB / 0.4918 GB, free: 1.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001788/0.4306, allocations: 279.3 kB / 0.4921 GB, free: 1.352 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001933/0.4325, allocations: 1.172 MB / 0.4932 GB, free: 176 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.618e-05/0.4326, allocations: 41.7 kB / 0.4932 GB, free: 128 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1685/0.6011, allocations: 138.3 kB / 0.4934 GB, free: 108.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002805/0.6014, allocations: 81.38 kB / 0.4934 GB, free: 108.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.689e-05/0.6015, allocations: 9.859 kB / 0.4935 GB, free: 108.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.6016, allocations: 346.4 kB / 0.4938 GB, free: 107.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008441/0.6024, allocations: 345.5 kB / 0.4941 GB, free: 107.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007067/0.6032, allocations: 382.8 kB / 0.4945 GB, free: 107.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.6044, allocations: 0.9743 MB / 0.4954 GB, free: 107.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.6044, allocations: 1.125 kB / 0.4954 GB, free: 107.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001614/0.606, allocations: 1.15 MB / 0.4966 GB, free: 107 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001361/0.6062, allocations: 242.3 kB / 0.4968 GB, free: 106.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.6062, allocations: 1.062 kB / 0.4968 GB, free: 106.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/0.6062, allocations: 2.344 kB / 0.4968 GB, free: 106.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.366e-05/0.6063, allocations: 9.219 kB / 0.4968 GB, free: 106.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.6063, allocations: 4.719 kB / 0.4968 GB, free: 106.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003681/0.6067, allocations: 36.98 kB / 0.4968 GB, free: 106.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002189/0.6069, allocations: 148.5 kB / 0.497 GB, free: 106.8 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.000969/0.6079, allocations: 0.7677 MB / 0.4977 GB, free: 106.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.608, allocations: 91.38 kB / 0.4978 GB, free: 106.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003154/0.6083, allocations: 148 kB / 0.498 GB, free: 106.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.6084, allocations: 1.531 kB / 0.498 GB, free: 106.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.6084, allocations: 3.75 kB / 0.498 GB, free: 106.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.6084, allocations: 3.656 kB / 0.498 GB, free: 106.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002392/0.6108, allocations: 1.984 MB / 0.4999 GB, free: 105.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.6108, allocations: 1.281 kB / 0.4999 GB, free: 105.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.436e-05/0.6108, allocations: 1.312 kB / 0.4999 GB, free: 105.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.6108, allocations: 7.766 kB / 0.4999 GB, free: 105.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.818e-05/0.6109, allocations: 39.62 kB / 0.5 GB, free: 105.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.6109, allocations: 0 / 0.5 GB, free: 105.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.6109, allocations: 5 kB / 0.5 GB, free: 105.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/0.6127, allocations: 1.406 MB / 0.5013 GB, free: 105.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008508/0.6136, allocations: 0.5656 MB / 0.5019 GB, free: 105.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/0.6138, allocations: 57.14 kB / 0.5019 GB, free: 105.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003106/0.6141, allocations: 33.72 kB / 0.502 GB, free: 105.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003662/0.6145, allocations: 238.8 kB / 0.5022 GB, free: 105.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001947/0.6147, allocations: 159.9 kB / 0.5023 GB, free: 105.1 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001238/0.6159, allocations: 0.87 MB / 0.5032 GB, free: 104.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6159, allocations: 1.969 kB / 0.5032 GB, free: 104.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006234/0.6166, allocations: 120.5 kB / 0.5033 GB, free: 104.9 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.0002189/0.6168, allocations: 191.3 kB / 0.5035 GB, free: 104.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001433/0.6182, allocations: 1.527 MB / 0.505 GB, free: 104 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.6182, allocations: 0 / 0.505 GB, free: 104 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008042/0.6191, allocations: 1.107 MB / 0.5061 GB, free: 103.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.6201, allocations: 288 kB / 0.5063 GB, free: 103.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002812/0.623, allocations: 2.159 MB / 0.5085 GB, free: 102.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005768/0.6236, allocations: 1.028 MB / 0.5095 GB, free: 101.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001828/0.6238, allocations: 42.28 kB / 0.5095 GB, free: 101.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.601e-05/0.6238, allocations: 21.61 kB / 0.5095 GB, free: 101.3 MB / 378.7 MB Notification: Performance of SimCode: time 6.51e-07/0.6238, allocations: 0 / 0.5095 GB, free: 101.3 MB / 378.7 MB Notification: Performance of Templates: time 0.01575/0.6395, allocations: 13.63 MB / 0.5228 GB, free: 92.88 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/jenkins1/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