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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001662/0.001662, allocations: 195.8 kB / 8.535 MB, free: 1.836 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.236/1.236, allocations: 225.5 MB / 234.4 MB, free: 3.301 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009744/0.0009743, allocations: 99.52 kB / 286.3 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.404e-06/7.434e-06, allocations: 4 kB / 343.1 MB, free: 8.707 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08631/0.08633, allocations: 51.47 MB / 394.6 MB, free: 5.188 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2114/0.2978, allocations: 83.16 MB / 477.8 MB, free: 9.57 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001793/0.298, allocations: 66.73 kB / 477.8 MB, free: 9.547 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.0671/0.3651, allocations: 37.26 MB / 0.503 GB, free: 10.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.14e-05/0.3652, allocations: 12 kB / 0.503 GB, free: 10.64 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.0009959/0.3662, allocations: 1.016 MB / 0.504 GB, free: 9.531 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.3662, allocations: 8.031 kB / 0.504 GB, free: 9.523 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.3664, allocations: 86.97 kB / 0.5041 GB, free: 9.438 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006017/0.367, allocations: 431.6 kB / 0.5045 GB, free: 8.973 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.005e-05/0.367, allocations: 16 kB / 0.5045 GB, free: 8.957 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.368e-05/0.3671, allocations: 23.98 kB / 0.5046 GB, free: 8.934 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005062/0.3676, allocations: 352.2 kB / 0.5049 GB, free: 8.586 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006759/0.3683, allocations: 498.3 kB / 0.5054 GB, free: 8.094 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.3683, allocations: 7.984 kB / 0.5054 GB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.588e-05/0.3684, allocations: 12 kB / 0.5054 GB, free: 8.074 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.3684, allocations: 4 kB / 0.5054 GB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.3697, allocations: 0.8404 MB / 0.5062 GB, free: 7.191 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000566/0.3703, allocations: 0.4984 MB / 0.5067 GB, free: 6.684 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005668/0.3708, allocations: 496.7 kB / 0.5072 GB, free: 6.195 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.3709, allocations: 0 / 0.5072 GB, free: 6.195 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007482/0.3716, allocations: 0.6198 MB / 0.5078 GB, free: 5.535 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 1.693e-06/0.3716, allocations: 0 / 0.5078 GB, free: 5.535 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.001151/0.3728, allocations: 0.78 MB / 0.5086 GB, free: 4.754 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001673/0.373, allocations: 283.3 kB / 0.5088 GB, free: 4.422 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/0.3743, allocations: 1.003 MB / 0.5098 GB, free: 3.414 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.99e-05/0.3743, allocations: 41.7 kB / 0.5098 GB, free: 3.367 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.027e-05/0.3744, allocations: 110 kB / 0.5099 GB, free: 3.254 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.3745, allocations: 79.02 kB / 0.51 GB, free: 3.176 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.942e-05/0.3746, allocations: 12 kB / 0.51 GB, free: 3.164 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.3747, allocations: 346.7 kB / 0.5104 GB, free: 2.816 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004662/0.3752, allocations: 348.1 kB / 0.5107 GB, free: 2.477 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004882/0.3757, allocations: 356.4 kB / 0.511 GB, free: 2.129 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003271/0.376, allocations: 253 kB / 0.5113 GB, free: 1.883 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.376, allocations: 0 / 0.5113 GB, free: 1.883 MB / 378.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001029/0.3771, allocations: 0.7318 MB / 0.512 GB, free: 1.145 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.3771, allocations: 4 kB / 0.512 GB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.3771, allocations: 4 kB / 0.512 GB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.3771, allocations: 3.938 kB / 0.512 GB, free: 1.133 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.883e-05/0.3772, allocations: 0 / 0.512 GB, free: 1.133 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.3772, allocations: 4 kB / 0.512 GB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003281/0.3775, allocations: 39.81 kB / 0.512 GB, free: 1.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001679/0.3777, allocations: 146.4 kB / 0.5122 GB, free: 0.9492 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.0003962/0.3781, allocations: 402 kB / 0.5126 GB, free: 0.5078 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.3783, allocations: 87.05 kB / 0.5127 GB, free: 432 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003088/0.3786, allocations: 147.7 kB / 0.5128 GB, free: 284 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.3786, allocations: 11.91 kB / 0.5128 GB, free: 272 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3786, allocations: 0 / 0.5128 GB, free: 272 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.3786, allocations: 3.984 kB / 0.5128 GB, free: 268 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001987/0.3806, allocations: 1.479 MB / 0.5143 GB, free: 14.74 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3806, allocations: 0 / 0.5143 GB, free: 14.74 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.013e-05/0.3806, allocations: 4 kB / 0.5143 GB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.3806, allocations: 0 / 0.5143 GB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.134e-05/0.3807, allocations: 39.98 kB / 0.5143 GB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3807, allocations: 7.938 kB / 0.5143 GB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.3807, allocations: 0 / 0.5143 GB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001214/0.382, allocations: 0.9278 MB / 0.5152 GB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008752/0.3829, allocations: 0.5815 MB / 0.5158 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001895/0.3831, allocations: 59.97 kB / 0.5158 GB, free: 13.08 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003233/0.3834, allocations: 39.97 kB / 0.5159 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004803/0.3839, allocations: 243.7 kB / 0.5161 GB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001613/0.3841, allocations: 164 kB / 0.5163 GB, free: 12.64 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001029/0.3851, allocations: 0.8343 MB / 0.5171 GB, free: 11.81 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000436/0.3855, allocations: 104 kB / 0.5172 GB, free: 11.71 MB / 394.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.0002722/0.3858, allocations: 176.4 kB / 0.5173 GB, free: 11.53 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001267/0.3871, allocations: 1.101 MB / 0.5184 GB, free: 10.38 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3871, allocations: 4 kB / 0.5184 GB, free: 10.38 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009251/0.388, allocations: 0.9292 MB / 0.5193 GB, free: 9.406 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.3891, allocations: 263.8 kB / 0.5196 GB, free: 9.156 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002614/0.3917, allocations: 1.73 MB / 0.5213 GB, free: 7.395 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007779/0.3925, allocations: 1.053 MB / 0.5223 GB, free: 6.316 MB / 394.7 MB Notification: Performance of SimCode: time 4.51e-07/0.3925, allocations: 0 / 0.5223 GB, free: 6.316 MB / 394.7 MB Notification: Performance of Templates: time 0.01747/0.41, allocations: 13.02 MB / 0.535 GB, free: 9.102 MB / 410.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/jenkins/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