Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL.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.DFFREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGSRL.dataOut.1.|dFFREGSRL.dataOut.2.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL") translateModel(Modelica.Electrical.Digital.Examples.DFFREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGSRL.dataOut.1.|dFFREGSRL.dataOut.2.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001092/0.001092, allocations: 200.7 kB / 18.1 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 226.5 MB / 245.4 MB, free: 6.414 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008111/0.000811, allocations: 98.48 kB / 297.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002941/0.0002942, allocations: 7.984 kB / 358.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2157, allocations: 51.29 MB / 409.4 MB, free: 27.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09555/0.3113, allocations: 84.14 MB / 493.5 MB, free: 7.34 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002012/0.3115, allocations: 71.97 kB / 493.6 MB, free: 7.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2188/0.5303, allocations: 33.03 MB / 0.5143 GB, free: 93.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.5304, allocations: 0 / 0.5143 GB, free: 93.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.294e-05/0.5304, allocations: 14.53 kB / 0.5143 GB, free: 93.93 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001934/0.5324, allocations: 1.487 MB / 0.5157 GB, free: 92.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.5324, allocations: 7.875 kB / 0.5157 GB, free: 92.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002638/0.5327, allocations: 138.3 kB / 0.5159 GB, free: 92.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008488/0.5336, allocations: 0.5678 MB / 0.5164 GB, free: 92.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.302e-05/0.5336, allocations: 26.62 kB / 0.5165 GB, free: 92.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.5338, allocations: 26 kB / 0.5165 GB, free: 92.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.5348, allocations: 0.618 MB / 0.5171 GB, free: 92.33 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.5348, allocations: 192 / 0.5171 GB, free: 92.33 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.016e-05/0.5349, allocations: 19.62 kB / 0.5171 GB, free: 92.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.5349, allocations: 0 / 0.5171 GB, free: 92.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006057/0.5355, allocations: 464 kB / 0.5176 GB, free: 92.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001808/0.5373, allocations: 1.091 MB / 0.5186 GB, free: 91.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007599/0.5381, allocations: 0.6901 MB / 0.5193 GB, free: 90.96 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006598/0.5388, allocations: 0.682 MB / 0.52 GB, free: 90.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.5388, allocations: 0 / 0.52 GB, free: 90.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007801/0.5396, allocations: 0.7603 MB / 0.5207 GB, free: 90.08 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 2.244e-06/0.5396, allocations: 0 / 0.5207 GB, free: 90.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.00217/0.5418, allocations: 1.888 MB / 0.5225 GB, free: 89.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.5419, allocations: 328.7 kB / 0.5229 GB, free: 88.72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002364/0.5443, allocations: 1.838 MB / 0.5247 GB, free: 87.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.224e-05/0.5443, allocations: 45.69 kB / 0.5247 GB, free: 87.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.5445, allocations: 234.4 kB / 0.5249 GB, free: 86.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.378e-05/0.5446, allocations: 79 kB / 0.525 GB, free: 86.81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.5447, allocations: 12 kB / 0.525 GB, free: 86.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.793e-05/0.5448, allocations: 380.1 kB / 0.5254 GB, free: 86.42 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005144/0.5453, allocations: 443.7 kB / 0.5258 GB, free: 85.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005228/0.5458, allocations: 486.1 kB / 0.5263 GB, free: 85.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009114/0.5468, allocations: 1.156 MB / 0.5274 GB, free: 84.24 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.5468, allocations: 0 / 0.5274 GB, free: 84.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001461/0.5482, allocations: 1.368 MB / 0.5287 GB, free: 82.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000136/0.5484, allocations: 285.5 kB / 0.529 GB, free: 82.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.5484, allocations: 0 / 0.529 GB, free: 82.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.5484, allocations: 7.938 kB / 0.529 GB, free: 82.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.842e-05/0.5485, allocations: 11.91 kB / 0.529 GB, free: 82.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.5485, allocations: 7.984 kB / 0.529 GB, free: 82.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003347/0.5488, allocations: 39.88 kB / 0.5291 GB, free: 82.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/0.549, allocations: 159.7 kB / 0.5292 GB, free: 82.28 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: 43 ($PRE.dFFREGSRL.delay.inertialDelaySensitive[2].y,$PRE.dFFREGSRL.delay.inertialDelaySensitive[1].y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,$PRE.dFFREGSRL.delay.inertialDelaySensitive[1].x,dFFREGSRL.delay.inertialDelaySensitive[1].x,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGSRL.dFFSR.set,dFFREGSRL.dFFSR.set,$PRE.dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.reset,$PRE.dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.dataIn[1],dFFREGSRL.dFFSR.dataIn[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.next_assign_val[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 8 * 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.0009452/0.5499, allocations: 0.9864 MB / 0.5302 GB, free: 81.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.5501, allocations: 134.4 kB / 0.5303 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003652/0.5504, allocations: 259.5 kB / 0.5305 GB, free: 80.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.5504, allocations: 4 kB / 0.5306 GB, free: 80.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.5504, allocations: 3.938 kB / 0.5306 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.5505, allocations: 0 / 0.5306 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002557/0.553, allocations: 2.426 MB / 0.5329 GB, free: 78.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.553, allocations: 3.938 kB / 0.5329 GB, free: 78.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.221e-05/0.5531, allocations: 4 kB / 0.5329 GB, free: 78.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.5531, allocations: 4 kB / 0.5329 GB, free: 78.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.369e-05/0.5531, allocations: 35.98 kB / 0.533 GB, free: 78.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.5531, allocations: 3.984 kB / 0.533 GB, free: 78.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5531, allocations: 0 / 0.533 GB, free: 78.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.5548, allocations: 1.649 MB / 0.5346 GB, free: 76.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008415/0.5556, allocations: 0.6746 MB / 0.5352 GB, free: 75.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001641/0.5558, allocations: 59.97 kB / 0.5353 GB, free: 75.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003117/0.5561, allocations: 51.61 kB / 0.5353 GB, free: 75.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004535/0.5566, allocations: 351.7 kB / 0.5357 GB, free: 75.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001344/0.5567, allocations: 163.8 kB / 0.5358 GB, free: 75.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001604/0.5584, allocations: 1.325 MB / 0.5371 GB, free: 73.92 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5584, allocations: 0 / 0.5371 GB, free: 73.92 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004846/0.5589, allocations: 148 kB / 0.5373 GB, free: 73.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: 36 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,dFFREGSRL.delay.inertialDelaySensitive[1].x,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,dFFREGSRL.dFFSR.set,dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.dataIn[1],dFFREGSRL.dFFSR.dataIn[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.next_assign_val[2]) * Number of discrete states: 34 (set.y,data_1.y,reset.y,data_0.y,clock.y,dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.next_assign_val[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.set,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREGSRL.delay.inertialDelaySensitive[1].x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 8 * 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.0002112/0.5591, allocations: 198.6 kB / 0.5375 GB, free: 73.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001668/0.5607, allocations: 1.912 MB / 0.5393 GB, free: 71.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5608, allocations: 0 / 0.5393 GB, free: 71.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009728/0.5617, allocations: 1.397 MB / 0.5407 GB, free: 70.08 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.5629, allocations: 319.1 kB / 0.541 GB, free: 69.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003772/0.5667, allocations: 3.087 MB / 0.544 GB, free: 66.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008602/0.5676, allocations: 1.201 MB / 0.5452 GB, free: 65.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002714/0.5679, allocations: 151 kB / 0.5453 GB, free: 65.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.635e-05/0.5679, allocations: 31.38 kB / 0.5454 GB, free: 65.25 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.5679, allocations: 0 / 0.5454 GB, free: 65.25 MB / 378.7 MB Notification: Performance of Templates: time 0.01911/0.587, allocations: 16.74 MB / 0.5617 GB, free: 48.3 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/DFFREGSRL/DFFREGSRL.csv","../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches