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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001593/0.001593, allocations: 112.1 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001951/0.001951, allocations: 206.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 59.91 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2282, allocations: 50.55 MB / 409.9 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DFFREGL): time 0.002644/0.2308, allocations: 1.763 MB / 411.7 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.2329, allocations: 1.013 MB / 412.7 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.798e-05/0.233, allocations: 4 kB / 412.7 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000151/0.2331, allocations: 27.78 kB / 412.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.2333, allocations: 47.72 kB / 412.8 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.2335, allocations: 103.8 kB / 412.9 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004701/0.234, allocations: 455.2 kB / 413.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001878/0.2342, allocations: 101.1 kB / 413.4 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009624/0.2352, allocations: 1.033 MB / 414.5 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002593/0.2355, allocations: 187.3 kB / 414.7 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.327e-05/0.2356, allocations: 36 kB / 414.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.563e-05/0.2356, allocations: 36 kB / 414.7 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.2358, allocations: 167.3 kB / 414.9 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002902/0.2361, allocations: 325.9 kB / 415.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000823/0.2369, allocations: 1.063 MB / 416.3 MB, free: 11.26 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2369, allocations: 0 / 416.3 MB, free: 11.26 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.237, allocations: 0 / 416.3 MB, free: 11.26 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.237, allocations: 0 / 416.3 MB, free: 11.26 MB / 334.1 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.001283/0.2383, allocations: 1.285 MB / 417.6 MB, free: 9.883 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.2383, allocations: 12.03 kB / 417.6 MB, free: 9.871 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.2384, allocations: 91.91 kB / 417.7 MB, free: 9.781 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000464/0.2389, allocations: 451.9 kB / 418.1 MB, free: 9.297 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.783e-05/0.239, allocations: 24.36 kB / 418.1 MB, free: 9.273 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.861e-05/0.239, allocations: 24.38 kB / 418.1 MB, free: 9.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008523/0.2399, allocations: 0.5102 MB / 418.7 MB, free: 8.734 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.2399, allocations: 0 / 418.7 MB, free: 8.734 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.741e-05/0.24, allocations: 8 kB / 418.7 MB, free: 8.727 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.24, allocations: 4 kB / 418.7 MB, free: 8.723 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000543/0.2405, allocations: 364.1 kB / 419 MB, free: 8.367 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.2417, allocations: 0.8558 MB / 419.9 MB, free: 7.461 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000673/0.2423, allocations: 0.51 MB / 420.4 MB, free: 6.941 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000618/0.243, allocations: 0.4889 MB / 420.9 MB, free: 6.449 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.243, allocations: 4 kB / 420.9 MB, free: 6.445 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008446/0.2439, allocations: 0.6508 MB / 421.5 MB, free: 5.754 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 2.245e-06/0.2439, allocations: 3.938 kB / 421.5 MB, free: 5.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.002299/0.2462, allocations: 1.532 MB / 423.1 MB, free: 4.172 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000149/0.2463, allocations: 287.2 kB / 423.3 MB, free: 3.836 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/0.2479, allocations: 1.16 MB / 424.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.557e-05/0.2479, allocations: 45.69 kB / 424.5 MB, free: 2.613 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.2481, allocations: 149.9 kB / 424.7 MB, free: 2.461 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.729e-05/0.2482, allocations: 83.08 kB / 424.8 MB, free: 2.379 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002722/0.2485, allocations: 212.9 kB / 425 MB, free: 2.164 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.2486, allocations: 338.8 kB / 425.3 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005177/0.2491, allocations: 340.1 kB / 425.6 MB, free: 1.492 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005284/0.2497, allocations: 379 kB / 426 MB, free: 1.113 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.2507, allocations: 0.9674 MB / 427 MB, free: 52 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.2507, allocations: 4 kB / 427 MB, free: 48 kB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001514/0.2522, allocations: 1.133 MB / 428.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001613/0.2524, allocations: 239.9 kB / 428.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.2524, allocations: 4 kB / 428.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.2524, allocations: 0 / 428.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.099e-05/0.2525, allocations: 7.984 kB / 428.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.383e-06/0.2525, allocations: 3.938 kB / 428.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002676/0.2527, allocations: 31.89 kB / 428.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001399/0.2529, allocations: 128.2 kB / 428.5 MB, free: 14.41 MB / 350.1 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,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.dataOut[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.dataIn[2],dFFREGL.dFFR.dataIn[1],dFFREGL.dFFR.clock,$PRE.dFFREGL.dFFR.clock,dFFREGL.dFFR.reset,$PRE.dFFREGL.dFFR.reset,dFFREGL.delay.inertialDelaySensitive[2].t_next,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].y_old,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].x,$PRE.dFFREGL.delay.inertialDelaySensitive[2].x,dFFREGL.delay.inertialDelaySensitive[1].t_next,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].y_old,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].x,$PRE.dFFREGL.delay.inertialDelaySensitive[1].x,data_1.y,reset.y,data_0.y,clock.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000806/0.2537, allocations: 0.7719 MB / 429.3 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.2538, allocations: 83.06 kB / 429.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002209/0.2541, allocations: 151.7 kB / 429.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2541, allocations: 0 / 429.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.2541, allocations: 7.938 kB / 429.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007321/0.2548, allocations: 0.5621 MB / 430.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/0.255, allocations: 59.97 kB / 430.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.2552, allocations: 35.91 kB / 430.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000367/0.2556, allocations: 223.8 kB / 430.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001895/0.2575, allocations: 1.738 MB / 432.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0018/0.2593, allocations: 1.485 MB / 433.6 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000766/0.2601, allocations: 0.6872 MB / 434.3 MB, free: 8.336 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001105/0.2612, allocations: 0.8577 MB / 435.2 MB, free: 7.48 MB / 350.1 MB Notification: Performance of Backend: time 3.9e-07/0.2612, allocations: 4 kB / 435.2 MB, free: 7.477 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001508/0.2627, allocations: 1.232 MB / 436.4 MB, free: 6.152 MB / 350.1 MB Notification: Performance of SimCode: time 0.002851/0.2656, allocations: 2.51 MB / 438.9 MB, free: 3.516 MB / 350.1 MB Notification: Performance of Templates: time 0.01554/0.2812, allocations: 12.65 MB / 451.6 MB, free: 6.688 MB / 366.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/DFFREGL/DFFREGL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches